> 2019-04-26 16:29:13 ERROR (MainThread) [homeassistant.components.xiaomi_miio.light] Got exception while fetching the state: Unable to discover the device 192.168.131.171
> 2019-04-26 16:29:20 ERROR (SyncWorker_4) [homeassistant.components.yeelight] Unable to update bulb status: A socket error occurred when sending the command.
I followed the instruction here and in this post. and I got the keys from the devices.
Hey! i know you solved the problem, but i’m struggling witchxiaomi zhirui and maybe you can help me, can you show me how did you add them to configuración.yaml?
i can only have 1 of them in ha, if i add more ha just ignore them.
wow, thank you, with your help now i’ve got it working!! just one more thing, does lights appears as devices or just as entities? because for making automations, it’s necesary to appear as devices.
It depends on where you configure them. On my config they are under the “light” family devices so they are fully accessible with all light services for automation. I actually have them in several automation myself.
Sorry for noob question, I have 20 of this and not sure about value of !secret field and ip address. Guess, every single fixture need to have its own ip address from given range and that !secret need to be wifi password or…?