I did a integration for the Govee API. This is using the official Govee cloud service. Internet needed.
(Thanks @Scope666 for the screenshot form here).
Using HACS (recommended):
add custom Repository: https://github.com/LaggAt/hacs-govee- we are a default repository in HACS, adding the custom repo isn’t necessary anymore.
- Search for the integration “govee” and add it
- Download https://github.com/LaggAt/hacs-govee/archive/master.zip
- Extract the ‘./custom_components/govee’ folder to your installation
Further steps for both variants:
- On the integrations page, add the “govee” integration in the UI.
You’ll need an API key, which you can get from the ‘Govee Home’ App:
User - About Us - Request API Key. The key is delivered by mail within seconds.
@EverythingSmartHome also featured the Govee Lights and this integration in a helpful video:
Here is another video by @larsklint, which explains installation prodedure in HACS and using color in automations:
Usually configuration is done here - in most cases no further manual steps are necessary.
Over the time I added some options you can configure, if you have some glitches or special needs please review the documentation page here first:
- We decided, to walk the BLE (bluetooth low energy) path. So there will be basic support for BLE-devices (and devices supporting WIFI and BLE). As this is an hobby project, this will take a bit.
- You may always express your opinion what should be implemented. To do this post here in the forum, or file an issue on github.
Is it stable?
We think so. It is used often, and the support thread is active.
Usage Data is taken from Home Assistant analytics, and plotted over time by us. You need to enable analytics if you want to show here.
Is the API up?
We also have you covered here, again by a graph wich is testing two main functions: get device list, and get state for these devices. This is updated every 30 minutes.
If this reports an error, this may be an issue by the library we use and code, but more likely the Govee API has an issue and someone may want to write them a mail.
This was a lot of effort, so I decided to add this:
If you are a coder you may also support by extending the library and integration, If your aren’t you can help with good/detailed bug and feature requests and by helping other users.
Please tell me what is working, and what is not! I cannot guarantee anything, I just manage a list based on user voices.
Buetooth-devices do not work, see here if your are a coder and want to jump in. I could help with refactoring to give the user a unified experience.
Model Working? State Notes, links * H6163 Yes Yes This is my led strip, the reason I developed this. * H6159 Yes Yes https://community.home-assistant.io/t/govee-led-strips-integration/228516/88?u=laggat * H6117 Yes ? https://community.home-assistant.io/t/govee-led-strips-integration/228516/114?u=laggat * H6195 Yes ? For state support we have two reports, with different results: Yes https://community.home-assistant.io/t/govee-led-strips-integration/228516/287?u=laggat local https://community.home-assistant.io/t/govee-led-strips-integration/228516/130?u=laggat * H6160 Partly ? Color Temperature not supported. https://community.home-assistant.io/t/govee-led-strips-integration/228516/110?u=laggat * H6104 Partly local Color Temperature not supported. https://community.home-assistant.io/t/govee-led-strips-integration/228516/63?u=laggat Also setting brightness doesn't turn these on, I made a workaround for this, see https://community.home-assistant.io/t/govee-led-strips-integration/228516/141?u=laggat * H6110 Yes Yes https://community.home-assistant.io/t/govee-led-strips-integration/228516/168?u=laggat * H6141 Yes Yes https://community.home-assistant.io/t/govee-led-strips-integration/228516/179?u=laggat * H6182 Yes Yes https://community.home-assistant.io/t/govee-led-strips-integration/228516/184?u=laggat * H5081 Yes Yes https://community.home-assistant.io/t/govee-led-strips-integration/228516/272?u=laggat * H6142 Yes Yes https://community.home-assistant.io/t/govee-led-strips-integration/228516/287?u=laggat * H6003 Yes Yes https://community.home-assistant.io/t/govee-led-strips-integration/228516/287?u=laggat * H6054 Yes Yes https://community.home-assistant.io/t/govee-led-strips-integration/228516/287?u=laggat * H6052 Yes Yes https://community.home-assistant.io/t/govee-led-strips-integration/228516/287?u=laggat * H6199 Yes Yes https://community.home-assistant.io/t/govee-led-strips-integration/228516/287?u=laggat * H6188 Yes Yes https://community.home-assistant.io/t/govee-led-strips-integration/228516/303?u=laggat * H7020 Unknown/Partly "At least on/off." https://community.home-assistant.io/t/govee-integration/228516/540?u=laggat * H6143 Yes Yes https://community.home-assistant.io/t/govee-integration/228516/592?u=laggat Govee API docs say, these below should work too. As this is half of the story (integration must be right too) PLEASE tell us how well they work if you own one. H6109, H7021, H7022, H6086, H6089, H6085, H7014, H6135, H6137, H6196, H7005, H6083, H6002, H6148, H7050, H6051, H6056, H6061, H6058, H6073, H6076, H619A, H619C, H618A, H618C, H6008, H6071, H6075 , H614A, H614B, H614E, H618E, H619E
- API: we manage state when setting something, and as soon as we get a State from API we use that.
- local: the API does not support requesting a State here, we just manage state locally by remembering the latest set values.
- ?: I don’t know - feedback welcome.
If something doesn’t work please provide log details. To do so put this in your configuration.yaml:
logger: default: warning logs: homeassistant.components.govee: debug custom_components.govee: debug govee_api_laggat: debug
Then on Settings - Logs click on “full logs” button.Comment that with your actions, and what the led/bulb is doing at which point. Take care to override private details in logs (e.g. MAC-address).