Skip to content

Options Menu extended to change API-Key and poll interval

Compare
Choose a tag to compare
@LaggAt LaggAt released this 02 Jan 10:39
· 413 commits to master since this release
b962b56

Hi, Happy new Year to you all!

Some people with multiple lights ran into issues with the default of 10 seconds between poll intervals.

Background info:
Govee allows one request every second. Turning a single light on takes one, setting brightness takes another. Pulling state for a device takes a third request. When we hit this limit over a 100 second period, we are blocked for the rest of this time frame.

So now if you have e.g. 8 devices polling every 10 seconds, 80% of the allowed requests are gone. The underlying library here starts to throttle your request to not get banned.
Assume you want to turn on all your lights, turn them to pink and full brightness now: You just did 24 requests, with some settings on even 32.

Only option until now was re-installing the integration. Now you can change the interval and restart home assistant.
This release is a beta because I had some issues with the dev environment and testing. It should all work, but I didn't test as good as usual.

regards, Florian.