1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hyperion auf Debian installieren

Discussion in 'German Talk' started by Ralf Locker, 24 October 2020.

  1. Ralf Locker

    Ralf Locker New Member

    Messages:
    9
    Hardware:
    RPi3
    Nachdem ich das File jetzt habe und auch installiert wurde, geht trotzdem nichts....
    Hat jemand eine Anleitung die auch fuktioniert für die Installation?
    Der Service wurde nicht automatisch gestartet, auf das GUI komme ich auch nicht...

    Wie schon geschrieben, bin kein Profi, was Linux angeht!
     
  2. Esjay

    Esjay Member

    Messages:
    38
    Hardware:
    RPi3, +PhilipsHue
  3. Ralf Locker

    Ralf Locker New Member

    Messages:
    9
    Hardware:
    RPi3
    Auf dem Raspi habe ich es ja installiert, nur direkt unter dem TV steht ein NUC mit Proxmox, der nicht sehr viel zu tun hat.
    Daher wollte ich eine Debian-VM mit hyperion dort laufen lassen. Der NUC läuft eh 24/7.
    Mittlerweile habe ich Debian installiert, hyperion als service auf dem Nuc laufen.
    Nur benötigt hyperion eine consolen-Session, die beim Systemstart "hyperiond -d" startet, da hapert es grade noch.
    Den digitale Video-Capturer habe ich an der VM durchgereicht und wird auch mittels lsusb -t angezeigt.

    Edit: hyperion.service läuft nicht:

    ● hyperion.service - Hyperion ambient light systemd service
    Loaded: loaded (/lib/systemd/system/hyperion.service; enabled; vendor preset: enabled)
    Active: activating (auto-restart) (Result: exit-code) since Sat 2020-10-24 15:49:05 CEST; 1s ago
    Process: 4557 ExecStart=/usr/local/bin/hyperiond (code=exited, status=210/CHROOT)
    Main PID: 4557 (code=exited, status=210/CHROOT)

    Okt 24 15:49:05 hyperion systemd[1]: hyperion.service: Unit entered failed state.
    Okt 24 15:49:05 hyperion systemd[1]: hyperion.service: Failed with result 'exit-code'.
     
  4. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,886
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    hyperiond -d läuft sagst du? dann mal bitte den output, eventuell kann man damit was anfangen
     
  5. Ralf Locker

    Ralf Locker New Member

    Messages:
    9
    Hardware:
    RPi3
    Hier die Ausgabe nach dem Start von hyperiond -d:
    Der ESP und die LED´s kommen leider erst am Dienstag, aber bis dahin kann man ja schon versuchen das Ganze zu installieren...

    2020-10-25T08:06:59.708 hyperiond MAIN : <INFO> Set user data path to '/home/hyperion/.hyperion'
    2020-10-25T08:06:59.754 hyperiond DAEMON : <DEBUG> PythonInit.cpp:44:pythonInit() | Initializing Python interpreter
    2020-10-25T08:06:59.785 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:107:SettingsManager() | Settings database initialized
    2020-10-25T08:06:59.785 hyperiond DAEMON : <INFO> CEC handler created
    2020-10-25T08:06:59.790 hyperiond EFFECTFILES : <INFO> 39 effects loaded from directory :/effects/
    2020-10-25T08:06:59.792 hyperiond EFFECTFILES : <INFO> 22 effect schemas loaded from directory :/effects/schema/
    2020-10-25T08:06:59.792 hyperiond EFFECTFILES : <INFO> 0 effects loaded from directory /home/hyperion/.hyperion/custom-effects
    2020-10-25T08:06:59.801 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:107:SettingsManager() | Settings database initialized
    2020-10-25T08:06:59.801 hyperiond BLACKBORDER : <DEBUG> BlackBorderProcessor.cpp:64:handleSettingsUpdate() | Set mode to: default
    2020-10-25T08:06:59.802 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Blackborder detector: enabled
    2020-10-25T08:06:59.825 hyperiond DAEMON : <INFO> set screen capture device to 'qt'
    2020-10-25T08:06:59.825 hyperiond QTGRABBER : <DEBUG> Grabber.cpp:30:setVideoMode() | Set videomode to 0
    2020-10-25T08:06:59.825 hyperiond QTGRABBER : <ERROR> No displays found to capture from!
    2020-10-25T08:06:59.825 hyperiond DAEMON : <INFO> Qt grabber created
    2020-10-25T08:06:59.825 hyperiond V4L2:AUTO : <DEBUG> Grabber.cpp:30:setVideoMode() | Set videomode to 0
    2020-10-25T08:06:59.837 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Smoothing: enabled2020-10-25T08:06:59.837 hyperiond LEDDEVICE : <INFO> Start LedDevice 'wled'.

    2020-10-25T08:06:59.837 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:56:init() |
    2020-10-25T08:06:59.837 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:147:init() | deviceConfig: [{"colorOrder":"rgb","currentLedCount":26,"hardwareLedCount":1,"host":"","latchTime":0,"type":"wled"}]
    2020-10-25T08:06:59.837 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:403:setLatchTime() | LatchTime updated to 0ms
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:429:setRewriteTime() | RewriteTime updated to 0ms
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:64:init() | DeviceType : wled
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:65:init() | LedCount : 26
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:66:init() | ColorOrder : rgb
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:67:init() | LatchTime : 0
    2020-10-25T08:06:59.838 hyperiond FLATBUFCONN : <INFO> Connecting to Hyperion: 127.0.0.1:19401
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <ERROR> Device disabled, device 'wled' signals error: 'No target hostname nor IP defined'
    2020-10-25T08:06:59.838 hyperiond EFFECTENGINE : <INFO> Run effect "Rainbow swirl fast" on channel 0
    2020-10-25T08:06:59.839 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:183:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]
    2020-10-25T08:06:59.839 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:159:registerInput() | Register new input 'System/EFFECT' with priority 0 as inactive
    2020-10-25T08:06:59.839 hyperiond HYPERION : <INFO> Initial foreground effect 'Rainbow swirl fast' started
    2020-10-25T08:06:59.839 hyperiond EFFECTENGINE : <INFO> Run effect "Warm mood blobs" on channel 254
    2020-10-25T08:06:59.839 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:183:runEffectScript() | Start the effect: name [Warm mood blobs], smoothCfg [2]
    2020-10-25T08:06:59.839 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:159:registerInput() | Register new input 'System/EFFECT' with priority 254 as inactive
    2020-10-25T08:06:59.839 hyperiond HYPERION : <INFO> Inital background effect 'Warm mood blobs' started
    2020-10-25T08:06:59.840 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:159:registerInput() | Register new input 'System/V4L' with priority 240 as inactive
    2020-10-25T08:06:59.840 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | V4L capture device: enabled
    2020-10-25T08:06:59.840 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:159:registerInput() | Register new input 'System/GRABBER' with priority 250 as inactive
    2020-10-25T08:06:59.840 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Framegrabber: enabled
    2020-10-25T08:06:59.840 hyperiond BOBLIGHT : <DEBUG> BoblightServer.cpp:28:BoblightServer() | Instance created
    2020-10-25T08:06:59.886 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:238:setInputImage() | Priority 0 is now active
    2020-10-25T08:06:59.886 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:333:setCurrentTime() | Set visible priority to 0
    2020-10-25T08:06:59.886 hyperiond HYPERION : <DEBUG> Hyperion.cpp:538:handlPriorityChangedLedDevice() | priority[0], previousPriority[255]
    2020-10-25T08:06:59.886 hyperiond HYPERION : <DEBUG> Hyperion.cpp:548:handlPriorityChangedLedDevice() | new source available -> switch LED-Device on
    2020-10-25T08:06:59.900 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:198:setInput() | Priority 254 is now active
    2020-10-25T08:06:59.924 hyperiond V4L2:AUTO : <INFO> Signal threshold set to: {12, 12, 12}
    2020-10-25T08:06:59.924 hyperiond V4L2:AUTO : <INFO> CEC detection is now disabled
    2020-10-25T08:06:59.924 hyperiond V4L2:AUTO : <INFO> Signal detection is now disabled
    2020-10-25T08:06:59.924 hyperiond V4L2:AUTO : <INFO> Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
    2020-10-25T08:06:59.925 hyperiond DAEMON : <DEBUG> hyperiond.cpp:568:handleSettingsUpdate() | V4L2 grabber created
    2020-10-25T08:06:59.925 hyperiond JSONSERVER : <DEBUG> JsonServer.cpp:27:JsonServer() | Created instance
    2020-10-25T08:06:59.925 hyperiond JSONSERVER : <INFO> Started on port 19444
    2020-10-25T08:06:59.925 hyperiond FLATBUFSERVE : <INFO> Started on port 19400
    2020-10-25T08:06:59.926 hyperiond PROTOSERVER : <INFO> Started on port 19445
    2020-10-25T08:06:59.926 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:32:initServer() | Initialize Webserver
    2020-10-25T08:06:59.926 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:32:initServer() | Initialize Webserver
    2020-10-25T08:06:59.927 hyperiond V4L2:AUTO : <INFO> available V4L2 devices:
    /dev/video0 USB Video

    2020-10-25T08:06:59.927 hyperiond V4L2:AUTO : <INFO> search for usable video devices
    2020-10-25T08:06:59.927 hyperiond V4L2:AUTO : <INFO> test v4l device: /dev/video0
    2020-10-25T08:06:59.940 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:90:handleSettingsUpdate() | Apply Webserver settings
    2020-10-25T08:06:59.940 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:90:handleSettingsUpdate() | Apply Webserver settings
    2020-10-25T08:06:59.940 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:108:handleSettingsUpdate() | Set document root to: :/webconfig
    2020-10-25T08:06:59.940 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:108:handleSettingsUpdate() | Set document root to: :/webconfig
    2020-10-25T08:06:59.940 hyperiond WEBSERVER : <INFO> Started on port 8090 name 'Hyperion Webserver'
    2020-10-25T08:06:59.956 hyperiond V4L2:AUTO : <DEBUG> V4L2Grabber.cpp:696:init_device() | Set resolution to width=640 height=480
    2020-10-25T08:06:59.957 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:174:handleSettingsUpdate() | Setup SSL certificate
    2020-10-25T08:06:59.957 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:190:handleSettingsUpdate() | Setup private SSL key
    2020-10-25T08:06:59.957 hyperiond WEBSERVER : <INFO> Started on port 8092 name 'Hyperion Webserver'
    2020-10-25T08:06:59.966 hyperiond V4L2:AUTO : <DEBUG> V4L2Grabber.cpp:713:init_device() | Set framerate to 832998 fps
    2020-10-25T08:06:59.966 hyperiond V4L2:AUTO : <DEBUG> V4L2Grabber.cpp:751:init_device() | Pixel format=MJPEG
    2020-10-25T08:06:59.967 hyperiond V4L2:AUTO : <INFO> found usable v4l2 device: /dev/video0 (USB Video)
    2020-10-25T08:06:59.970 hyperiond V4L2:AUTO : <ERROR> Throws error nr: VIDIOC_STREAMON error code 5, Input/output error
    2020-10-25T08:06:59.970 hyperiond V4L2:AUTO : <INFO> Started
    2020-10-25T08:06:59.970 hyperiond V4L2:auto : <DEBUG> GrabberWrapper.cpp:48:start() | Grabber start()
    2020-10-25T08:06:59.970 hyperiond Qt : <DEBUG> GrabberWrapper.cpp:48:start() | Grabber start()
    2020-10-25T08:06:59.970 hyperiond HYPERION : <INFO> Hyperion instance 'First LED Hardware instance' has been started
    2020-10-25T08:06:59.970 hyperiond V4L2:AUTO : <ERROR> Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument
    2020-10-25T08:06:59.971 hyperiond V4L2:AUTO : <INFO> Stopped
    2020-10-25T08:07:00.075 hyperiond QTGRABBER : <ERROR> No displays found to capture from!
    2020-10-25T08:07:00.075 hyperiond QTGRABBER : <INFO> Capture interface is now disabled
    2020-10-25T08:07:00.180 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:238:setInputImage() | Priority 250 is now active
    2020-10-25T08:07:02.957 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:298:setCurrentTime() | Timeout clear for priority 0
    2020-10-25T08:07:03.207 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:333:setCurrentTime() | Set visible priority to 250
    2020-10-25T08:07:03.207 hyperiond HYPERION : <DEBUG> Hyperion.cpp:538:handlPriorityChangedLedDevice() | priority[250], previousPriority[0]
    2020-10-25T08:07:22.008 hyperiond WEBSOCKET : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:192.168.1.2
    2020-10-25T08:07:22.008 hyperiond WEBSOCKET : <DEBUG> JsonAPI.cpp:81:handleInstanceSwitch() | Client '::ffff:192.168.1.2' switch to Hyperion instance 0
    2020-10-25T08:06:59.708 hyperiond MAIN : <INFO> Set user data path to '/home/hyperion/.hyperion'
    2020-10-25T08:06:59.754 hyperiond DAEMON : <DEBUG> PythonInit.cpp:44:pythonInit() | Initializing Python interpreter
    2020-10-25T08:06:59.785 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:107:SettingsManager() | Settings database initialized
    2020-10-25T08:06:59.785 hyperiond DAEMON : <INFO> CEC handler created
    2020-10-25T08:06:59.790 hyperiond EFFECTFILES : <INFO> 39 effects loaded from directory :/effects/
    2020-10-25T08:06:59.792 hyperiond EFFECTFILES : <INFO> 22 effect schemas loaded from directory :/effects/schema/
    2020-10-25T08:06:59.792 hyperiond EFFECTFILES : <INFO> 0 effects loaded from directory /home/hyperion/.hyperion/custom-effects
    2020-10-25T08:06:59.801 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:107:SettingsManager() | Settings database initialized
    2020-10-25T08:06:59.801 hyperiond BLACKBORDER : <DEBUG> BlackBorderProcessor.cpp:64:handleSettingsUpdate() | Set mode to: default
    2020-10-25T08:06:59.802 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Blackborder detector: enabled
    2020-10-25T08:06:59.825 hyperiond DAEMON : <INFO> set screen capture device to 'qt'
    2020-10-25T08:06:59.825 hyperiond QTGRABBER : <DEBUG> Grabber.cpp:30:setVideoMode() | Set videomode to 0
    2020-10-25T08:06:59.825 hyperiond QTGRABBER : <ERROR> No displays found to capture from!
    2020-10-25T08:06:59.825 hyperiond DAEMON : <INFO> Qt grabber created
    2020-10-25T08:06:59.825 hyperiond V4L2:AUTO : <DEBUG> Grabber.cpp:30:setVideoMode() | Set videomode to 0
    2020-10-25T08:06:59.837 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Smoothing: enabled2020-10-25T08:06:59.837 hyperiond LEDDEVICE : <INFO> Start LedDevice 'wled'.

    2020-10-25T08:06:59.837 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:56:init() |
    2020-10-25T08:06:59.837 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:147:init() | deviceConfig: [{"colorOrder":"rgb","currentLedCount":26,"hardwareLedCount":1,"host":"","latchTime":0,"type":"wled"}]
    2020-10-25T08:06:59.837 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:403:setLatchTime() | LatchTime updated to 0ms
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:429:setRewriteTime() | RewriteTime updated to 0ms
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:64:init() | DeviceType : wled
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:65:init() | LedCount : 26
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:66:init() | ColorOrder : rgb
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <DEBUG> LedDeviceWled.cpp:67:init() | LatchTime : 0
    2020-10-25T08:06:59.838 hyperiond FLATBUFCONN : <INFO> Connecting to Hyperion: 127.0.0.1:19401
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <ERROR> Device disabled, device 'wled' signals error: 'No target hostname nor IP defined'
    2020-10-25T08:06:59.838 hyperiond EFFECTENGINE : <INFO> Run effect "Rainbow swirl fast" on channel 0
    2020-10-25T08:06:59.839 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:183:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]
    2020-10-25T08:06:59.839 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:159:registerInput() | Register new input 'System/EFFECT' with priority 0 as inactive
    2020-10-25T08:06:59.839 hyperiond HYPERION : <INFO> Initial foreground effect 'Rainbow swirl fast' started
    2020-10-25T08:06:59.839 hyperiond EFFECTENGINE : <INFO> Run effect "Warm mood blobs" on channel 254
    2020-10-25T08:06:59.839 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:183:runEffectScript() | Start the effect: name [Warm mood blobs], smoothCfg [2]
    2020-10-25T08:06:59.839 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:159:registerInput() | Register new input 'System/EFFECT' with priority 254 as inactive
    2020-10-25T08:06:59.839 hyperiond HYPERION : <INFO> Inital background effect 'Warm mood blobs' started
     
  6. Ralf Locker

    Ralf Locker New Member

    Messages:
    9
    Hardware:
    RPi3
    Nachdem ich die VM mehrfach gestartet habe und mich einmal auf der Oberfläche eingeloggt habe, scheint es doch zu funktionieren. Die GUI ist jetzt erreichbar!
     
  7. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,886
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    2020-10-25T08:06:59.838 hyperiond LEDDEVICE : <ERROR> Device disabled, device 'wled' signals error: 'No target hostname nor IP defined'


    Naja sachen zu testen die nicht vorhanden sind und es dann in einem fehler endet.... was soll ich sagen?
     
  8. Ralf Locker

    Ralf Locker New Member

    Messages:
    9
    Hardware:
    RPi3
    Dass es da zum Fehler kommt war mir ja klar! Nur bis da war ich ja noch gar nicht!
     
  9. Ralf Locker

    Ralf Locker New Member

    Messages:
    9
    Hardware:
    RPi3
    Jetzt ist alles installiert, WLED per App und PC funktioniert. Per Hyperion bekomme ich jetzt folgenden Fehler:

    2020-10-28T18:18:52.734Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
    2020-10-28T18:18:52.848Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) configured v4l device: /dev/video0
    2020-10-28T18:18:52.848Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:582:init_device()) Set device input to: Camera 1
    2020-10-28T18:18:52.850Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:696:init_device()) Set resolution to width=640 height=480
    2020-10-28T18:18:52.852Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:713:init_device()) Set framerate to 832998 fps
    2020-10-28T18:18:52.852Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:751:init_device()) Pixel format=MJPEG
    2020-10-28T18:18:52.853Z [hyperiond V4L2:/DEV/VIDEO0] (ERROR) Throws error nr: VIDIOC_STREAMON error code 5, Input/output error
    2020-10-28T18:18:52.853Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Started
    2020-10-28T18:18:52.853Z [hyperiond V4L2:/dev/video0] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start()
    2020-10-28T18:18:52.735Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
    2020-10-28T18:18:52.853Z [hyperiond V4L2:/DEV/VIDEO0] (ERROR) Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument