Open turboPasqual opened 4 months ago
I just yesterday switched from “govee LAN control” to govee2mqtt and am also experiencing this problem with my h6061 as of that transition.
Mine is now flashing blue every now and then when it's on. I also have the H6061
Govee Device SKU
H6061
Govee2MQTT Version
2024.07.13-82ddc6e9
Describe the issue
I have an issue after switching from Govee LAN control to this addon. I have the Glide Hexa "H6061" and when it is switched off it flashes every minute for a fraction of a second. I have used Govee LAN control for a few months and never had this issue. In the past I just noticed a short flash when the addon was restarted. Now it flashes every minute.
I think the same issue had already got reported here: https://github.com/wez/govee2mqtt/issues/45 But because in my case it was working with the other addon I don't think it is a problem with the device but rather with the addon.
In the state of "sensor.glide_hexa_status" I can see that the device sends it's status every minute over LAN and at that moment the light flashes:
For me it looks like the brightness gets set first. At that moment the light turns on for a short moment because brightness ist set to "20". After that "'on': false" gets interpreted and the light gets turned off again. But I am just guessing. So far I did not look into the source code.
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_EMAIL=REDACTED GOVEE_PASSWORD=REDACTED GOVEE_MQTT_PASSWORD=REDACTED GOVEE_MQTT_USER=addons GOVEE_MQTT_PORT=1883 ++ cd /app ++ exec /app/govee serve [2024-07-26T13:27:49 INFO govee::commands::serve] Starting service. version 2024.07.13-82ddc6e9 [2024-07-26T13:27:49 INFO govee::commands::serve] Querying platform API for device list [2024-07-26T13:27:52 INFO govee::commands::serve] Querying undocumented API for device + room list [2024-07-26T13:27:53 INFO govee::service::iot] Connected to IoT: CONNACK code 0: Connection Accepted. [2024-07-26T13:27:53 INFO govee::commands::serve] Starting LAN discovery [2024-07-26T13:27:53 INFO govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted. [2024-07-26T13:27:53 INFO govee::commands::serve] Waiting 10 seconds for LAN API discovery [2024-07-26T13:28:03 INFO govee::commands::serve] Devices returned from Govee's APIs [2024-07-26T13:28:03 INFO govee::commands::serve] Glide Hexa (2D:9E:D1:32:39:36:53:44 H6061) [2024-07-26T13:28:03 INFO govee::commands::serve] LAN API: ip=192.168.178.131 [2024-07-26T13:28:03 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true [2024-07-26T13:28:03 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=Some(0..21) [2024-07-26T13:28:03 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false [2024-07-26T13:28:03 INFO govee::commands::serve] Quirk { sku: "H6061", icon: "mdi:hexagon-multiple", 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-26T13:28:03 INFO govee::commands::serve] [2024-07-26T13:28:03 INFO govee::service::http] http server addr is 0.0.0.0:8056 [2024-07-26T13:28:26 INFO govee::service::hass] Wait 290ms for hass to settle on 29 entity configs [2024-07-26T13:28:27 INFO govee::service::hass] MQTT connected with status=CONNACK code 0: Connection Accepted.
Additional Logs
No response
Home Assistant Logs
No response
Anything else?
No response