Closed abigdeel closed 2 years ago
The integration and interaction relies heavily on the network connection. The bulb itself has not that good Wi-Fi antenna (only an ESP inside). It can be possible that the light loss the connection and the UDP message doesn't receive the bulb.
But I'm currently in the test phase for a new version of the library for controlling the bulbs. Maybe there are changes in the bulb FW which cause these issues.
Are there any error message in the log of the HA?
So this is likely my mesh wifi causing connectivity issues.
I went and factory reset my router and nodes and things are working fine now. Sometimes there's up to a second delay when I adjust a bunch of lights together, and sometimes the lights will dance between the set and previous state but that's rare. Most importantly though, I'm not seeing any lights become unresponsive.
As for warnings, I would get the "taking more than 10 seconds to set up error" constantly when a light would become unresponsive. I don't have any in my log right now to share the exact message.
I'll give it another day and close this issue. Doubt the integration was much of a factor here.
Thank you for the feedback - Overall the Wi-Fi feature of the bulb is great but also a mess. The integration must interact with UDP which is not that reliable than TCP.
You can test the RSSI with this command: echo '{"method":"getPilot","env":"pro","params":{}}' | nc -u -w 1 <AddressOfYourBulb> 38899
Haven't had any issues since cleaning up my wifi mesh router settings. It was never a signal strength issue, I think I had enabled a few settings that I thought would improve 2.4 GHz device performance but it instead created instability.
So I've been using the Wiz integration for about a month now and I've been consistently running into this same issue every few days.
At the moment I only have six of these lights. Two in a bedroom and four in the living room.
Usually once every day or two, I'll try to adjust the living room lights and only two or three of them will respond. At random, a light or two will just stop responding to commands. At the same time, I'll start getting an error in the logs that "Update of light.wiz_bulb_lr_3 is taking over 10 seconds" for the affected lights.
There seem to be a few ways to fix this. I can just power the lights off and on and also restart HA and I'll have control of the lights again.
But what's odd is that if I open the Wiz app, I'll be able to see that frozen light online and select it. Selecting it will briefly dim the light like usual, so it's obviously communicating just fine with Wiz. If I try to adjust that frozen light through Wiz though, almost always it won't respond. Sometimes it will change 10-20 seconds later. And if I do some combination of restarting HA / force-closing the Wiz app, I'll regain control without having to kill the power to the lights.
So it seems to be a connectivity / networking issue, but I can't figure out if it's my network or something with the integration. I've done a fair bit of troubleshooting for unresponsive Wiz lights and ended up: tweaking 2.4 GHz wifi settings extensively, setting up a bunch of port triggers, reconnecting the lights to the wifi a few times, etc. But none of that has solved the issue.
It's just bothering me a lot that every day or two, a few of the living room lights will become unresponsive and I have to restart a bunch of things and toggle power to get the lights working again.
I might try disabling the integration entirely and just use the Wiz app for a few weeks to see if I can replicate this with just the app.