wez / govee2mqtt

Govee2MQTT: Connect Govee lights and devices to Home Assistant
MIT License
410 stars 23 forks source link

Glide Hexa: Cannot change color of segments #35

Open marcucio opened 8 months ago

marcucio commented 8 months ago

Glide Hexa, 5 segments

I am able to change the brightness of individual segments but not change individual segment colors, is this a known issue?

works: [2024-01-08T17:58:14Z INFO govee::service::hass] Command for Glide Hexa (CE:26:D6:37:34:32:4B:2D) segment 0: {"state":"ON","brightness":5} [2024-01-08T17:58:16Z INFO govee::service::hass] Command for Glide Hexa (CE:26:D6:37:34:32:4B:2D) segment 0: {"state":"ON","brightness":66}

Has no effect on the segment: [2024-01-08T17:58:19Z INFO govee::service::hass] Command for Glide Hexa (CE:26:D6:37:34:32:4B:2D) segment 0: {"state":"ON","color":{"r":215,"g":150,"b":255}}

I can change the color of all segments

I also noticed the effects are not correct. I have a custom snapshot that turns 1 segment green and the rest red, but it instead turns 1 segment green and the rest white. This was a snapshot that was converted to an effect in HA

wez commented 8 months ago

Segment and scene control depend entirely on the Platform API working well on Govee's end, and it is currently a bit rough as you can see if you look through all the issues people are raising in https://developer.govee.com/discuss

wez commented 8 months ago

It seems like Govee deployed a platform API update today, so it is possible that the situation has changed and/or potentially improved for some devices.

marcucio commented 8 months ago

how do I get the updated API, is there anything I need to update on my end?

wez commented 8 months ago

Update the addon to the latest version, and click the "Purge Caches" button on the "Govee to MQTT" device that you'll find under the MQTT integration. Then try to control the device; maybe it will work better, or maybe it won't!

marcucio commented 8 months ago

thanks, updated to the latest docker and I still see the same. If I have some time I'll try to debug and write up a bug with govee