Skip to content

Delay Status Update for H61F2 #337

Open
@luisiam

Description

Govee Device SKU

H61F2

Govee2MQTT Version

2024.07.13-82ddc6e9

Describe the issue

When I am trying to turn on the LED strip via Home Assistant action, there is a 10-15s delay before the state of the LED strip in Home Assistant gets updated. That break my automation based on the state of the LED strip because all the automations will get 10-15s of delay. However, the delay only happens when I call the light.turn_on action with extra parameters e.g. brightness, kelvin, etc. If I just call a plain light.turn_on action without any parameters, the state of the LED strip gets updated pretty much instantly. There is also no delay for light.turn_off action. I guess that's because it's a plain action without any parameters.

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=core-mosquitto
GOVEE_TEMPERATURE_SCALE=C
GOVEE_LAN_SCAN=192.168.2.255
GOVEE_MQTT_PASSWORD=REDACTED
GOVEE_LAN_BROADCAST_ALL=false
GOVEE_MQTT_USER=addons
GOVEE_MQTT_PORT=1883
++ cd /app
++ exec /app/govee serve
[2024-12-13T20:29:47 INFO govee::commands::serve] Starting service. version 2024.07.13-82ddc6e9
[2024-12-13T20:29:47 INFO govee::commands::serve] Querying platform API for device list
[2024-12-13T20:29:47 INFO govee::commands::serve] Starting LAN discovery
[2024-12-13T20:29:47 INFO govee::commands::serve] Waiting 10 seconds for LAN API discovery
[2024-12-13T20:29:57 INFO govee::commands::serve] Devices returned from Govee's APIs
[2024-12-13T20:29:57 INFO govee::commands::serve] Bedroom Strip (77:4D:C5:75:1D:EC:9D:3A H61F5)
[2024-12-13T20:29:57 INFO govee::commands::serve] LAN API: ip=192.168.2.55
[2024-12-13T20:29:57 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-12-13T20:29:57 INFO govee::commands::serve] color_temp=Some((2700, 6500)) segment_rgb=Some(0..10)
[2024-12-13T20:29:57 INFO govee::commands::serve] Quirk { sku: "H61F5", 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 }
[2024-12-13T20:29:57 INFO govee::commands::serve]
[2024-12-13T20:29:57 INFO govee::commands::serve] Living Room Strip (59:D1:C6:75:6E:0E:A5:2B H61F2)
[2024-12-13T20:29:57 INFO govee::commands::serve] LAN API: ip=192.168.2.54
[2024-12-13T20:29:57 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-12-13T20:29:57 INFO govee::commands::serve] color_temp=Some((2700, 6500)) segment_rgb=Some(0..4)
[2024-12-13T20:29:57 INFO govee::commands::serve] Quirk { sku: "H61F2", 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 }
[2024-12-13T20:29:57 INFO govee::commands::serve]
[2024-12-13T20:29:57 INFO govee::commands::serve] Living Room Curtain (11:22:C6:75:7E:0E:7E:3A H70B3)
[2024-12-13T20:29:57 INFO govee::commands::serve] LAN API: ip=192.168.2.58
[2024-12-13T20:29:57 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-12-13T20:29:57 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=None
[2024-12-13T20:29:57 INFO govee::commands::serve] Quirk { sku: "H70B3", 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 }
[2024-12-13T20:29:57 INFO govee::commands::serve]
[2024-12-13T20:29:57 INFO govee::commands::serve] Kitchen Strip 2 (B7:1B:C7:01:76:1B:9B:39 H61F2)
[2024-12-13T20:29:57 INFO govee::commands::serve] LAN API: ip=192.168.2.53
[2024-12-13T20:29:57 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-12-13T20:29:57 INFO govee::commands::serve] color_temp=Some((2700, 6500)) segment_rgb=Some(0..4)
[2024-12-13T20:29:57 INFO govee::commands::serve] Quirk { sku: "H61F2", 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 }
[2024-12-13T20:29:57 INFO govee::commands::serve]
[2024-12-13T20:29:57 INFO govee::commands::serve] Family Room Strip (70:1A:C6:75:66:0E:9D:6F H61F2)
[2024-12-13T20:29:57 INFO govee::commands::serve] LAN API: ip=192.168.2.51
[2024-12-13T20:29:57 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-12-13T20:29:57 INFO govee::commands::serve] color_temp=Some((2700, 6500)) segment_rgb=Some(0..4)
[2024-12-13T20:29:57 INFO govee::commands::serve] Quirk { sku: "H61F2", 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 }
[2024-12-13T20:29:57 INFO govee::commands::serve]
[2024-12-13T20:29:57 INFO govee::commands::serve] Kitchen Strip 1 (A0:6E:C7:01:66:1B:65:24 H61F2)
[2024-12-13T20:29:57 INFO govee::commands::serve] LAN API: ip=192.168.2.52
[2024-12-13T20:29:57 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-12-13T20:29:57 INFO govee::commands::serve] color_temp=Some((2700, 6500)) segment_rgb=Some(0..4)
[2024-12-13T20:29:57 INFO govee::commands::serve] Quirk { sku: "H61F2", 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 }
[2024-12-13T20:29:57 INFO govee::commands::serve]
[2024-12-13T20:29:57 INFO govee::commands::serve] Dining Room Strip (84:2C:C6:75:6E:0E:42:5A H61F2)
[2024-12-13T20:29:57 INFO govee::commands::serve] LAN API: ip=192.168.2.50
[2024-12-13T20:29:57 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-12-13T20:29:57 INFO govee::commands::serve] color_temp=Some((2700, 6500)) segment_rgb=Some(0..4)
[2024-12-13T20:29:57 INFO govee::commands::serve] Quirk { sku: "H61F2", 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 }
[2024-12-13T20:29:57 INFO govee::commands::serve]
[2024-12-13T20:29:58 INFO govee::service::http] http server addr is 0.0.0.0:8056

Additional Logs

No response

Home Assistant Logs

No response

Anything else?

No response

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions