Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

HA turn off doesn't work on all instances of wled #30

Open
Nicko33127 opened this issue Nov 21, 2024 · 0 comments
Open

HA turn off doesn't work on all instances of wled #30

Nicko33127 opened this issue Nov 21, 2024 · 0 comments

Comments

@Nicko33127
Copy link

Hi,

Thank you very much for the very hard work, this addon is amazing.

I am not sure if there is an issue or it's more likely a User error made on my end.

I run Hyperhdr on my windows 10 pc and this pc also run my home assistant on a virtual machine. On hyperhdr I have 4 instances:
-Cabinet for the light strip under the TV
-Guitar for the light strip above my guitars on the left of the TV
-Sofa for the strip behind the sofa
-Books for the light strips on the right side of the TV

Tv is an Philips lamplights so no need for leds here. All 4 light strips are with wled, on esp8266 and esp32.

I made a helper in HA to turn off all 4 hyperhdr lights. The issue I a having is that the light do turn off and not longer match the TV content, but two of them are not manageable via wled as there are still linked to hyperhdr.

If HA hyperhdr helper is on I can see all wled are live:
Screenshot 2024-11-21 194753

If now I turn off all led switches via the helper, all the lights no longer macth the tv content but two of them stay connected:
Screenshot 2024-11-21 194811

When I go into the page I see this:

Screenshot 2024-11-21 194840

I made sure that all settings are the same on both wled and hyperhdr settings, but cannot figure how to have this setup.

I just want to have a button in HA to turn all 4 strips on, but I want a button to turn hyperhdr off.

Any idea on what I should check/do?

2024-11-21T20:04:14.177Z [LEDDEVICE1_WLED] (LedDevice.cpp:381) Stopping refresh timer
2024-11-21T20:04:14.177Z [LEDDEVICE1_WLED] (LedDevice.cpp:90) Switch off
2024-11-21T20:04:14.177Z [LEDDEVICE1_WLED] (LedDeviceWled.cpp:200)
2024-11-21T20:04:14.177Z [LEDDEVICE1_WLED] (LedDevice.cpp:544) Set LED strip to black/power off
2024-11-21T20:04:14.177Z [LEDDEVICE] (ProviderRestApi.cpp:174) PUT begin: [http://192.168.68.131:80/json/state] [{"bri":128,"live":false,"lor":0,"mainseg":0,"nl":{"dur":60,"mode":1,"on":false,"rem":-1,"tbri":0},"on":true,"pl":-1,"ps":-1,"seg":[{"bri":255,"c1":128,"c2":128,"c3":16,"cct":127,"col":[[250,255,201,0],[0,0,0,0],[0,0,0,0]],"frz":false,"fx":0,"grp":1,"id":0,"ix":128,"len":199,"m12":0,"mi":false,"o1":false,"o2":false,"o3":false,"of":0,"on":true,"pal":0,"rev":false,"sel":true,"set":0,"si":0,"spc":0,"start":0,"stop":199,"sx":128}],"transition":7,"udpn":{"recv":true,"rgrp":128,"send":false,"sgrp":128}}]
2024-11-21T20:04:14.180Z [SMOOTHING0] Using alternative smoothing input (0)
2024-11-21T20:04:14.180Z [SMOOTHING3] Using alternative smoothing input (0)
2024-11-21T20:04:14.181Z [SMOOTHING2] Using alternative smoothing input (0)
2024-11-21T20:04:14.182Z [SMOOTHING1] Using alternative smoothing input (0)
2024-11-21T20:04:14.223Z [LEDDEVICE] (ProviderRestApi.cpp:198) PUT end (49 ms): [http://192.168.68.143:80/json/state] [{"bri":255,"live":false,"lor":0,"mainseg":0,"nl":{"dur":60,"mode":1,"on":false,"rem":-1,"tbri":0},"on":true,"pl":-1,"ps":-1,"seg":[{"bri":255,"c1":128,"c2":128,"c3":16,"cct":127,"col":[[255,255,255,0],[0,0,0,0],[0,0,0,0]],"frz":false,"fx":0,"grp":1,"id":0,"ix":128,"len":64,"m12":0,"mi":false,"o1":false,"o2":false,"o3":false,"of":0,"on":true,"pal":0,"rev":false,"sel":true,"set":0,"si":0,"spc":0,"start":0,"stop":64,"sx":128}],"transition":7,"udpn":{"recv":true,"rgrp":128,"send":false,"sgrp":128}}]
2024-11-21T20:04:14.223Z [LEDDEVICE] (ProviderRestApi.cpp:203) Reply OK [200]
2024-11-21T20:04:14.223Z [COMPONENTCTRL3] LED device: disabled
2024-11-21T20:04:14.226Z [LEDDEVICE] (ProviderRestApi.cpp:198) PUT end (51 ms): [http://192.168.68.136:80/json/state] [{"bri":255,"live":false,"lor":0,"mainseg":0,"nl":{"dur":60,"mode":1,"on":false,"rem":-1,"tbri":0},"on":true,"pl":-1,"ps":-1,"seg":[{"bri":255,"c1":128,"c2":128,"c3":16,"cct":127,"col":[[166,166,158,0],[0,0,0,0],[0,0,0,0]],"frz":false,"fx":0,"grp":1,"id":0,"ix":128,"len":500,"m12":0,"mi":false,"o1":false,"o2":false,"o3":false,"of":0,"on":true,"pal":0,"rev":false,"sel":true,"set":0,"si":0,"spc":0,"start":0,"stop":500,"sx":128}],"transition":7,"udpn":{"recv":true,"rgrp":128,"send":false,"sgrp":128}}]
2024-11-21T20:04:14.226Z [LEDDEVICE] (ProviderRestApi.cpp:203) Reply OK [200]
2024-11-21T20:04:14.227Z [COMPONENTCTRL2] LED device: disabled
2024-11-21T20:04:14.237Z [LEDDEVICE] (ProviderRestApi.cpp:198) PUT end (61 ms): [http://192.168.68.144:80/json/state] [{"bri":128,"live":false,"lor":0,"mainseg":0,"nl":{"dur":60,"mode":1,"on":false,"rem":-1,"tbri":0},"on":true,"pl":-1,"ps":-1,"seg":[{"bri":255,"c1":128,"c2":128,"c3":16,"cct":127,"col":[[255,245,253,0],[0,0,0,0],[0,0,0,0]],"frz":false,"fx":0,"grp":1,"id":0,"ix":128,"len":74,"m12":0,"mi":false,"o1":false,"o2":false,"o3":false,"of":0,"on":true,"pal":0,"rev":false,"sel":true,"set":0,"si":0,"spc":0,"start":0,"stop":74,"sx":128}],"transition":7,"udpn":{"recv":true,"rgrp":128,"send":false,"sgrp":128}}]
2024-11-21T20:04:14.237Z [LEDDEVICE] (ProviderRestApi.cpp:203) Reply OK [200]
2024-11-21T20:04:14.237Z [COMPONENTCTRL0] LED device: disabled
2024-11-21T20:04:14.330Z [LEDDEVICE] (ProviderRestApi.cpp:198) PUT end (152 ms): [http://192.168.68.131:80/json/state] [{"bri":128,"live":false,"lor":0,"mainseg":0,"nl":{"dur":60,"mode":1,"on":false,"rem":-1,"tbri":0},"on":true,"pl":-1,"ps":-1,"seg":[{"bri":255,"c1":128,"c2":128,"c3":16,"cct":127,"col":[[250,255,201,0],[0,0,0,0],[0,0,0,0]],"frz":false,"fx":0,"grp":1,"id":0,"ix":128,"len":199,"m12":0,"mi":false,"o1":false,"o2":false,"o3":false,"of":0,"on":true,"pal":0,"rev":false,"sel":true,"set":0,"si":0,"spc":0,"start":0,"stop":199,"sx":128}],"transition":7,"udpn":{"recv":true,"rgrp":128,"send":false,"sgrp":128}}]
2024-11-21T20:04:14.330Z [LEDDEVICE] (ProviderRestApi.cpp:203) Reply OK [200]
2024-11-21T20:04:14.330Z [COMPONENTCTRL1] LED device: disabled
2024-11-21T20:04:24.331Z [Media Foundation:auto] LEDs are off and you have enabled the pausing feature for the USB grabber. Pausing the video grabber now.
2024-11-21T20:04:25.086Z [MEDIA_FOUNDATION:AUTO] Stopped
2024-11-21T20:04:25.417Z [MUXER3] Priority 240 is now inactive
2024-11-21T20:04:25.417Z [MUXER3] Set visible priority to 255
2024-11-21T20:04:25.417Z [HYPERHDR3] New priority[255], previous [240]
2024-11-21T20:04:25.417Z [HYPERHDR3] No source left -> switch LED-Device off
2024-11-21T20:04:25.417Z [SMOOTHING3] Clearing queued colors before: disabling
2024-11-21T20:04:25.417Z [SMOOTHING3] Smoothing queue is cleared
2024-11-21T20:04:25.417Z [COLORSPACE_CALIBRATION3] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0
2024-11-21T20:04:25.417Z [LEDDEVICE3_WLED] (LedDevice.cpp:297) Disable the device
2024-11-21T20:04:25.493Z [MUXER2] Priority 240 is now inactive
2024-11-21T20:04:25.493Z [MUXER2] Set visible priority to 255
2024-11-21T20:04:25.493Z [HYPERHDR2] New priority[255], previous [240]
2024-11-21T20:04:25.493Z [HYPERHDR2] No source left -> switch LED-Device off

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant