AMAZING work! Everything is working perfectly for me!
Really minor one, caught this in the log if it helps:
020-09-19 22:46:45 WARNING (MainThread) [custom_components.govee.light] async_turn_on failed with 'set_brightness100: invalid value 255, allowed range 0 .. 254' for 0D:D7:A4:C1:xx:xx:xx:xx, kwargs: {'brightness': 255}
your rate limit reset seconds are negative … this should always be between 0 and 60, maybe a timezone issue. I’ll look into these two issues today.
Wow, govee reports brightness values from 0 to 254,
for setting we need to use 0 to 100.
Home Assistant uses 1 to 255
– I needed to write that down –
I’ll bring all on 1 to 255 for home assistant.
And yes, there is a timezone issue in my code on rate limiting.
Would you mind trying the new file?
https://drive.google.com/drive/folders/1f2yVik5n-3-_1Hwxgywn1TlExyau5TxM?usp=sharing
still on my TODO:
- Tests ans pull request to upstream/dev
- somehow the controls jump to the old state after switching - I think the api is reporting the old values once more. Maybe someone has insights here?
@LaggAt I installed the latest version, not seeing that message in the log anymore about the invalid brightness and rate limit seconds are now positive:
I did a separate thread for this integration, so that all people could see it.
It’s here: Govee LED strips integration
@GlennHA it would be really great if you could help with supporting your device, I think we could do something here if we know the responses. Feel free to contact me.
posted reply in the new thread
Did Govee send you a cease and desist or something? I have a couple H6001s which I don’t see how they could be controlled through an internet API since they’re bluetooth. They don’t even seem to have very good range to be used with a hub. I’m hoping I can get your Bluetooth code so I can use the Pi I have in the same room as the lights to turn them into MQTT commands.
He moved it to new thread. But bluetooth is not being actively pursued unless someone steps up. See the thread.
I’ve just bought this
Great job, thanks, works well. Be sure to kill and restart the HA app on IOS after restarting home assistant or it won’t find the new integration.
I am looking at govee color bulbs, H6014, there is only one vauge reference in this thread, they are on sale at Amazon, had anyone been able to use these? https://www.amazon.com/dp/B07S3ZMCG6/ref=cm_sw_em_r_mt_dp_.Hl8Fb4MD60H0
Fred
All what we know is noted in the first post.
I bought the bulbs and was able to connect them via Tuya, they worked out of the box. They also sent me a nice 16’ RBG LED strip as a thank you for reviewing the product and that also worked no problem via Tuya. You do need to setup a customize entry in customize.yaml:
light.dock_1:
supported_features: 191
but otherwise, for $25 for a 4 pack of RGB LED bulbs you can’t go wrong. I now have a fun color loop running on my 4 dock lights that randomly change patterns and colors.