Thanks! I got them working already Sorry, although I did read the docs before, didn’t figure out how to make the scenes available to Google Home. I was missing the step where you expose the scenes to emulated_hue:
does anyone else’s bulb regularly go ‘unavailable’. Mine do and its really annoying. Additionally, home assistant seems quite slow to respond to the toggle switch. It wont call the service immediately and went I toggle it on/off quickly then it never recognises both actions
i have not assigned them a static IP yet. would this help?
Yes that could help, because as soon as your router changes the ip of the bulb it is not getting recognized. So when you set a static ip for the bulbs they always match your config. I can spam the on and off button and it works all the time.
But you cannot set the static ip in the miihome app. you have to do it trough your router.
I enabled music mode and then disabled it again. It didn’t seem to make any difference.
Very strangely, my lights seem to act up in relation to my presence in the house. When i am in there are seldom times when they go ‘unavailable’ but as soon as i leave they go bonkers (please see pictures)
Assign a static IP and don’t use music mode. I have seen very few accounts of music mode helping anything. Static IPs for your devices that use them as part of the configuration are a must. Your router will frequently renegotiate IPs with your devices, usually they stay the same, but they can change, which will just make that item invisible to HA.
Your issue (to me at least) seems to be a network of wifi issue or the power is being cut. NMAP doesn’t see your phone and you go away and then your wifi connected bulbs cannot communicate with HA.
I would check that the power isn’t being cut also. If someone is turning off the switch, the bulb loses power and can’t communicate.
hi silvrr, do you have any suggestions what i could do?
I am going to remove nmap temporarily and see if it makes a difference. In terms of wifi, the router remains on power and once i leave for work no one else is in to switch off lamps or the router
I have 100meg internet but a crappy virgin Superhub 3.0 so there is not much customization options. would port forwarding a specific port help?
All the yeelight stuff is internal for HA so your external connection or port forwarding doesn’t come into play here.
I had a base level netgear router and as I added more and more wifi devices it would struggle, especially when we would stream TV at night. the NMAP can add a lot of traffic also depending on your settings. I offloaded my routing to another box and my issues went away. Im not saying that is your issue but it may be worthwhile to lighten the load on your router a bit and see if the issues persist.
You can try looking at your router logs also for any indication of issues.
I have same issue in HA.
I had same issue in [yeelight-homebridge] plugin. but, yeelight-homebridge developer solved this issue.
(yeelight-homebridge developer is Yeelight staff developer)