-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration is broken in HA 2025.1 #199
Comments
Same issue here.. |
I assume that's the end of this integration since there have been no updates in the past 2 years... |
Same issue here. I tried by changing API key from Goove without any effect. |
Same |
Same problem |
1 similar comment
Same problem |
Same here |
Time to ditch govee and switch to full WLED control, I think. This integration is really unstable. |
If people look into fixing this issue, either by forking this repository or whatever, might I recommend switching to using the LAN API for Govee products? This would obviously make them way faster, and remove the issue of limited API calls. |
The local API ist not supported by all products. So we have to use this integration |
Ah, yeah I see that it is limited, luckily I think it will work for me. I didn't even know it was added last year because I was using this custom one. |
I knew this day would come. 😞 Until I find a permanent fix (local will not work) I’ve set up an input Boolean for each group of lights and then set up an automation that uses Google assistant SDK with the text “Turn on (device name in Google)”. It’s a hack but keeps the complaining down and continues to allow me to use HomeKit.🤷♂️ Unfortunately I use a lot of Govee smart lights with FP2 presence sensors😬 |
I'd really appreciate any more info to copy your hack please 🙏 |
Steps
Voila note the input Boolean will be available as a switch in HomeKit (not a light of any other entity) |
So you don't have the state of your LED's when activated by google or app or something else |
Correct just basic on/off control. It’s a hack to maintain usability until there’s a permanent solution. The hack I laid out is by no means a replacement. |
I literally have the worst luck. I finally find time yesterday to spend about 5 hours programming Home Assistant for my new home with 30 or so Inovelli Blue Switches and 50 Govee 6" ceiling lights. I had each room/zone configured, could easily turn on/off rooms, dim lights, and change lighting of the rooms. This morning I see the update for HA, install it, and it breaks everything. Govee has not made Lan API an option on these ceiling lights and this integration hasn't been updated in 2 years. I'm so screwed. My family, who was so impressed with all the features of the lighting yesterday, is back to yelling that the light switches dont work. I'm just gonna break out some flashlights and candles and go into hiding for a while. Edit: Restored to previous version by going to shell and inputting: Everything works again after downgrading but my family has lost their trust. Still considering moving into that cave. |
You can restore your backup before Update and all will work fine again |
Thank you for reminding me of this simple solution. All functionality restored in less than 2 minutes. tips cap |
Same issue. TV light doesn't work anymore :( |
I did a quick fix, just replace /config/custom_components/govee/light.py with this: https://pastebin.com/SsqHmFQe This integration would need some refactoring, it still throws some warnings in HA log. |
Thank you. That worked for me! |
Amazing @JiriBalcar , It did work for me as well. |
Yes, but I would like to clean up the integration little bit. Is the Maintainer still active so the PR can be merged? |
Thanks! Works for me too. I'm not well-versed in HA integrations - will these changes to light.py survive HA updates? |
Yes it should |
I have switched my integrations over to a different integration. Supports both Local API (where available) and Platform API. Happy with the results, so far. |
LAN API is not an option for their smart switches. Personally using the integration for some H5080 switches. |
Mostly works for me...Big THANKS! Though there seems to be a bug on setting Kelvin Temp on my H6008 Bulbs.. As soon as you try to change the Kelvin Temp, the light.py crashes and no longer responds to any inputs. Reboot of HA brings it back. But a great stop gap solution. If it helps here is the error |
I moved to govee2mqtt today and it's working well as a replacement. Can use both LAN API for those devices that support it, but also API key for lights that don't. |
Govee2MQTT is the answer. More functionality than this integration. Easy to set up. Up in 5 minutes after a restart. |
Officially moved to Govee2mqtt as my solution. |
Thank you. I originally reverted back to 2024.12.5, but after replacing my light.py, I was able to go back to 2025.1.0 w/o issues. |
With govee2mqtt my H6008 works again without problems |
This fixed it for me for now. Thanks you very much! I have only a H605C TV Backlight. How to Check of it works with govee2mqtt? |
Here you can find the list of Lan supported devices https://app-h5.govee.com/user-manual/wlan-guide |
If anyone has Homebridge (i have to use it to implement my Govee fan into homeassistant) their integration of Govee doesn't seem to have been affected by the changes in Homeassistants January update and switching to using that for my tv lights seems to have fixed the issue temporarily if anyone else needs a workaround |
Nice! That worked for me also :-) |
Thanks guys for the support here! So I switched back to the old govee integration + the lights.py update by @JiriBalcar - Thank you very much! If you want to troubleshoot my govee2mqtt issue, let me know what I should provide (I'm a bit lost when it comes to logs in HA tbh, there's the Log area in system, but only some integrations show up there, then there's the add-on Log view, so let me know where you'd like logs from). |
I only have the T2 TV Backlights so this was a easy switch for me. I am much happier with the MQTT integration as well since it gives me more options. Wish I had tried this a long time ago, thanks! |
hey, long time no see ... |
@LaggAt any chance for you to at least implement the quickfix that was provided above? Would really love to keep my automations. I used your integration a lot :-) Would like to avoid switching since this one was working perfect |
still updating my dev environment - could you point me to the fix you mean? |
this is the comment I'm talking about. Seems like it worked for some. |
thanks, I'll add that to my todo list. Thanks @JiriBalcar for providing that. I also invest some time to look over the dependencies, to get them to the same version home assistant uses. In the long term I need to find other developers who want to contribute - or - if this is working well - I could discontinue here and we switch all to the https://github.com/wez/govee2mqtt extension. |
Also worked for me! Big thank you. Don't know what you did, but glad you did it and shared! Lee |
RE The MQTT extension, my experience of it was it was unreliable, which is why I switched back to this integration. Plus the fact that you have to run two addons (Govee MQTT plus the Broker) and the integration using several hundred megabytes of memory is kind of ridiculous just to turn a couple of LEDs on and off... |
ok, understand. Then let's try to get this fixed for now. |
Hi @LaggAt. |
Hey @JiriBalcar thanks for putting up a fix so fast! |
Hi, yea thanks to you all, I did miss this completely. |
Yes @LaggAt it is out and working. Still complains in the logs for two issues. One I have prepared fix for, but it can wait. For the second one, I will try to look into it. |
UPDATE: I was able to pull out and test the local changes, if I didn't miss anything, my LED strips are working as expected, however my Aura Table lamp is not. |
Hm, code shoudn't change something for a single light. The second sounds like the issue, Govee changed how they rate limit there api on the way, when using the slider we try to send more requests as allowed very quickly. Also the rate limiting informations we show are garbage. Try to increase the pull interval to a higher value - i e.g. use 200 seconds interval for status update requests. This is one of the things never fixed. @JiriBalcar your code changes are reasonable - are you interested in collaborator access? |
I'll see how the MQTT one holds up. I really only have the TV backlight automated ON/OFF when TV ON/OFF. This integration worked flawlessly for that since Govee's own built in "detect" doesn't seem to work. 🤷♂️ Anyways, I'll gladly switch back since the quick fix worked for me and I see you already pushed an update. |
Currently, this is the only addon that works with my aging Govee H6159 Lights. Govee claims that it supports the lan API, however after setting up govee2mqtt, I can confirm that it does not. Thank you for keeping this updated! |
Version of the custom_component
2023.11.1
Configuration
Configured in UI
Describe the bug
Loading and unloading of the integration and entities fails
Debug log
The text was updated successfully, but these errors were encountered: