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: GitHub - LaggAt/hacs-govee: A HACS repository for Govee light integration
- 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:
I prepare the integration to be included as custom component in HACS. This takes some preparation, and will take some time. In the meanwhile you just have to add the repository in your hacs manually.
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 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
- 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).