Xiaomi Philips Light bulb

Hopefully someone can help me here …
I have been trying to set up my light bulb. i have extracted the token etc, etc but i get this error in Home Assistant

Blockquote

Error while setting up platform xiaomi_miio
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py”, line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.5/asyncio/tasks.py”, line 400, in wait_for
return fut.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/asyncio/tasks.py”, line 239, in _step
result = coro.send(None)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/xiaomi_miio.py”, line 124, in async_setup_platform
device_info = miio_device.info()
File “/srv/homeassistant/lib/python3.5/site-packages/miio/device.py”, line 317, in info
return DeviceInfo(self.send(“miIO.info”, ))
File “/srv/homeassistant/lib/python3.5/site-packages/miio/device.py”, line 224, in send
self.do_discover()
File “/srv/homeassistant/lib/python3.5/site-packages/miio/device.py”, line 149, in do_discover
m = Device.discover(self.ip)
File “/srv/homeassistant/lib/python3.5/site-packages/miio/device.py”, line 190, in discover
s.sendto(helobytes, (addr, 54321))
socket.gaierror: [Errno -2] Name or service not known

Blockquote

Running Hassbian 0.69.1 on a Pi3

Thanks in advance

Please share your config.

Have a look at my config if you want an example of these bulbs set up.

Yip, config error thanks.

Your page is awesome, going to spend some time reading it. Lots of great info and ideas.

Thanks again

Glad it helped

Hi jimpower

Can’t find the instrucitons to add the Philips Light Bulb, can you help me?

1 Like