hyperion-project / hyperion.ng

The successor to Hyperion aka Hyperion Next Generation
https://hyperion-project.org/
MIT License
3.11k stars 384 forks source link

WLED on macOS bug #1104

Closed Zarkstar closed 3 years ago

Zarkstar commented 3 years ago

Bug report

Hyperion with wled works as expected on windows, but on Mac it flashes the default WLED color every once in a while. I suppose this is due to home assistant trying to take control on the device, but I was expecting it to behave like in W10, where home assistant can't override WLED UDP unless stated. EDIT: I've stopped home assistant and ran several test. The problem seems to be unrelated as it continues even after stopping home assistant. I guess there is something in Hyperion for MacOS that just pauses the connection with WLED, which return to its normal state after a while

Steps to reproduce

Configure instance with wled on Hyperion Mac. Run until the problem manifests

What is expected?

Hyperion grabber continuing to work as normal, as the same setup do on windows

What is actually happening?

WLED changes to a solid color and it takes a while to go back at normal activity and sometimes it just goes black. Console output after the error:

2020-12-02T15:52:18.951 hyperiond HYPERION : PriorityMuxer.cpp:251:setInputImage() | Priority 250 is now inactive 2020-12-02T15:52:18.951 hyperiond HYPERION : PriorityMuxer.cpp:351:setCurrentTime() | Set visible priority to 255 2020-12-02T15:52:18.952 hyperiond HYPERION : Hyperion.cpp:559:handlePriorityChangedLedDevice() | priority[255], previousPriority[250] 2020-12-02T15:52:18.952 hyperiond HYPERION : Hyperion.cpp:562:handlePriorityChangedLedDevice() | No source left -> switch LED-Device off 2020-12-02T15:52:18.958 hyperiond LEDDEVICE : ProviderRestApi.cpp:179:getResponse() | Previous line repeats 1 times 2020-12-02T15:52:18.959 hyperiond LEDDEVICE : LedDeviceWled.cpp:150:powerOff() | 2020-12-02T15:52:18.959 hyperiond LEDDEVICE : ProviderRestApi.cpp:150:put() | PUT: [http://192.168.0.42/json/state] [{"on":false}] 2020-12-02T15:52:18.983 hyperiond HYPERION : PriorityMuxer.cpp:251:setInputImage() | Priority 250 is now active 2020-12-02T15:52:18.983 hyperiond HYPERION : PriorityMuxer.cpp:351:setCurrentTime() | Set visible priority to 250 2020-12-02T15:52:18.983 hyperiond HYPERION : Hyperion.cpp:559:handlePriorityChangedLedDevice() | priority[250], previousPriority[255] 2020-12-02T15:52:18.984 hyperiond HYPERION : Hyperion.cpp:569:handlePriorityChangedLedDevice() | new source available -> switch LED-Device on 2020-12-02T15:52:18.984 hyperiond LEDDEVICE : LedDeviceWled.cpp:132:powerOn() | 2020-12-02T15:52:18.984 hyperiond LEDDEVICE : ProviderRestApi.cpp:150:put() | PUT: [http://192.168.0.42/json/state] [{"on":true}] 2020-12-02T15:52:19.094 hyperiond LEDDEVICE : ProviderRestApi.cpp:179:getResponse() | Reply.httpStatusCode [200]

System

Hyperion Server:

Hyperion Server OS:

SmartHbdev commented 3 years ago

Same bug for me with latest alpha 9 i just have compiled. It works fine maybe 1 minute and colors no more match on a video test. A sort of lag. Colors just stay in previous state, no more move, shut down some seconds and restart fine. All this in a loop of 1-2 minutes or less.

It works fine with windows 10.

My setup is: Arduino nano baud rate 500000, Sk9822, macos big sur, 4k screen

Let me know if i can help with some logs (i don't know where to look).

Edit: i have switch from usb3 to usb2 and it works fine now

Lord-Grey commented 3 years ago

Can you re-test with alpha10 and report back please, if the issue is still present?

Lord-Grey commented 3 years ago

Closing, as no feedback provided. Can be reopened, if needed.

Rushtones commented 1 year ago

Hey ich habe ein ähnliches Problem bei der Verbindung von Mac, Hyperion und wled. Hier kommt es ca. 2x in der Minute zum Signal Verlust. Unter Windows läuft es.