seikan / homebridge-mi-air-purifier

A Xiaomi Mi air purifier plugin for Homebridge.
Other
172 stars 65 forks source link

In apple homekit, the state of air purifier is no response. #5

Closed suhyeoni closed 7 years ago

suhyeoni commented 7 years ago

Quick update Thank you very much.

In apple homekit App, the state of air purifier is no response.

Air quality, humidity and temperature are also unknown.

seikan commented 7 years ago

Hi, please wait a while, then it will get updated automatically.

Please let me know if the problem still persist.

suhyeoni commented 7 years ago

Waiting 10 minutes is no response.

I have Mi Air Air Purifier 2.

The firmware is the latest version, 1.2.4_59.

The error code is as follows.

[5/22/2017, 3:13:06 PM] Homebridge is running on port 37051.
[5/22/2017, 3:13:07 PM] [XiaomiMiio] Investigating Miio Device at udp://192.168.1.XXX:54321
[5/22/2017, 3:13:08 PM] [XiaomiMiio] Couldn't investigate device { id: 56330025,
address: '192.168.1.XXX',
.... hostname: 'zhimi-airpurifier-m1_miio56330025',
type: 'air-purifier',
model: 'zhimi.airpurifier.m1',
writeOnly: true } undefined
(node:90) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property ' model' of undefined
(node:90) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not ha ndled will terminate the Node.js process with a non-zero exit code.

seikan commented 7 years ago

Do you have multiple device or just one?

suhyeoni commented 7 years ago

Mi Air Air Purifier is one.

Mi Gateway V2 and Mi Smart Plug are also available.

The plugins I use are homebridge-mi-air-purifier miio, homebridge-miio(smart plug wifi edition), homebridge-mijia(xiaomi gateway).

seikan commented 7 years ago

I'm not sure is the problem from v2 gateway as it has limited space. I will investigate.

suhyeoni commented 7 years ago

homebridge-miio and homebridge-mijia were removed.

Only homebridge-mi-air-purifier miio are installed, but Mi Air is still No Responsive.

suhyeoni commented 7 years ago

It was a collision problem with homebridge-miio.

Delete homebridge-miio and try again and the program will work. Thank you very much!