Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desk light H61C3 applies effect briefly then resets to last used colour #368

Open
AsheAsheAshe opened this issue Jan 21, 2025 · 3 comments

Comments

@AsheAsheAshe
Copy link

AsheAsheAshe commented Jan 21, 2025

2025.01.04-2c39a50f Govee2mqtt

When I trigger any of my other office lights - the Glide music equaliser, 2x Standard Glide lights - they work as expected with power on and I can apply effects via the "Effect" in an automation without an issue, to allow me to write scripts for different lighting modes using DIY's or the Govee scenes.

When I trigger the Govee Desk Light Strip, H61C3, it powers on fine in an automation, but if I set it to switch to an effect, it briefly animates with the effect across its length one time, and then sets itself back to its last solid colour state - so essentially if I set it to an effect with a gradient of blue and purple, it animates blue and purple 1x across the strip and then goes back to white or whatever colour it was last in.

Using the MQTT integratrion interface to select the light icon, and then select an icon does not work if I have triggered this behaviour in a script, but if I then change the colour via this interface and select a solid colour and THEN switch to an effect, that works fine, but the script doesn't work no matter how many times I do it, so seems specifically around setting an effect via an automation. have tried multiple effect names in case it was a specific effect.

startup log:

s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
GOVEE_API_KEY=REDACTED
GOVEE_MQTT_HOST=core-mosquitto
GOVEE_TEMPERATURE_SCALE=C
GOVEE_EMAIL=REDACTED
GOVEE_PASSWORD=REDACTED
GOVEE_MQTT_PASSWORD=REDACTED
GOVEE_MQTT_USER=addons
GOVEE_MQTT_PORT=1883
++ cd /app
++ exec /app/govee serve
[2025-01-21T15:19:45 INFO  govee::commands::serve] Starting service. version 2025.01.04-2c39a50f
[2025-01-21T15:19:45 INFO  govee::commands::serve] Querying platform API for device list
[2025-01-21T15:19:46 INFO  govee::commands::serve] Querying undocumented API for device + room list
[2025-01-21T15:19:47 INFO  govee::service::iot] Connected to IoT: aqm3wd1qlc3dy-ats.iot.us-east-1.amazonaws.com:8883 CONNACK code 0: Connection Accepted.
[2025-01-21T15:19:47 INFO  govee::commands::serve] Starting LAN discovery
[2025-01-21T15:19:47 INFO  govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted.
[2025-01-21T15:19:47 INFO  govee::commands::serve] Waiting 10 seconds for LAN API discovery
[2025-01-21T15:19:57 INFO  govee::commands::serve] Devices returned from Govee's APIs
[2025-01-21T15:19:57 INFO  govee::commands::serve] Govee fence neon (93:D9:32:34:34:3A:9A:FF H61A8)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   LAN API: ip=192.168.1.99
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2025-01-21T15:19:57 INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..15)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Undoc: room=None supports_iot=true ble_only=false
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Quirk { sku: "H61A8", 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 }
[2025-01-21T15:19:57 INFO  govee::commands::serve] 
[2025-01-21T15:19:57 INFO  govee::commands::serve] Govee Glide Y Lights (30:22:D5:38:33:33:61:16 H6065)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2025-01-21T15:19:57 INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..15)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Undoc: room=None supports_iot=true ble_only=false
[2025-01-21T15:19:57 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 }
[2025-01-21T15:19:57 WARN  govee::commands::serve]   This device should be available via the LAN API, but didn't respond to probing yet. Possible causes:
[2025-01-21T15:19:57 WARN  govee::commands::serve]   1) LAN API needs to be enabled in the Govee Home App.
[2025-01-21T15:19:57 WARN  govee::commands::serve]   2) The device is offline.
[2025-01-21T15:19:57 WARN  govee::commands::serve]   3) A network configuration issue is preventing communication.
[2025-01-21T15:19:57 WARN  govee::commands::serve]   4) The device needs a firmware update before it can enable LAN API.
[2025-01-21T15:19:57 WARN  govee::commands::serve]   5) The hardware version of the device is too old to enable the LAN API.
[2025-01-21T15:19:57 INFO  govee::commands::serve] 
[2025-01-21T15:19:57 INFO  govee::commands::serve] Equaliser (56:9E:C6:32:37:36:6B:23 H610B)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   LAN API: ip=192.168.1.56
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2025-01-21T15:19:57 INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..15)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Undoc: room=Some("Office") supports_iot=true ble_only=false
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Quirk { sku: "H610B", 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 }
[2025-01-21T15:19:57 INFO  govee::commands::serve] 
[2025-01-21T15:19:57 INFO  govee::commands::serve] Glide - san junipero (4C:20:D2:31:30:30:7D:65 H6062)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   LAN API: ip=192.168.1.154
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2025-01-21T15:19:57 INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..28)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Undoc: room=Some("Office") supports_iot=true ble_only=false
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Quirk { sku: "H6062", 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 }
[2025-01-21T15:19:57 INFO  govee::commands::serve] 
[2025-01-21T15:19:57 INFO  govee::commands::serve] Glide Orchids (9C:2B:D2:31:30:30:4E:66 H6062)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   LAN API: ip=192.168.1.40
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2025-01-21T15:19:57 INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..28)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Undoc: room=Some("Office") supports_iot=true ble_only=false
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Quirk { sku: "H6062", 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 }
[2025-01-21T15:19:57 INFO  govee::commands::serve] 
[2025-01-21T15:19:57 INFO  govee::commands::serve] Wardrobe accent (72:1B:D4:38:31:39:30:56 H61E1)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   LAN API: ip=192.168.1.15
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2025-01-21T15:19:57 INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..15)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Undoc: room=None supports_iot=true ble_only=false
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Quirk { sku: "H61E1", 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 }
[2025-01-21T15:19:57 INFO  govee::commands::serve] 
[2025-01-21T15:19:57 INFO  govee::commands::serve] Planter neon (11:C3:38:31:30:38:31:FF H61A8)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   LAN API: ip=192.168.1.4
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2025-01-21T15:19:57 INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..15)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Undoc: room=None supports_iot=true ble_only=false
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Quirk { sku: "H61A8", 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 }
[2025-01-21T15:19:57 INFO  govee::commands::serve] 
[2025-01-21T15:19:57 INFO  govee::commands::serve] Telly (9B:4A:D7:39:32:37:39:61 H6199)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2025-01-21T15:19:57 INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..15)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Undoc: room=None supports_iot=true ble_only=true
[2025-01-21T15:19:57 INFO  govee::commands::serve] 
[2025-01-21T15:19:57 INFO  govee::commands::serve] Tree spots (3C:96:CF:38:32:31:4D:50 H7065)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   LAN API: ip=192.168.1.138
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2025-01-21T15:19:57 INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..15)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Undoc: room=None supports_iot=true ble_only=false
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Quirk { sku: "H7065", icon: "mdi:lightbulb-spot", 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 }
[2025-01-21T15:19:57 INFO  govee::commands::serve] 
[2025-01-21T15:19:57 INFO  govee::commands::serve] Corner lamp (77:E4:D5:36:39:34:4D:7E H6072)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   LAN API: ip=192.168.1.107
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2025-01-21T15:19:57 INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..8)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Undoc: room=None supports_iot=true ble_only=false
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Quirk { sku: "H6072", 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 }
[2025-01-21T15:19:57 INFO  govee::commands::serve] 
[2025-01-21T15:19:57 INFO  govee::commands::serve] Govee Music (45:E3:C4:38:32:31:55:1D H1162)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Platform API: Other. supports_rgb=true supports_brightness=true
[2025-01-21T15:19:57 INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..15)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Undoc: room=None supports_iot=true ble_only=true
[2025-01-21T15:19:57 INFO  govee::commands::serve] 
[2025-01-21T15:19:57 INFO  govee::commands::serve] Desk (1A:D1:39:32:33:40:91:FF H61C3)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   LAN API: ip=192.168.1.207
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2025-01-21T15:19:57 INFO  govee::commands::serve]                 color_temp=Some((2000, 9000)) segment_rgb=Some(0..40)
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Undoc: room=None supports_iot=true ble_only=false
[2025-01-21T15:19:57 INFO  govee::commands::serve]   Quirk { sku: "H61C3", icon: "mdi:light-bulb", 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 }
[2025-01-21T15:19:57 INFO  govee::commands::serve] 
[2025-01-21T15:19:57 INFO  govee::service::http] http server addr is 0.0.0.0:8056
[2025-01-21T15:20:17 INFO  govee::service::state] requesting update via IoT MQTT Govee Glide Y Lights (30:22:D5:38:33:33:61:16 H6065) None
[2025-01-21T15:20:17 INFO  govee::service::state] requesting update via Platform API Telly (9B:4A:D7:39:32:37:39:61 H6199) None
[2025-01-21T15:20:20 INFO  govee::service::state] requesting update via Platform API Govee Music (45:E3:C4:38:32:31:55:1D H1162) None

operational log:

[2025-01-21T15:16:54 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:16:55 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/34", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[34]}}}
[2025-01-21T15:16:55 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 20: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:16:55 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:16:55 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/20", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[20]}}}
[2025-01-21T15:16:55 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 21: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:16:55 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:16:56 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/21", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[21]}}}
[2025-01-21T15:16:56 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 1: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:16:56 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:16:56 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedBrightness", value: Object {"brightness": Number(46), "segment": Array [Number(1)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:16:57 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedColorRgb", value: Object {"rgb": Number(16777215), "segment": Array [Number(1)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:16:57 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 30: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:16:57 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:16:57 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/30", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[30]}}}
[2025-01-21T15:16:57 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3): {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:16:57 INFO  govee::service::state] Using LAN API to set Desk (1A:D1:39:32:33:40:91:FF H61C3) brightness
[2025-01-21T15:16:57 INFO  govee::service::state] Using Platform API to set Desk (1A:D1:39:32:33:40:91:FF H61C3) to scene Atlantis
[2025-01-21T15:16:58 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: DynamicScene, instance: "lightScene", value: Object {"id": Number(8402), "paramId": Number(13406)}, state: Object {"status": String("success")} } }
[2025-01-21T15:16:58 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 29: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:16:58 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:16:58 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/29", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[29]}}}
[2025-01-21T15:16:58 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 7: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:16:58 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:16:59 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedBrightness", value: Object {"brightness": Number(46), "segment": Array [Number(7)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:16:59 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedColorRgb", value: Object {"rgb": Number(16777215), "segment": Array [Number(7)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:16:59 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 32: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:16:59 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:04 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/32", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[32]}}}
[2025-01-21T15:17:04 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 27: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:04 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:05 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/27", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[27]}}}
[2025-01-21T15:17:05 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 31: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:05 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:05 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/31", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[31]}}}
[2025-01-21T15:17:05 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 12: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:05 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:06 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedBrightness", value: Object {"brightness": Number(46), "segment": Array [Number(12)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:06 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedColorRgb", value: Object {"rgb": Number(16777215), "segment": Array [Number(12)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:06 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 26: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:06 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:07 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/26", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[26]}}}
[2025-01-21T15:17:07 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 28: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:07 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:07 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/28", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[28]}}}
[2025-01-21T15:17:07 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 3: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:07 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:08 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedBrightness", value: Object {"brightness": Number(46), "segment": Array [Number(3)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:08 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedColorRgb", value: Object {"rgb": Number(16777215), "segment": Array [Number(3)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:08 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 25: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:08 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:08 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/25", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[25]}}}
[2025-01-21T15:17:08 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 36: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:08 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:09 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/36", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[36]}}}
[2025-01-21T15:17:09 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 15: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:09 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:13 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/15", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[15]}}}
[2025-01-21T15:17:13 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 22: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:13 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:14 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/22", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[22]}}}
[2025-01-21T15:17:14 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 37: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:14 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:14 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/37", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[37]}}}
[2025-01-21T15:17:14 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 6: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:14 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:15 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedBrightness", value: Object {"brightness": Number(46), "segment": Array [Number(6)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:15 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedColorRgb", value: Object {"rgb": Number(16777215), "segment": Array [Number(6)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:15 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 10: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:15 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:16 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedBrightness", value: Object {"brightness": Number(46), "segment": Array [Number(10)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:16 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedColorRgb", value: Object {"rgb": Number(16777215), "segment": Array [Number(10)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:16 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 8: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:16 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:17 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedBrightness", value: Object {"brightness": Number(46), "segment": Array [Number(8)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:17 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedColorRgb", value: Object {"rgb": Number(16777215), "segment": Array [Number(8)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:17 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 16: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:17 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:17 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/16", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[16]}}}
[2025-01-21T15:17:17 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 35: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:17 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:18 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/35", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[35]}}}
[2025-01-21T15:17:18 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 39: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:18 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:18 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/39", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[39]}}}
[2025-01-21T15:17:18 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 4: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:18 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:19 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedBrightness", value: Object {"brightness": Number(46), "segment": Array [Number(4)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:19 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedColorRgb", value: Object {"rgb": Number(16777215), "segment": Array [Number(4)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:19 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 13: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:19 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:23 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedBrightness", value: Object {"brightness": Number(46), "segment": Array [Number(13)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:24 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: SegmentColorSetting, instance: "segmentedColorRgb", value: Object {"rgb": Number(16777215), "segment": Array [Number(13)]}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:24 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 19: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:24 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:24 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/19", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[19]}}}
[2025-01-21T15:17:24 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3) segment 17: {"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":46,"effect":"Atlantis"}
[2025-01-21T15:17:24 INFO  govee::service::hass] Using Platform API to control Desk (1A:D1:39:32:33:40:91:FF H61C3) segment
[2025-01-21T15:17:25 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/1AD13932334091FF/command/17", payload: "{\"state\":\"ON\",\"color\":{\"r\":255,\"g\":255,\"b\":255},\"brightness\":46,\"effect\":\"Atlantis\"}", qos: AtMostOnce, retain: false, mid: 0 }: request https://openapi.api.govee.com/router/api/v1/device/control status 200: OK: parsing https://openapi.api.govee.com/router/api/v1/device/control response: Failed with status 400 Bad Request Bad Request: Request to https://openapi.api.govee.com/router/api/v1/device/control failed with code 400 Bad Request Parameter value out of range. Full response: {"requestId":"uuid","msg":"Parameter value out of range","code":400,"capability":{"type":"devices.capabilities.segment_color_setting","instance":"segmentedBrightness","state":{"status":"failure","errorCode":400,"errorMsg":"Parameter value out of range"},"value":{"brightness":46,"segment":[17]}}}
[2025-01-21T15:17:25 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3): {"state":"ON","effect":"Aurora-B"}
[2025-01-21T15:17:25 INFO  govee::service::state] Using Platform API to set Desk (1A:D1:39:32:33:40:91:FF H61C3) to scene Aurora-B
[2025-01-21T15:17:25 INFO  govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: DynamicScene, instance: "lightScene", value: Object {"id": Number(135), "paramId": Number(1771)}, state: Object {"status": String("success")} } }
[2025-01-21T15:17:25 INFO  govee::service::hass] Command for Desk (1A:D1:39:32:33:40:91:FF H61C3): {"state":"ON","color":{"r":127,"g":172,"b":255}}
[2025-01-21T15:17:25 INFO  govee::service::state] Using LAN API to set Desk (1A:D1:39:32:33:40:91:FF H61C3) color
[2025-01-21T15:17:26 INFO  govee::service::device] Clearing reported scene because current (DeviceColor { r: 127, g: 172, b: 255 }, 0) != (DeviceColor { r: 255, g: 110, b: 84 }, 0)`
@AsheAsheAshe
Copy link
Author

(sorry tried using the template but kept getting "unable to create an issue - was probably the log length but didnt know what is pertinent and what isn't!)

@AsheAsheAshe
Copy link
Author

So digging further into this it seems to be an issue with me trying to set my office lights at same time.

I have 4 govee lights in my office; a 3m neon desk light, 2 standard govee glides and a govee glide music

I've got motion sensor automation to turn them off/on and I've built scripts that will flick the lights from cold white to warm white, and between some colour modes using DIY's or scenes

When I am triggering these scripts it appears to work sometimes, but I have noticed the glides only set some segments. I've tested this with different colours, scenes and colour temperatures and it does the same thing, will share the automations codes for reference tonight when on a full pc.

Likewise if I run one of the colour ones, it seems to work, but sometimes it will miss a light out, and I get the too many requests in the log.

I've tried adding a break In the automaton so there is a 3-4 second gap between lights, but it is still intermittent. Again will share scripts code later when I have easier access to copy / paste

@AsheAsheAshe
Copy link
Author

AsheAsheAshe commented Jan 23, 2025

Right, looking further into it, the automations seem to work when I flick between animated scenes or music modes, for example if I set my desk light, Glide music & 2x Govee glides to any animated scene, then change to any other animated scene, it works fine. But if I try and set them to white or blue via Govee2mqtt. that is where it seems to cause problems - perhaps because it is sending so many commands to individual segments?

Script code below - I am using the lights functionality, not sure if I should be doing this some other way?

sequence:
  - action: light.turn_on
    metadata: {}
    data:
      transition: 5
      rgb_color:
        - 249
        - 0
        - 247
    target:
      device_id: 4ddfa7f6ab83fdcef6556f578d8ae127
  - action: light.turn_on
    metadata: {}
    data:
      transition: 5
      rgb_color:
        - 0
        - 139
        - 238
    target:
      device_id: d3dc3d0c58b8f36e193e8291d29d8311
  - action: light.turn_on
    metadata: {}
    data:
      effect: SWequaliser
    target:
      device_id: 4f33c197c18d3296fc5c9c2fafabdbf0
  - delay:
      hours: 0
      minutes: 0
      seconds: 2
  - action: light.turn_on
    metadata: {}
    data:
      effect: Sw neon
    target:
      device_id:
        - db3ec84e6c9e55893fb9a3179d6ccbd5
        - 5a1edfe317d89bd2f36ea74a6e5759e9
  - action: light.turn_on
    metadata: {}
    data:
      effect: Cyan And Pink Chil
      brightness_pct: 50
    target:
      device_id: d462881d337a63f7b475773da12096e1
  - delay:
      hours: 0
      minutes: 0
      seconds: 3
  - action: light.turn_on
    metadata: {}
    data:
      effect: Synthwave fast
    target:
      device_id: f8ee454958fce7c22cac6b5461898b58
    enabled: true
  - action: light.turn_on
    metadata: {}
    data:
      rgb_color:
        - 217
        - 0
        - 251
      brightness_pct: 100
      transition: 5
    target:
      device_id: 2cc486ef48fbfcc9abe29aa7cbabfcaa
  - action: light.turn_on
    metadata: {}
    data:
      transition: 5
      rgb_color:
        - 47
        - 255
        - 251
      brightness_pct: 100
    target:
      device_id: 3902aff3f7c845d6b6896556fb0c682d
  - action: light.turn_on
    metadata: {}
    data:
      transition: 5
      rgb_color:
        - 114
        - 0
        - 211
      brightness_pct: 100
    target:
      device_id: b28fb5720348dc89007d8d984a4c4629
alias: Office - SW
description: ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant