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

Effects Not Working On H6840 Cone Tree Lights #321

Closed
qwerty2582 opened this issue Dec 3, 2024 · 5 comments
Closed

Effects Not Working On H6840 Cone Tree Lights #321

qwerty2582 opened this issue Dec 3, 2024 · 5 comments

Comments

@qwerty2582
Copy link

Govee Device SKU

H6840

Govee2MQTT Version

2024.07.13-82ddc6e9

Describe the issue

I finally got Govee2mqtt working with my Curtain Lights (H70B3) and built the scenes to trigger this as well as my Cone Tree Lights (H6840). My curtain lights take the commands just fine, my cone tree lights look like they accept the commands via the Platform API, but the design never changes on the cone tree lights. It does appear to be accepting a power on command because the lights turn off and back on when the scene changes, but it never gets the effect change.

Startup Diagnostics

s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
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=F
GOVEE_EMAIL=REDACTED
GOVEE_PASSWORD=REDACTED
GOVEE_MQTT_PASSWORD=REDACTED
GOVEE_MQTT_USER=addons
++ cd /app
GOVEE_MQTT_PORT=1883
++ exec /app/govee serve
[2024-12-02T19:14:24 INFO govee::commands::serve] Starting service. version 2024.07.13-82ddc6e9
[2024-12-02T19:14:24 INFO govee::commands::serve] Querying platform API for device list
[2024-12-02T19:14:24 INFO govee::commands::serve] Querying undocumented API for device + room list
[2024-12-02T19:14:25 INFO govee::service::iot] Connected to IoT: CONNACK code 0: Connection Accepted.
[2024-12-02T19:14:25 INFO govee::commands::serve] Starting LAN discovery
[2024-12-02T19:14:25 INFO govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted.
[2024-12-02T19:14:25 INFO govee::commands::serve] Waiting 10 seconds for LAN API discovery
[2024-12-02T19:14:35 INFO govee::commands::serve] Devices returned from Govee's APIs
[2024-12-02T19:14:35 INFO govee::commands::serve] Cone Tree Lights (D5:11:C8:09:AE:19:53:9E H6840)
[2024-12-02T19:14:35 INFO govee::commands::serve] LAN API: ip=192.168.11.128
[2024-12-02T19:14:35 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-12-02T19:14:35 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=None
[2024-12-02T19:14:35 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false
[2024-12-02T19:14:35 INFO govee::commands::serve] Quirk { sku: "H6840", 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-02T19:14:35 INFO govee::commands::serve]
[2024-12-02T19:14:35 INFO govee::commands::serve] Curtain Lights (0C:29:C5:75:2E:0E:55:87 H70B3)
[2024-12-02T19:14:35 INFO govee::commands::serve] LAN API: ip=192.168.11.129
[2024-12-02T19:14:35 INFO govee::commands::serve] Platform API: devices.types.light. supports_rgb=true supports_brightness=true
[2024-12-02T19:14:35 INFO govee::commands::serve] color_temp=Some((2000, 9000)) segment_rgb=None
[2024-12-02T19:14:35 INFO govee::commands::serve] Undoc: room=None supports_iot=true ble_only=false
[2024-12-02T19:14:35 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-02T19:14:35 INFO govee::commands::serve]
[2024-12-02T19:14:35 INFO govee::service::http] http server addr is 0.0.0.0:8056
[2024-12-02T19:14:57 INFO govee::service::hass] Wait 120ms for hass to settle on 12 entity configs
[2024-12-02T19:14:57 INFO govee::service::hass] MQTT connected with status=CONNACK code 0: Connection Accepted.

Additional Logs

[2024-12-02T19:00:00 INFO govee::service::hass] Command for Cone Tree Lights (D5:11:C8:09:AE:19:53:9E H6840): {"state":"ON","color":{"r":127,"g":172,"b":255},"brightness":100,"effect":"Christmas Stocking"}
[2024-12-02T19:00:00 INFO govee::service::state] Using LAN API to set Cone Tree Lights (D5:11:C8:09:AE:19:53:9E H6840) brightness
[2024-12-02T19:00:00 INFO govee::service::hass] Command for Curtain Lights (0C:29:C5:75:2E:0E:55:87 H70B3): {"state":"ON","brightness":100,"color_temp":500,"effect":"Christmas Stocking"}
[2024-12-02T19:00:00 INFO govee::service::state] Using LAN API to set Curtain Lights (0C:29:C5:75:2E:0E:55:87 H70B3) brightness
[2024-12-02T19:00:05 INFO govee::service::state] Using Platform API to set Curtain Lights (0C:29:C5:75:2E:0E:55:87 H70B3) to scene Christmas Stocking
[2024-12-02T19:00:05 INFO govee::service::state] Using Platform API to set Cone Tree Lights (D5:11:C8:09:AE:19:53:9E H6840) to scene Christmas Stocking
[2024-12-02T19:00:06 INFO govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: DynamicScene, instance: "lightScene", value: Object {"id": Number(10319), "paramId": Number(17189)}, state: Object {"status": String("success")} } }
[2024-12-02T19:00:07 INFO govee::platform_api] control_device result: ControlDeviceResponse { request_id: "uuid", code: 200, message: "success", capability: ControlDeviceResponseCapability { kind: DynamicScene, instance: "lightScene", value: Object {"id": Number(13720), "paramId": Number(22367)}, state: Object {"status": String("success")} } }

Home Assistant Logs

No response

Anything else?

No response

@qwerty2582
Copy link
Author

... and now they work fine. It didn't work for like 3 days when I initially set it up, but now it's working reliably. Guess I just needed to wait a few days for things to catch up?

@turboc1208
Copy link

ok, mine aren't working and they have been plugged in running every night for about a week. Just like you said, on/off works, but anything sent by the effects parameter seems to be ignored.

@turboc1208
Copy link

turboc1208 commented Dec 15, 2024

it doesn't even work in HA. Sorry didn't mention earlier that it wasn't working through node red. But it's not working in HA either.

@wez
Copy link
Owner

wez commented Dec 31, 2024

Try the latest release? There's been a recent breakthrough in reverse engineering applying scenes via the LAN API

Copy link

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants