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

Lights discovered but controls don't work #340

Open
tescophil opened this issue Dec 22, 2024 · 4 comments
Open

Lights discovered but controls don't work #340

tescophil opened this issue Dec 22, 2024 · 4 comments

Comments

@tescophil
Copy link

Govee Device SKU

H6159

Govee2MQTT Version

2024.07.13-82ddc6e9

Describe the issue

Lights are detected no problem, but when turned ON, nothing happens and the logs show no errors. If I use the govee app to turn the lights on/off then the status is updated correctly in home assistant.

Previous this had been working, but don't know exactly when it stopped...

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.20.90,192.168.20.135
GOVEE_EMAIL=REDACTED
GOVEE_PASSWORD=REDACTED
GOVEE_MQTT_PASSWORD=REDACTED
GOVEE_MQTT_USER=addons
GOVEE_LAN_NO_MULTICAST=true
GOVEE_MQTT_PORT=1883
++ cd /app
++ exec /app/govee serve
[2024-12-22T21:20:44 INFO govee::commands::serve] Starting service. version 2024.07.13-82ddc6e9
[2024-12-22T21:20:44 INFO govee::commands::serve] Querying platform API for device list
[2024-12-22T21:20:45 INFO govee::commands::serve] Querying undocumented API for device + room list
[2024-12-22T21:20:46 INFO govee::service::iot] Connected to IoT: CONNACK code 0: Connection Accepted.
[2024-12-22T21:20:46 INFO govee::commands::serve] Starting LAN discovery
[2024-12-22T21:20:46 INFO govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted.
[2024-12-22T21:20:46 INFO govee::commands::serve] Waiting 10 seconds for LAN API discovery
[2024-12-22T21:20:56 INFO govee::commands::serve] Devices returned from Govee's APIs
[2024-12-22T21:20:56 INFO govee::commands::serve] Summer House Fairy 1 (CD:FE:A4:C1:38:DF:87:5F H6159)
[2024-12-22T21:20:56 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-12-22T21:20:56 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=None
[2024-12-22T21:20:56 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false
[2024-12-22T21:20:56 INFO govee::commands::serve] Quirk { sku: "H6159", 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 }
[2024-12-22T21:20:56 WARN govee::commands::serve] This device should be available via the LAN API, but didn't respond to probing yet. Possible causes:
[2024-12-22T21:20:56 WARN govee::commands::serve] 1) LAN API needs to be enabled in the Govee Home App.
[2024-12-22T21:20:56 WARN govee::commands::serve] 2) The device is offline.
[2024-12-22T21:20:56 WARN govee::commands::serve] 3) A network configuration issue is preventing communication.
[2024-12-22T21:20:56 WARN govee::commands::serve] 4) The device needs a firmware update before it can enable LAN API.
[2024-12-22T21:20:56 WARN govee::commands::serve] 5) The hardware version of the device is too old to enable the LAN API.
[2024-12-22T21:20:56 INFO govee::commands::serve]
[2024-12-22T21:20:56 INFO govee::commands::serve] Summer House Fairy 2 (AD:0F:A4:C1:38:00:9B:85 H6159)
[2024-12-22T21:20:56 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-12-22T21:20:56 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=None
[2024-12-22T21:20:56 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false
[2024-12-22T21:20:56 INFO govee::commands::serve] Quirk { sku: "H6159", 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 }
[2024-12-22T21:20:56 WARN govee::commands::serve] This device should be available via the LAN API, but didn't respond to probing yet. Possible causes:
[2024-12-22T21:20:56 WARN govee::commands::serve] 1) LAN API needs to be enabled in the Govee Home App.
[2024-12-22T21:20:56 WARN govee::commands::serve] 2) The device is offline.
[2024-12-22T21:20:56 WARN govee::commands::serve] 3) A network configuration issue is preventing communication.
[2024-12-22T21:20:56 WARN govee::commands::serve] 4) The device needs a firmware update before it can enable LAN API.
[2024-12-22T21:20:56 WARN govee::commands::serve] 5) The hardware version of the device is too old to enable the LAN API.
[2024-12-22T21:20:56 INFO govee::commands::serve]
[2024-12-22T21:20:57 INFO govee::service::http] http server addr is 0.0.0.0:8056
[2024-12-22T21:21:16 INFO govee::service::state] requesting update via IoT MQTT Summer House Fairy 1 (CD:FE:A4:C1:38:DF:87:5F H6159) None
[2024-12-22T21:21:16 INFO govee::service::state] requesting update via IoT MQTT Summer House Fairy 2 (AD:0F:A4:C1:38:00:9B:85 H6159) None
[2024-12-22T21:21:19 INFO govee::service::hass] Wait 100ms for hass to settle on 10 entity configs
[2024-12-22T21:21:19 INFO govee::service::hass] MQTT connected with status=CONNACK code 0: Connection Accepted.
[2024-12-22T21:21:21 INFO govee::service::hass] Command for Summer House Fairy 1 (CD:FE:A4:C1:38:DF:87:5F H6159): {"state":"ON"}
[2024-12-22T21:21:21 INFO govee::service::state] Using IoT API to set Summer House Fairy 1 (CD:FE:A4:C1:38:DF:87:5F H6159) light power state
[2024-12-22T21:21:21 INFO govee::service::hass] Command for Summer House Fairy 2 (AD:0F:A4:C1:38:00:9B:85 H6159): {"state":"ON"}
[2024-12-22T21:21:21 INFO govee::service::state] Using IoT API to set Summer House Fairy 2 (AD:0F:A4:C1:38:00:9B:85 H6159) light power state

Additional Logs

Turning OFF when the have been turned on via the govee app also does not work

[2024-12-22T21:32:41 INFO govee::service::hass] Command for Summer House Fairy 1 (CD:FE:A4:C1:38:DF:87:5F H6159): {"state":"OFF"} [2024-12-22T21:32:41 INFO govee::service::state] Using IoT API to set Summer House Fairy 1 (CD:FE:A4:C1:38:DF:87:5F H6159) light power state [2024-12-22T21:32:41 INFO govee::service::hass] Command for Summer House Fairy 2 (AD:0F:A4:C1:38:00:9B:85 H6159): {"state":"OFF"} [2024-12-22T21:32:41 INFO govee::service::state] Using IoT API to set Summer House Fairy 2 (AD:0F:A4:C1:38:00:9B:85 H6159) light power state

Home Assistant Logs

No response

Anything else?

No response

@ymehenni
Copy link

Same issue

@konradwalsh
Copy link

Im just confirming I have same issue

@weezzer008
Copy link

Confirming I have this same issue with my light strip H6159. The entity picks up the status of the light including whether it is on or off and what color it is, but I cannot actually control it. It's as if it has read only permission

@mealilo
Copy link

mealilo commented Jan 20, 2025

Same Issue here on H6022. Can read state correctly, and I can click change color or turn on, but it quickly reverts back to where it was after about 3-4 seconds, as if it's read only.

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

5 participants