wez/govee2mqtt

Slow response / Time out

Opened this issue · 0 comments

Govee Device SKU

H6059 / H605C

Govee2MQTT Version

2024.04.29-30cf7732

Describe the issue

Hi, On my setup I have multiple network interfaces on HA so i had to drop govee addon and switch to goove2mqtt.

I have two devices H6059 and H605C, the get discovered and works as expected but it's kind of lagging, both devices react after 2-3-4-5 seconds after an action (turn on/off)

On H6059 i get the following error log sometimes:

[2024-05-16T10:42:40 ERROR govee::service::hass] While dispatching Message { topic: "gv2mqtt/light/9905D43932351B4D/command", payload: "{\"state\":\"ON\"}", qos: AtMostOnce, retain: false, mid: 0 }: mqtt_light_command: state.device_power_on: timed out waiting for status

I can say for sure that this is not an mqtt issue since i have multiple devices connected on mqtt and monitor their status and no lag/time out there, so it has to do something with the addon.

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=192.168.30.3
GOVEE_TEMPERATURE_SCALE=C
GOVEE_EMAIL=REDACTED
GOVEE_PASSWORD=REDACTED
GOVEE_LAN_BROADCAST_ALL=true
GOVEE_MQTT_PORT=1883
++ cd /app
++ exec /app/govee serve
[2024-05-16T10:54:03 INFO govee::commands::serve] Starting service. version 2024.04.29-30cf7732
[2024-05-16T10:54:03 INFO govee::commands::serve] Querying platform API for device list
[2024-05-16T10:54:04 INFO govee::commands::serve] Querying undocumented API for device + room list
[2024-05-16T10:54:05 INFO govee::service::iot] Connected to IoT: CONNACK code 0: Connection Accepted.
[2024-05-16T10:54:05 INFO govee::commands::serve] Starting LAN discovery
[2024-05-16T10:54:05 INFO govee::commands::serve] Waiting 10 seconds for LAN API discovery
[2024-05-16T10:54:05 INFO govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted.
[2024-05-16T10:54:15 INFO govee::commands::serve] Devices returned from Govee's APIs
[2024-05-16T10:54:15 INFO govee::commands::serve] RGBIC TV Backlight (88:8B:C1:35:34:32:5F:58 H605C)
[2024-05-16T10:54:15 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-05-16T10:54:15 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=Some(0..15)
[2024-05-16T10:54:15 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false
[2024-05-16T10:54:15 INFO govee::commands::serve]
[2024-05-16T10:54:15 INFO govee::commands::serve] Lumini Copii (99:05:D4:39:32:35:1B:4D H6059)
[2024-05-16T10:54:15 INFO govee::commands::serve] LAN API: ip=192.168.20.186
[2024-05-16T10:54:15 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-05-16T10:54:15 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=None
[2024-05-16T10:54:15 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false
[2024-05-16T10:54:15 INFO govee::commands::serve] Quirk { sku: "H6059", icon: "mdi:lightbulb-night", 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-05-16T10:54:15 INFO govee::commands::serve]
[2024-05-16T10:54:15 INFO govee::service::http] http server addr is 0.0.0.0:8056
[2024-05-16T10:54:23 INFO govee::service::hass] Wait 1.35s for hass to settle on 27 entity configs
[2024-05-16T10:54:25 INFO govee::service::hass] MQTT connected with status=CONNACK code 0: Connection Accepted.
[2024-05-16T10:54:35 INFO govee::service::state] requesting update via Platform API RGBIC TV Backlight (88:8B:C1:35:34:32:5F:58 H605C) None

Additional Logs

No response

Home Assistant Logs

No response

Anything else?

No response