2.0.0-alpha.9; Rasp 3b+ Ich versuche die Umschaltung von Fernseher und internen grabber zu managen. Mit Prioritäten in der Hardware abspeichern funktioniert das auch. Jetzt habe ich mal die CEC Erkennung versucht, diese brachte zumindest einen halben Erfolg. Beim ausschaltet des Fernsehers, schaltet das System um auf intern. Was ich festgestellt habe ist, dass der Schalter in der Komponentensteuerung die USB-Aufnahme auf aus stellt und der Eingang verschwindet dann aus der Quellenauswahl. Ein wieder einschalten des Fernsehers ändert den Zustand leider nicht zurück. Selbst manuell lässt sich USB-Aufnahme nicht mehr als Quelleneingang hervorbringen. So muss ich den Rasp neu starten, damit USB-Aufnahme wieder geht. Was ist das Ziel: Beim ausschalten des Fernsehers, soll die LEDHardware komplett abschalten. Beim HDMI Eingangswechsel, soll Hyperion von Intern auf extern wechseln. PHP: 2021-01-09T23:28:51.707Z [hyperiond DAEMON] (INFO) CEC handler created2021-01-09T23:28:51.742Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/2021-01-09T23:28:51.756Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/2021-01-09T23:28:51.760Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /home/pi/.hyperion/custom-effects2021-01-09T23:28:51.862Z [hyperiond SETTINGSMGR] (DEBUG) (SettingsManager.cpp:109:SettingsManager()) Settings database initialized2021-01-09T23:28:51.866Z [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:64:handleSettingsUpdate()) Set mode to: default2021-01-09T23:28:51.866Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled2021-01-09T23:28:51.896Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx'2021-01-09T23:28:51.897Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 02021-01-09T23:28:51.899Z [hyperiond DISPMANXGRABBER] (INFO) Display opened with resolution: 1920x10802021-01-09T23:28:51.899Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:90:setWidthHeight()) Set new width: 80, height: 45 for capture2021-01-09T23:28:51.899Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created2021-01-09T23:28:51.900Z [hyperiond V4L2:AUTO] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 02021-01-09T23:28:51.902Z [hyperiond V4L2:AUTO] (INFO) Signal threshold set to: {12, 12, 12}2021-01-09T23:28:51.902Z [hyperiond V4L2:AUTO] (INFO) Cropping image: width=0 height=0; crop: left=11 right=17 top=7 bottom=132021-01-09T23:28:51.902Z [hyperiond V4L2:AUTO] (INFO) Signal detection is now disabled2021-01-09T23:28:51.902Z [hyperiond V4L2:AUTO] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.7500002021-01-09T23:28:51.902Z [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:630:handleSettingsUpdate()) V4L2 grabber created2021-01-09T23:28:51.921Z [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:28:JsonServer()) Created instance2021-01-09T23:28:51.937Z [hyperiond JSONSERVER] (INFO) Started on port 194442021-01-09T23:28:51.903Z [hyperiond CEC] (INFO) Starting CEC handler2021-01-09T23:28:51.910Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled2021-01-09T23:28:51.911Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [0]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms2021-01-09T23:28:51.912Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'apa102'.2021-01-09T23:28:51.913Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"bgr","currentLedCount":132,"hardwareLedCount":1,"invert":false,"latchTime":0,"output":"/dev/spidev0.0","rate":1e+06,"rewriteTime":1000,"type":"apa102"}]2021-01-09T23:28:51.913Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:407:setLatchTime()) LatchTime updated to 0ms2021-01-09T23:28:51.913Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:428:setRewriteTime()) Refresh interval = 1000ms2021-01-09T23:28:51.913Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:434:setRewriteTime()) RewriteTime updated to 1000ms2021-01-09T23:28:51.913Z [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:45:init()) _baudRate_Hz [1000000], _latchTime_ms [0]2021-01-09T23:28:51.914Z [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:46:init()) _spiDataInvert [0], _spiMode [0]2021-01-09T23:28:51.921Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) Previous line repeats 1 times2021-01-09T23:28:51.922Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:194012021-01-09T23:28:51.940Z [hyperiond EFFECTENGINE] (INFO) Run effect "Pac-Man" on channel 02021-01-09T23:28:51.949Z [hyperiond FLATBUFSERVER] (INFO) Started on port 194002021-01-09T23:28:51.952Z [hyperiond PROTOSERVER] (INFO) Started on port 194452021-01-09T23:28:51.954Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver2021-01-09T23:28:51.956Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver2021-01-09T23:28:52.034Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Pac-Man], smoothCfg [2]2021-01-09T23:28:52.035Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/EFFECT' with priority 0 as inactive2021-01-09T23:28:52.037Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Pac-Man' started2021-01-09T23:28:52.039Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/GRABBER' with priority 250 as inactive2021-01-09T23:28:52.040Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Framegrabber: enabled2021-01-09T23:28:52.042Z [hyperiond Dispmanx] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start()2021-01-09T23:28:52.042Z [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created2021-01-09T23:28:52.046Z [hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware instance' has been started2021-01-09T23:28:52.044Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled2021-01-09T23:28:52.134Z [hyperiond CEC] (INFO) Auto detecting CEC adapter2021-01-09T23:28:52.135Z [hyperiond CEC] (INFO) CEC Adapter:2021-01-09T23:28:52.135Z [hyperiond CEC] (INFO) Name : RPI2021-01-09T23:28:52.136Z [hyperiond CEC] (INFO) Path : Raspberry Pi2021-01-09T23:28:52.143Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 250 is now active2021-01-09T23:28:52.144Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 02021-01-09T23:28:52.145Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [2]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms2021-01-09T23:28:52.146Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[255]2021-01-09T23:28:52.146Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on2021-01-09T23:28:52.152Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings2021-01-09T23:28:52.152Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings2021-01-09T23:28:52.152Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig2021-01-09T23:28:52.152Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig2021-01-09T23:28:52.153Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver'2021-01-09T23:28:52.173Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:175:handleSettingsUpdate()) Setup SSL certificate2021-01-09T23:28:52.177Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:191:handleSettingsUpdate()) Setup private SSL key2021-01-09T23:28:52.178Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver'2021-01-09T23:28:52.248Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:207:setInput()) Priority 0 is now active2021-01-09T23:28:54.464Z [hyperiond CEC] (INFO) CEC Handler initialized with adapter : RPI2021-01-09T23:28:55.289Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:315:setCurrentTime()) Timeout clear for priority 02021-01-09T23:28:55.289Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 02021-01-09T23:28:55.289Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [0]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms2021-01-09T23:28:55.289Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[0]2021-01-09T23:28:55.539Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 2502021-01-09T23:28:55.540Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[250], previousPriority[0]2021-01-09T23:29:10.234Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.178.272021-01-09T23:29:10.239Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.178.27' switch to Hyperion instance 02021-01-09T23:31:33.099Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/V4L' with priority 240 as inactive2021-01-09T23:31:33.100Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled2021-01-09T23:31:33.102Z [hyperiond V4L2:AUTO] (INFO) available V4L2 devices: /dev/video0 usbtv2021-01-09T23:31:33.102Z [hyperiond V4L2:AUTO] (INFO) search for usable video devices2021-01-09T23:31:33.103Z [hyperiond V4L2:AUTO] (INFO) test v4l device: /dev/video02021-01-09T23:31:33.104Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:696:init_device()) Set resolution to width=720 height=4802021-01-09T23:31:33.104Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:735:init_device()) Pixel format=YUYV2021-01-09T23:31:33.110Z [hyperiond V4L2:AUTO] (INFO) found usable v4l2 device: /dev/video0 (usbtv)2021-01-09T23:31:33.154Z [hyperiond V4L2:AUTO] (INFO) Started2021-01-09T23:31:33.154Z [hyperiond V4L2:auto] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start()2021-01-09T23:31:33.244Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 240 is now active2021-01-09T23:31:33.244Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 2402021-01-09T23:31:33.245Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[250]2021-01-09T23:31:40.217Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.272021-01-09T23:31:40.250Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.178.272021-01-09T23:32:40.202Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:270:clearInput()) Removed source priority 2402021-01-09T23:32:40.203Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 2502021-01-09T23:32:40.204Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[250], previousPriority[240]2021-01-09T23:32:40.207Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: disabled2021-01-09T23:32:40.210Z [hyperiond V4L2:AUTO] (INFO) Stopped2021-01-09T23:32:40.211Z [hyperiond V4L2:auto] (DEBUG) (GrabberWrapper.cpp:58:stop()) Grabber stop()2021-01-09T23:32:41.858Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/V4L' with priority 240 as inactive2021-01-09T23:32:41.859Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled2021-01-09T23:32:41.862Z [hyperiond V4L2:AUTO] (INFO) configured v4l device: /dev/video02021-01-09T23:32:41.864Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:696:init_device()) Set resolution to width=720 height=4802021-01-09T23:32:41.864Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:735:init_device()) Pixel format=YUYV2021-01-09T23:32:41.919Z [hyperiond V4L2:AUTO] (INFO) Started2021-01-09T23:32:41.920Z [hyperiond V4L2:auto] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start()2021-01-09T23:32:41.964Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 240 is now active2021-01-09T23:32:41.967Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 2402021-01-09T23:32:41.969Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[250]2021-01-09T23:32:44.806Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.27