@LaggAt man this is an awesome work. I’ve just installed and I’d like to report a feedback for the model: H61103A1-IT. Via a custom light card i can perfectly control the brightness and the color with the color wheel. Color temperature doesn’t work for me but maybe it depends by the custom card i installed.
All the others feature of this model, like effects and music mode works via Bluethoot so it’s not possible to control them.
The latest thing i’d like to report is this: if i change the color with the physical controller of the strip or i turn off the strip with it, Home Assistant still shows it as turned on and with the previous color. The only way to re-syncronize the wheel and the physical controller is to change color on HA. Not a big deal though.
Thanks again for this integration! It is awesome!
Hey, I just bought a H6109 and I’m trying to install the Govee integration, how long after restart home assistant should I wait before seeing it in the integration selection screen?
Also, should the files in custom_components such as govee-20200922 stay a zip or not?
edit: got it, the content of those zip files is the one i need to install, not the zip itself.
Hi,
do you have files like ./custom_components/govee/manifest.json?
If yes, this seems OK. Next: do you get something related to govee in the logs, also consider enabling debug log (first post).
As you already got it, you should extract the zip inside this folder, so that the files inside are in the folder ./custom_components/govee/
So it is working for you?
Hi, thanks. I added it to the first post.
Could you enable debug logs and see, if you get state results from API? some Strips do not support these.
@LaggAt Will 0.117 effect your code at all or will it possibly simplify?
https://community.home-assistant.io/t/0-117-quick-bar-compact-header-a-yaml-editor-xbox-and-template-types/239954
I am specifically referring to RGB commands.
Isn’t that templating?
It maybe affects how you interact, but not the integration itself which is developed on dev. It also isn’t really complicated.
It works, but not too well. It seems to lag a bit, sometimes the API will take a while to respond, and when I switch the light using the toggle slider, the slider disappears and is replaced by 2 lightning symbols, similar to the ones for a switch in HASS. Otherwise, it works fine as long as I don’t spam the API.
BTW, when adding the integration, what was the auto-filled out part (with 10) below the API key?
Well, seems like nothing I can influence, is your Internet connection good?
Lag results from the communication to the API.
The Light toogle is replaced with two toogles by design as long as we use the cached State we create, before we get the next state from API.
When you spam the API you will hit the API limit.
10 was the refresh interval. So every 10 seconds we do query the api for the state of every lamp you have registered and supports state requests. So if you have 3 LED strips all supporting state, this will hit the API with 3 requests every 10 seconds.
FYI - @LaggAt I just installed your integration to use with a H6110_E45E. I haven’t gotten to play with it much (it’s in my son’s room and he’s sleeping currently). However, on initial install it seemed to get the status correctly. I also went ahead and enabled debug logging to grab the following log:
20-10-31 03:53:57 DEBUG (MainThread) [govee_api_laggat.govee_api_laggat] state returned from API: {'data': {'device': 'XXXXXXXX', 'model': 'H6110', 'properties': [{'online': True}, {'powerState': 'on'}, {'brightness': 100}, {'color': {'r': 139, 'b': 255, 'g': 0}}]}, 'message': 'Success', 'code': 200}, resulting state object: GoveeDevice(device='XXXXXXXXX', model='H6110', device_name='H6110_E45E', controllable=True, retrievable=True, support_cmds=['turn', 'brightness', 'color', 'colorTem'], support_turn=True, support_brightness=True, support_color=True, support_color_tem=True, online=True, power_state=True, brightness=254, color=(139, 0, 255), timestamp=1604130837.046083, source='api', error=None, lock_set_until=0, lock_get_until=0, learned_set_brightness_max=None, learned_get_brightness_max=100, before_set_brightness_turn_on=False)
Thanks, I added this to the list.
Amazing work my dude.
I can confirm model H6141 is working flawlessly.
If you could get it into HACS for easy updates (not sure how long integration in core will take but surely its a longer process) that would be tremendous.
Well done mate!
Got it working.
For anyone else having this problem: I had uploaded the files using File Editor but tried deleting them and re-uploading using samba and it worked perfectly.
Thanks!
Thanks, I updated the first post.
Yes, I’m already thinking about that as it really takes very long and takes a lot of effort. Did you already walk this path with an extension?
Can it control multiple LED strips of different models?
Sure. State must be requested by device, so choose your update frequency wise.
Just installed this, many thanks for the work:-) It works great for on and off and brightness on my H6182 TV strips, however I do have a newbie question please… Where in the interface can I find the fancy page shown in the screen shots further up this thread as I can’t seem to find where to change the colour?
Many thanks Pete
Please ignore me as I have answered my own question! The colour wheel only shows when the light is on. Doh!
Great, I added that information in the first post.
To remove the question mark on state:
Could you see State changes if you change the lights from Govee Home app?
Yes state switches in HA when controlled from Govee app as well