wez / govee2mqtt

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

H6065 (Glide Y) Cannot control individual segments #249

Open tutman96 opened 1 month ago

tutman96 commented 1 month ago

Govee Device SKU

H6065

Govee2MQTT Version

2024.07.21-c9d27764

Describe the issue

When trying to use the individual segment controls through home assistant, it isn't working. Logs show a successful platform API call however segments are still not updated.

Startup Diagnostics

[2024-07-25T19:04:06Z INFO  govee::commands::serve] Devices returned from Govee's APIs
[2024-07-25T19:04:06Z INFO  govee::commands::serve] Floor Lamp Basic (9E:4A:CF:32:34:34:67:34 H6076)
[2024-07-25T19:04:06Z INFO  govee::commands::serve]   LAN API: ip=10.10.0.75
[2024-07-25T19:04:06Z INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-07-25T19:04:06Z INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..7)
[2024-07-25T19:04:06Z INFO  govee::commands::serve]   Undoc: room=None supports_iot=true ble_only=false
[2024-07-25T19:04:06Z INFO  govee::commands::serve]   Quirk { sku: "H6076", icon: "mdi:floor-lamp", supports_rgb: true, supports_brightness: true, color_temp_range: Some((2000, 9000)), avoid_platform_api: false, ble_only: false, lan_api_capable: true, device_type: Light, platform_temperature_sensor_units: None, platform_humidity_sensor_units: None, iot_api_supported: true, show_as_preset_buttons: None }
[2024-07-25T19:04:06Z INFO  govee::commands::serve]
[2024-07-25T19:04:06Z INFO  govee::commands::serve] Office Glide Y Light (D2:57:C9:38:32:30:3D:92 H6065)
[2024-07-25T19:04:06Z INFO  govee::commands::serve]   LAN API: ip=10.10.0.107
[2024-07-25T19:04:06Z INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-07-25T19:04:06Z INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..15)
[2024-07-25T19:04:06Z INFO  govee::commands::serve]   Undoc: room=None supports_iot=true ble_only=false
[2024-07-25T19:04:06Z INFO  govee::commands::serve]   Quirk { sku: "H6065", icon: "mdi:led-strip-variant", supports_rgb: true, supports_brightness: true, color_temp_range: Some((2000, 9000)), avoid_platform_api: false, ble_only: false, lan_api_capable: true, device_type: Light, platform_temperature_sensor_units: None, platform_humidity_sensor_units: None, iot_api_supported: true, show_as_preset_buttons: None }
[2024-07-25T19:04:06Z INFO  govee::commands::serve]
[2024-07-25T19:04:06Z INFO  govee::service::http] http server addr is 0.0.0.0:8056

Additional Logs

No response

Home Assistant Logs

No response

Anything else?

Also reported https://youtu.be/lv0_3Sr99wQ?si=4awda2Nn0aTeSajO&t=502 "Individual segment control is not working"

If this is a Govee problem (being that the Platform API reports successful), happy to initiate a support request with them, just let me know.

tutman96 commented 1 month ago

So calling the API directly it seems like the segmentedBrightness capability is working but not the segmentedColorRgb capability through the API which matches the experience I am seeing through this plugin as well. So this doesn't seem to be a problem with this project, but the API itself.

Seems like https://developer.govee.com/discuss/659f9db976e4e9005c4ccdde reported the same problem 7mo ago.