-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
home assistant 0.60 not compatible #15
Comments
Update: Not sure what when wrong. Do anything change on the firmware or the token changed ? |
more logs
|
The underlying library was fixed recently: rytilahti/python-miio#142 I hope the next home assistant release will include the fix. |
Thanks @syssi Here is the posted temporary fix until it got integrated to hass Edit /srv/homeassistant/lib/python3.5/site-packages/miio/protocol.py For a temporary fix one can replace:
in miio/protocol.py with:
|
This module stopped working.
`
2017-12-18 14:53:38 ERROR (Thread-9) [miio.device] Got error when receiving: timed out
2017-12-18 14:53:38 ERROR (MainThread) [homeassistant.components.fan.xiaomi_miio] Got exception while fetching the state:
2017-12-18 14:53:38 ERROR (Thread-13) [miio.device] Got error when receiving: timed out
2017-12-18 14:53:38 ERROR (MainThread) [homeassistant.components.fan.xiaomi_miio] Got exception while fetching the state:
`
Debug
2017-12-18 14:55:21 DEBUG (Thread-11) [miio.device] 192.168.x.x:54321 >>: {'id': 3649, 'params': ['power', 'aqi', 'humidity', 'temp_dec', 'mode', 'led', 'led_b', 'buzzer', 'child_lock', 'bright', 'favorite_level', 'filter1_life', 'f1_hour_used', 'use_time', 'motor1_speed'], 'method': 'get_prop'} 2017-12-18 14:55:27 DEBUG (Thread-11) [miio.device] 192.168.x.x:54321 >>: {'id': 3750, 'params': ['power', 'aqi', 'humidity', 'temp_dec', 'mode', 'led', 'led_b', 'buzzer', 'child_lock', 'bright', 'favorite_level', 'filter1_life', 'f1_hour_used', 'use_time', 'motor1_speed'], 'method': 'get_prop'} 2017-12-18 14:55:32 DEBUG (Thread-11) [miio.device] 192.168.x.x:54321 >>: {'id': 3851, 'params': ['power', 'aqi', 'humidity', 'temp_dec', 'mode', 'led', 'led_b', 'buzzer', 'child_lock', 'bright', 'favorite_level', 'filter1_life', 'f1_hour_used', 'use_time', 'motor1_speed'], 'method': 'get_prop'}
The text was updated successfully, but these errors were encountered: