hyperion-project / hyperion.ng

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

WLED only light up if also adalight is active #1102

Closed YannikW closed 3 years ago

YannikW commented 3 years ago

Bug report

WLED is not working if there isn't a second instance running (in my case adalight). Even the grabber preview doesnt show any picture. If I enable a second instance with adalight, both adalight and WLED works fine. Deleting or disabling the adalight instance also stops wled from working. It does not matter which one is the first instance. Adalight works alone, WLED only in combination with adalight.

Steps to reproduce

Enable only WLED instance --> No grabber picture, no light Enable only adalight instance --> Adalight and grabber preview works fine Enable WLED and adalight instance --> Adalight, WLED and grabber preview works fine

What is expected?

WLED works and grabber shows a picture without second instance enabled.

What is actually happening?

See Steps to reproduce

System

Hyperion Server:

Hyperion Server OS:

Log

2020-11-27T21:51:49.385Z [hyperiond PROTOSERVER] (INFO) Started on port 19445
 2020-11-27T21:51:49.389Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400
 2020-11-27T21:51:49.406Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver
 2020-11-27T21:51:49.411Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver
 2020-11-27T21:51:49.556Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:344:setCurrentTime()) Set visible priority to 0
 2020-11-27T21:51:49.566Z [hyperiond SMOOTHING] (INFO) linear - Time: 0 ms, outputRate 0.000000 Hz, interpolationRate: 25.000000 Hz, timer: 0 ms, Dithering: 1077477376, Decay: 0.000000 -> HalfTime: 0.000000 ms
 2020-11-27T21:51:49.569Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:537:handlePriorityChangedLedDevice()) priority[0], previousPriority[255]
 2020-11-27T21:51:49.572Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:547:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on
 2020-11-27T21:51:49.933Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings
 2020-11-27T21:51:49.941Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig
 2020-11-27T21:51:49.947Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver'
 2020-11-27T21:51:49.950Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings
 2020-11-27T21:51:49.961Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig
 2020-11-27T21:51:50.084Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:175:handleSettingsUpdate()) Setup SSL certificate
 2020-11-27T21:51:50.093Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:191:handleSettingsUpdate()) Setup private SSL key
 2020-11-27T21:51:50.107Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver'
 2020-11-27T21:51:50.328Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:246:setInputImage()) Priority 0 is now active
 2020-11-27T21:51:50.710Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:246:setInputImage()) Priority 240 is now active
 2020-11-27T21:51:51.762Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:246:setInputImage()) Priority 240 is now inactive
 2020-11-27T21:51:52.895Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:308:setCurrentTime()) Timeout clear for priority 0
 2020-11-27T21:51:52.901Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:344:setCurrentTime()) Set visible priority to 0
 2020-11-27T21:51:52.903Z [hyperiond SMOOTHING] (INFO) linear - Time: 0 ms, outputRate 0.000000 Hz, interpolationRate: 60.000000 Hz, timer: 0 ms, Dithering: 1078853632, Decay: 0.000000 -> HalfTime: 0.000000 ms
 2020-11-27T21:51:52.906Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:537:handlePriorityChangedLedDevice()) priority[0], previousPriority[0]
 2020-11-27T21:51:53.115Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.178.23
 2020-11-27T21:51:53.122Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.178.23' switch to Hyperion instance 0
 2020-11-27T21:51:53.145Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:344:setCurrentTime()) Set visible priority to 255
 2020-11-27T21:51:53.155Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:537:handlePriorityChangedLedDevice()) priority[255], previousPriority[0]
 2020-11-27T21:51:53.160Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:540:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off
 2020-11-27T21:51:53.169Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:150:powerOff()) 
 2020-11-27T21:51:53.273Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:150:put()) PUT: [http://192.168.178.201/json/state] [{"on":false}]
 2020-11-27T21:51:53.362Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:179:getResponse()) Reply.httpStatusCode [200]
 2020-11-27T21:51:54.026Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1047:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.23
 2020-11-27T21:51:54.093Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1056:handleLoggingCommand()) log streaming deactivated for client  ::ffff:192.168.178.23
 2020-11-27T21:51:58.422Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000 
 2020-11-27T21:51:59.494Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.178.23
 2020-11-27T21:51:59.521Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.178.23' switch to Hyperion instance 0
 2020-11-27T21:52:00.251Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1047:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.23
 2020-11-27T21:52:00.323Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1056:handleLoggingCommand()) log streaming deactivated for client  ::ffff:192.168.178.23
 2020-11-27T21:56:03.397Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1047:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.23
 2020-11-27T21:56:03.499Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1056:handleLoggingCommand()) log streaming deactivated for client  ::ffff:192.168.178.23
 2020-11-27T21:56:20.055Z [hyperiond SETTINGSMGR] (DEBUG) (SettingsManager.cpp:109:SettingsManager()) Settings database initialized
 2020-11-27T21:56:20.077Z [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:64:handleSettingsUpdate()) Set mode to: default
 2020-11-27T21:56:20.081Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled
 2020-11-27T21:56:20.166Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled
 2020-11-27T21:56:20.172Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'adalight'.
 2020-11-27T21:56:20.170Z [hyperiond SMOOTHING] (INFO) linear - Time: -310172160 ms, outputRate 0.000000 Hz, interpolationRate: 25.000000 Hz, timer: 0 ms, Dithering: 1077477376, Decay: 0.000000 -> HalfTime: -0.000000 ms
 2020-11-27T21:56:20.180Z [hyperiond SMOOTHING] (INFO) linear - Time: -1487816268 ms, outputRate 0.000000 Hz, interpolationRate: 25.000000 Hz, timer: 0 ms, Dithering: 1077477376, Decay: 0.000000 -> HalfTime: 0.000000 ms
 2020-11-27T21:56:20.184Z [hyperiond SMOOTHING] (INFO) LinearColorSmoothing sizeof floatT == 4
 2020-11-27T21:56:20.182Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":100,"delayAfterConnect":0,"hardwareLedCount":100,"latchTime":30,"lightberry_apa102_mode":false,"output":"/dev/ttyUSB0","rate":500000,"rewriteTime":1000,"type":"adalight"}]
 2020-11-27T21:56:20.191Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:405:setLatchTime()) LatchTime updated to 30ms
 2020-11-27T21:56:20.200Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:425:setRewriteTime()) Refresh interval = 1000ms
 2020-11-27T21:56:20.203Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:431:setRewriteTime()) RewriteTime updated to 1000ms
 2020-11-27T21:56:20.208Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:36:init()) DeviceType   : adalight
 2020-11-27T21:56:20.195Z [hyperiond EFFECTENGINE] (INFO) Run effect "Rainbow swirl fast" on channel 0
 2020-11-27T21:56:20.221Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Rainbow swirl fast], smoothCfg [2]
 2020-11-27T21:56:20.225Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:37:init()) LedCount     : 100
 2020-11-27T21:56:20.229Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:38:init()) ColorOrder   : rgb
 2020-11-27T21:56:20.233Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:160:registerInput()) Register new input 'System/EFFECT' with priority 0 as inactive
 2020-11-27T21:56:20.239Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:39:init()) RefreshTime  : 1000
 2020-11-27T21:56:20.243Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Rainbow swirl fast' started
 2020-11-27T21:56:20.244Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:40:init()) LatchTime    : 30
 2020-11-27T21:56:20.252Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:52:init()) deviceName   : ttyUSB0
 2020-11-27T21:56:20.262Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:53:init()) AutoDevice   : 0
 2020-11-27T21:56:20.256Z [hyperiond EFFECTENGINE] (INFO) Run effect "Warm mood blobs" on channel 254
 2020-11-27T21:56:20.271Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Warm mood blobs], smoothCfg [2]
 2020-11-27T21:56:20.269Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:54:init()) baudRate_Hz  : 500000
 2020-11-27T21:56:20.277Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:55:init()) delayAfCon ms: 0
 2020-11-27T21:56:20.278Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:160:registerInput()) Register new input 'System/EFFECT' with priority 254 as inactive
 2020-11-27T21:56:20.287Z [hyperiond HYPERION] (INFO) Inital background effect 'Warm mood blobs' started
 2020-11-27T21:56:20.285Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceAdalight.cpp:58:init()) Adalight header for 100 leds: Ada 0x00 0x63 0x36
 2020-11-27T21:56:20.304Z [hyperiond LEDDEVICE] (INFO) Opening UART: ttyUSB0
 2020-11-27T21:56:20.310Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:141:tryOpen()) _rs232Port.open(QIODevice::ReadWrite): ttyUSB0, Baud rate [500000]bps
 2020-11-27T21:56:20.300Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:160:registerInput()) Register new input 'System/V4L' with priority 240 as inactive
 2020-11-27T21:56:20.315Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
 2020-11-27T21:56:20.330Z [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created
 2020-11-27T21:56:20.340Z [hyperiond HYPERION] (INFO) Hyperion instance 'ghfgj' has been started
 2020-11-27T21:56:20.618Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:344:setCurrentTime()) Set visible priority to 0
 2020-11-27T21:56:20.622Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:537:handlePriorityChangedLedDevice()) priority[0], previousPriority[255]
 2020-11-27T21:56:20.626Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:547:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on
 2020-11-27T21:56:20.968Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:146:tryOpen()) portName:          ttyUSB0
 2020-11-27T21:56:20.972Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:147:tryOpen()) systemLocation:    /dev/ttyUSB0
 2020-11-27T21:56:20.976Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:148:tryOpen()) description:       USB Serial
 2020-11-27T21:56:20.980Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:149:tryOpen()) manufacturer:      1a86
 2020-11-27T21:56:20.984Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:150:tryOpen()) productIdentifier: 0x7523
 2020-11-27T21:56:20.988Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:151:tryOpen()) vendorIdentifier:  0x1a86
 2020-11-27T21:56:20.992Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:152:tryOpen()) serialNumber:      
 2020-11-27T21:56:21.006Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
 2020-11-27T21:56:21.013Z [hyperiond SMOOTHING] (INFO) linear - Time: -310172160 ms, outputRate 0.000000 Hz, interpolationRate: 25.000000 Hz, timer: 0 ms, Dithering: 1077477376, Decay: 0.000000 -> HalfTime: -0.000000 ms
 2020-11-27T21:56:21.658Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:246:setInputImage()) Priority 0 is now active
 2020-11-27T21:56:21.734Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:204:setInput()) Priority 254 is now active
 2020-11-27T21:56:21.845Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:246:setInputImage()) Priority 240 is now active
 2020-11-27T21:56:21.850Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:344:setCurrentTime()) Set visible priority to 240
 2020-11-27T21:56:21.859Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:246:setInputImage()) Priority 240 is now active
 2020-11-27T21:56:21.855Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:537:handlePriorityChangedLedDevice()) priority[240], previousPriority[255]
 2020-11-27T21:56:21.868Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:547:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on
 2020-11-27T21:56:21.878Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:132:powerOn()) 
 2020-11-27T21:56:21.882Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:150:put()) PUT: [http://192.168.178.201/json/state] [{"on":true}]
 2020-11-27T21:56:22.056Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:179:getResponse()) Reply.httpStatusCode [200]
 2020-11-27T21:56:24.144Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:308:setCurrentTime()) Timeout clear for priority 0
 2020-11-27T21:56:24.153Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:344:setCurrentTime()) Set visible priority to 0
 2020-11-27T21:56:24.155Z [hyperiond SMOOTHING] (INFO) linear - Time: 34 ms, outputRate 0.000000 Hz, interpolationRate: 25.000000 Hz, timer: 0 ms, Dithering: 1077477376, Decay: 0.000000 -> HalfTime: -0.000000 ms
 2020-11-27T21:56:24.161Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:537:handlePriorityChangedLedDevice()) priority[0], previousPriority[0]
 2020-11-27T21:56:24.396Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:344:setCurrentTime()) Set visible priority to 240
 2020-11-27T21:56:24.407Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:537:handlePriorityChangedLedDevice()) priority[240], previousPriority[0]
 2020-11-27T21:56:29.358Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1047:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.23
 2020-11-27T21:56:29.763Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1056:handleLoggingCommand()) log streaming deactivated for client  ::ffff:192.168.178.23
 2020-11-27T21:59:18.486Z [hyperiond HYPERION] (INFO) Hyperion instance 'ghfgj' has been stopped
 2020-11-27T21:59:18.873Z [hyperiond HYPERION] (INFO) Hyperion instance with index '1' has been deleted
 2020-11-27T21:59:18.778Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:93:close()) Flush was successful
 2020-11-27T21:59:18.782Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:95:close()) Close UART: ttyUSB0
 2020-11-27T21:59:18.790Z [hyperiond LEDDEVICE] (INFO)  Stopped LedDevice 'adalight'
 2020-11-27T21:59:19.896Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:246:setInputImage()) Priority 240 is now inactive
 2020-11-27T21:59:19.914Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:344:setCurrentTime()) Set visible priority to 255
 2020-11-27T21:59:19.919Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:537:handlePriorityChangedLedDevice()) priority[255], previousPriority[240]
 2020-11-27T21:59:19.926Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:540:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off
 2020-11-27T21:59:19.935Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:150:powerOff()) 
 2020-11-27T21:59:20.041Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:150:put()) PUT: [http://192.168.178.201/json/state] [{"on":false}]
 2020-11-27T21:59:20.173Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:179:getResponse()) Reply.httpStatusCode [200]
 2020-11-27T21:59:25.929Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1047:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.23
 2020-11-27T21:59:26.050Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1056:handleLoggingCommand()) log streaming deactivated for client  ::ffff:192.168.178.23
 2020-11-27T22:00:48.046Z [hyperiond LEDDEVICE] (INFO)  Stopped LedDevice 'wled'
 2020-11-27T22:00:48.061Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: disabled
 2020-11-27T22:00:48.073Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'wled'.
 2020-11-27T22:00:48.077Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:56:init()) 
 2020-11-27T22:00:48.082Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":10,"hardwareLedCount":10,"host":"192.168.178.201","latchTime":1000,"type":"wled"}]
 2020-11-27T22:00:48.089Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:405:setLatchTime()) LatchTime updated to 1000ms
 2020-11-27T22:00:48.092Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:431:setRewriteTime()) RewriteTime updated to 0ms
 2020-11-27T22:00:48.096Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:64:init()) DeviceType   : wled
 2020-11-27T22:00:48.102Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:65:init()) LedCount     : 10
 2020-11-27T22:00:48.106Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:66:init()) ColorOrder   : rgb
 2020-11-27T22:00:48.114Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:67:init()) LatchTime    : 1000
 2020-11-27T22:00:48.118Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:109:initRestAPI()) 
 2020-11-27T22:00:48.122Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:120:initRestAPI()) [1]
 2020-11-27T22:00:48.131Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":10,"hardwareLedCount":10,"host":"192.168.178.201","latchTime":1000,"port":19446,"type":"wled"}]
 2020-11-27T22:00:48.135Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:405:setLatchTime()) LatchTime updated to 1000ms
 2020-11-27T22:00:48.139Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:431:setRewriteTime()) RewriteTime updated to 0ms
 2020-11-27T22:00:48.143Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdp.cpp:44:init()) Successfully parsed 192.168.178.201 as an IP-address.
 2020-11-27T22:00:48.149Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdp.cpp:74:init()) UDP socket will write to 192.168.178.201:19446
 2020-11-27T22:00:48.153Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:98:init()) Hostname/IP  : 192.168.178.201
 2020-11-27T22:00:48.159Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:99:init()) Port         : 19446
 2020-11-27T22:00:48.163Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:103:init()) [1]
 2020-11-27T22:00:48.175Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:132:powerOn()) 
 2020-11-27T22:00:48.181Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:150:put()) PUT: [http://192.168.178.201/json/state] [{"on":true}]
 2020-11-27T22:00:48.488Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:179:getResponse()) Reply.httpStatusCode [200]
 2020-11-27T22:00:48.496Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
 2020-11-27T22:01:09.652Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:265:clearInput()) Removed source priority 240
 2020-11-27T22:01:09.659Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: disabled
 2020-11-27T22:01:20.276Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:160:registerInput()) Register new input 'System/V4L' with priority 241 as inactive
 2020-11-27T22:01:20.282Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
 2020-11-27T22:01:33.316Z [hyperiond V4L2:AUTO] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
 2020-11-27T22:01:33.323Z [hyperiond V4L2:AUTO] (INFO) Signal threshold set to: {12, 12, 12}
 2020-11-27T22:01:53.046Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:265:clearInput()) Removed source priority 241
 2020-11-27T22:01:53.053Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: disabled
 2020-11-27T22:01:55.975Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:160:registerInput()) Register new input 'System/V4L' with priority 241 as inactive
 2020-11-27T22:01:55.982Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
 2020-11-27T22:06:27.858Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: disabled
 2020-11-27T22:06:27.865Z [hyperiond SMOOTHING] (INFO) linear - Time: -1330082368 ms, outputRate 0.000000 Hz, interpolationRate: 60.000000 Hz, timer: 0 ms, Dithering: 1078853632, Decay: 0.000000 -> HalfTime: 0.000000 ms
 2020-11-27T22:06:27.872Z [hyperiond SMOOTHING] (INFO) linear - Time: 47 ms, outputRate 0.000000 Hz, interpolationRate: 60.000000 Hz, timer: 0 ms, Dithering: 1078853632, Decay: 0.000000 -> HalfTime: -0.000000 ms
 2020-11-27T22:06:42.661Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:150:powerOff()) 
 2020-11-27T22:06:43.672Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:150:put()) PUT: [http://192.168.178.201/json/state] [{"on":false}]
 2020-11-27T22:06:43.684Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: disabled
 2020-11-27T22:06:43.856Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:179:getResponse()) Reply.httpStatusCode [200]
 2020-11-27T22:06:45.422Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:132:powerOn()) 
 2020-11-27T22:06:45.430Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:150:put()) PUT: [http://192.168.178.201/json/state] [{"on":true}]
 2020-11-27T22:06:45.436Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
 2020-11-27T22:06:45.696Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:179:getResponse()) Reply.httpStatusCode [200]
 2020-11-27T22:06:52.236Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:265:clearInput()) Removed source priority 241
 2020-11-27T22:06:52.246Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: disabled
 2020-11-27T22:06:54.760Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:160:registerInput()) Register new input 'System/V4L' with priority 241 as inactive
 2020-11-27T22:06:54.768Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
 2020-11-27T22:06:58.745Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled
 2020-11-27T22:07:02.522Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: disabled
 2020-11-27T22:07:13.467Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:246:setInputImage()) Priority 241 is now active
 2020-11-27T22:07:13.476Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:344:setCurrentTime()) Set visible priority to 241
 2020-11-27T22:07:13.483Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:537:handlePriorityChangedLedDevice()) priority[241], previousPriority[255]
 2020-11-27T22:07:13.487Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:547:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on
 2020-11-27T22:07:14.419Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:246:setInputImage()) Priority 241 is now inactive
 2020-11-27T22:07:14.424Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:344:setCurrentTime()) Set visible priority to 255
 2020-11-27T22:07:14.431Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:537:handlePriorityChangedLedDevice()) priority[255], previousPriority[241]
 2020-11-27T22:07:14.437Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:540:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off
 2020-11-27T22:07:14.444Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:150:powerOff()) 
 2020-11-27T22:07:15.453Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:150:put()) PUT: [http://192.168.178.201/json/state] [{"on":false}]
 2020-11-27T22:07:15.608Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:179:getResponse()) Reply.httpStatusCode [200]
 2020-11-27T22:10:33.579Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:246:setInputImage()) Priority 241 is now active
 2020-11-27T22:10:33.584Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:344:setCurrentTime()) Set visible priority to 241
 2020-11-27T22:10:33.591Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:537:handlePriorityChangedLedDevice()) priority[241], previousPriority[255]
 2020-11-27T22:10:33.592Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:547:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on
 2020-11-27T22:10:33.592Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:132:powerOn()) 
 2020-11-27T22:10:33.593Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:150:put()) PUT: [http://192.168.178.201/json/state] [{"on":true}]
 2020-11-27T22:10:33.838Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:179:getResponse()) Reply.httpStatusCode [200]
 2020-11-27T22:10:34.531Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:246:setInputImage()) Priority 241 is now inactive
 2020-11-27T22:10:34.535Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:344:setCurrentTime()) Set visible priority to 255
 2020-11-27T22:10:34.540Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:537:handlePriorityChangedLedDevice()) priority[255], previousPriority[241]
 2020-11-27T22:10:34.547Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:540:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off
 2020-11-27T22:10:34.551Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWled.cpp:150:powerOff()) 
 2020-11-27T22:10:35.557Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:150:put()) PUT: [http://192.168.178.201/json/state] [{"on":false}]
 2020-11-27T22:10:35.819Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:179:getResponse()) Reply.httpStatusCode [200]
 2020-11-27T22:17:48.194Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1047:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.23
 2020-11-27T22:17:48.363Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1056:handleLoggingCommand()) log streaming deactivated for client  ::ffff:192.168.178.23
 2020-11-27T22:19:08.954Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1047:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.23
Lord-Grey commented 3 years ago

@YannikW If you save the grabber configuration on the default instance and then restart hyperion? Do both instances work afterwards?

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.