Hi,
I’m using the latest version Hassio, want to control Xiaomi Philips Light via Home App.
So I config the configuration.yaml as follow:
light:
- platform: xiaomi_miio
name: Xiaomi Philips Smart LED Ceiling Lamp
host: 192.168.1.195
token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I’m sure the device token is correct.
Then restart the Homeassistant, but the status panel does not show the Light.
Some ERR Logs:
2017-11-24 12:22:28 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2017-11-24 12:22:28 WARNING (MainThread) [homeassistant.setup] Setup of light is taking over 10 seconds.
2017-11-24 12:22:32 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform xiaomi_miio
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 170, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.6/asyncio/tasks.py", line 352, in wait_for
return fut.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/lib/python3.6/asyncio/tasks.py", line 179, in _step
result = coro.send(None)
File "/usr/lib/python3.6/asyncio/coroutines.py", line 210, in coro
res = func(*args, **kw)
File "/config/custom_components/light/xiaomi_miio.py", line 45, in async_setup_platform
from mirobo import Ceil, DeviceException
File "/usr/lib/python3.6/site-packages/mirobo/__init__.py", line 2, in <module>
from miio import *
File "/config/deps/lib/python3.6/site-packages/miio/__init__.py", line 3, in <module>
from miio.vacuumcontainers import (VacuumStatus, ConsumableStatus, DNDStatus,
ModuleNotFoundError: No module named 'miio.vacuumcontainers'
2017-11-24 12:22:33 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds.
2017-11-24 12:26:16 ERROR (SyncWorker_8) [homeassistant.components.light.yeelight] Unable to turn on music mode,consider disabling it: {'code': -1, 'message': 'method not supported'}
2017-11-24 12:33:32 ERROR (SyncWorker_18) [homeassistant.components.light.yeelight] Unable to turn on music mode,consider disabling it: {'code': -1, 'message': 'method not supported'}
2017-11-24 12:33:42 ERROR (SyncWorker_14) [PyXiaomiGateway] Cannot connect to Gateway
2017-11-24 12:33:42 ERROR (SyncWorker_14) [PyXiaomiGateway] No data in response from hub None
2017-11-24 18:04:30 ERROR (SyncWorker_10) [homeassistant.components.light.yeelight] Unable to turn on music mode,consider disabling it: {'code': -1, 'message': 'method not supported'}
2017-11-24 20:15:22 ERROR (SyncWorker_10) [homeassistant.components.light.yeelight] Unable to turn on music mode,consider disabling it: {'code': -1, 'message': 'method not supported'}
2017-11-24 20:16:26 ERROR (SyncWorker_5) [PyXiaomiGateway] Cannot connect to Gateway
2017-11-24 20:16:26 ERROR (SyncWorker_5) [PyXiaomiGateway] No data in response from hub None