wez / govee2mqtt

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

H6110 color control not working #157

Open k1dl0tus opened 8 months ago

k1dl0tus commented 8 months ago

Govee Device SKU

H6110

Govee2MQTT Version

2024.01.24-ea3cd430

Describe the issue

New installation. Using just API key and local MQTT broker. I am able to turn off/on the device and adjust the brightness, but color control is not working. If I try to send a color change, it registers in the logs as successful, but the color doesn't change, then shows polls at the same color it was before I made the attempt:

[2024-03-25T12:56:09 INFO govee::service::hass] Command for OFFICE-LEDS (REDACTED H6110): {"state":"ON","color":{"r":127,"g":172,"b":255}} [2024-03-25T12:56:09 INFO govee::service::state] Using Platform API to set OFFICE-LEDS (REDACTED H6110) color [2024-03-25T12:56:11 INFO govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: ColorSetting, instance: "colorRgb", value: Number(8367359), state: Object {"status": String("success")} } } [2024-03-25T12:56:16 INFO govee::service::state] Polling OFFICE-LEDS (REDACTED H6110) to get latest state after control [2024-03-25T12:56:16 INFO govee::service::state] requesting update via Platform API OFFICE-LEDS (REDACTED H6110) Some(DeviceState { on: true, light_on: Some(true), online: Some(true), kelvin: 0, color: DeviceColor { r: 255, g: 0, b: 0 }, brightness: 254, scene: None, source: "PLATFORM API", updated: 2024-03-25T18:55:11.864069052Z })

Startup Diagnostics

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=REDACTED GOVEE_TEMPERATURE_SCALE=C GOVEE_MQTT_PASSWORD=REDACTED GOVEE_MQTT_USER=REDACTED GOVEE_MQTT_PORT=1883 ++ cd /app ++ exec /app/govee serve [2024-03-25T13:05:53 INFO govee::commands::serve] Starting service. version 2024.01.24-ea3cd430 [2024-03-25T13:05:53 INFO govee::commands::serve] Querying platform API for device list [2024-03-25T13:05:53 INFO govee::commands::serve] Starting LAN discovery [2024-03-25T13:05:53 INFO govee::commands::serve] Waiting 10 seconds for LAN API discovery [2024-03-25T13:06:03 INFO govee::commands::serve] Devices returned from Govee's APIs [2024-03-25T13:06:03 INFO govee::commands::serve] OFFICE-LEDS (REDACTED H6110) [2024-03-25T13:06:03 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true [2024-03-25T13:06:03 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=None [2024-03-25T13:06:03 INFO govee::commands::serve] [2024-03-25T13:06:03 INFO govee::service::http] http server addr is REDACTED:8056 [2024-03-25T13:06:08 INFO govee::service::hass] Wait 300ms for hass to settle on 6 entity configs [2024-03-25T13:06:09 INFO govee::service::hass] MQTT connected with status=CONNACK code 0: Connection Accepted. [2024-03-25T13:06:23 INFO govee::service::state] requesting update via Platform API OFFICE-LEDS (REDACTED H6110) None

Additional Logs

mqtt-OFFICE-LEDS-.json

Home Assistant Logs

No response

Anything else?

All potential PII has been REDACTED

chloehassall27 commented 8 months ago

This is related: https://github.com/wez/govee2mqtt/issues/152