homebridge-wiz-lan icon indicating copy to clipboard operation
homebridge-wiz-lan copied to clipboard

Keep bulbs network ready!

Open MoTechnicalities opened this issue 2 years ago • 9 comments

Hello, @kpsuperplane, I have one issue that I hope you can tackle if possible.

If the bulbs are not used for a little while (not sure exactly how long) they seem to go to sleep on the network, thus making them slow (nearly 7--10 seconds) to respond to Siri, or in the case of my Pico remote button press, I have to wait that long before pressing the button again. Any way to have the plugin keep them awake?

MoTechnicalities avatar Jan 10 '23 14:01 MoTechnicalities

I haven't experienced this, so I'm not sure how I could test it. I'm also not sure what would cause the bulbs to "wake up", would a "getPilot" do the trick? Or would I have to try to set something?

kpsuperplane avatar Jan 11 '23 21:01 kpsuperplane

A getpilot would have been my first guess. Perhaps a beta with an ability to set the request to do it every specified so often, I can see what happens.

MoTechnicalities avatar Jan 11 '23 21:01 MoTechnicalities

Added support in 3.2.4 for an optional config "refreshInterval"

kpsuperplane avatar Jan 11 '23 22:01 kpsuperplane

Let me know if this helps haha

kpsuperplane avatar Jan 11 '23 22:01 kpsuperplane

Actually make sure to use 3.2.5, 3.2.4 failed to publish

kpsuperplane avatar Jan 11 '23 22:01 kpsuperplane

OK. 3.2.5 is up and running! Let's give it a couple of days to see if there are any improved responses. First night into it: "Hay Siri, turn off the lights in the Family Room". All bulbs responded right away! (refresh set at 60 seconds so, increasing to 120 seconds).

MoTechnicalities avatar Jan 12 '23 00:01 MoTechnicalities

So this is works as expected. However, logging all these pings is unnecessary and should be reserved for troubleshooting mode.

MoTechnicalities avatar Jan 13 '23 19:01 MoTechnicalities

Getting a tone of these unnecessary messages every ping.

image

Needn't say any more.

MoTechnicalities avatar Jan 16 '23 21:01 MoTechnicalities

I am seeing the same issue with the log messages.

krozgrov avatar Apr 24 '23 23:04 krozgrov