I have been trying to setup hyperion for a while but i cant seem to get it right.
I have a arduino connected to the leds and the slots im using on the arduino is GND, 6 and 13 where 6 is data
My script is at the bottom
I then struggled with hypercon but came to a thread where i got hypercon that works specifically with libreelec so i installed it
But im still getting some connection errors when i check on the logs can someone maybe point me in the right direction where im going wrong
Code
SSH Traffic:
ssh connected
ssh out: systemctl start service.hyperion.service 2>/dev/null
ssh out: journalctl -u service.hyperion.service 2>/dev/null
ssh in: -- Logs begin at Sat 2019-03-16 13:59:34 UTC, end at Sat 2019-03-16 14:19:11 UTC. --
ssh in: Mar 16 13:59:34 LibreELEC sh[713]: Device unblocked
ssh in: Mar 16 13:59:35 LibreELEC sh[713]: Opening UART: /dev/ttyACM0
ssh in: Mar 16 13:59:35 LibreELEC sh[713]: Unable to open RS232 device (IO Exception (2): No such file or directory, file ../dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Mar 16 13:59:35 LibreELEC sh[713]: Device blocked for 3000 ms
ssh in: Mar 16 13:59:39 LibreELEC sh[713]: Device unblocked
ssh in: Mar 16 13:59:40 LibreELEC sh[713]: Opening UART: /dev/ttyACM0
ssh in: Mar 16 13:59:40 LibreELEC sh[713]: Unable to open RS232 device (IO Exception (2): No such file or directory, file ../dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Mar 16 13:59:40 LibreELEC sh[713]: Device blocked for 3000 ms
ssh in: Mar 16 13:59:41 LibreELEC sh[713]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 13:59:44 LibreELEC sh[713]: Device unblocked
ssh in: Mar 16 13:59:45 LibreELEC sh[713]: Opening UART: /dev/ttyACM0
ssh in: Mar 16 13:59:45 LibreELEC sh[713]: Unable to open RS232 device (IO Exception (2): No such file or directory, file ../dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Mar 16 13:59:45 LibreELEC sh[713]: Device blocked for 3000 ms
ssh in: Mar 16 13:59:49 LibreELEC sh[713]: Device unblocked
ssh in: Mar 16 13:59:50 LibreELEC sh[713]: Opening UART: /dev/ttyACM0
ssh in: Mar 16 13:59:50 LibreELEC sh[713]: Unable to open RS232 device (IO Exception (2): No such file or directory, file ../dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Mar 16 13:59:50 LibreELEC sh[713]: Device blocked for 3000 ms
ssh in: Mar 16 13:59:52 LibreELEC sh[713]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 13:59:54 LibreELEC sh[713]: Device unblocked
ssh in: Mar 16 13:59:55 LibreELEC sh[713]: Opening UART: /dev/ttyACM0
ssh in: Mar 16 13:59:55 LibreELEC sh[713]: Unable to open RS232 device (IO Exception (2): No such file or directory, file ../dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Mar 16 13:59:55 LibreELEC sh[713]: Device blocked for 3000 ms
ssh in: Mar 16 13:59:59 LibreELEC sh[713]: Device unblocked
ssh in: Mar 16 14:00:00 LibreELEC sh[713]: Opening UART: /dev/ttyACM0
ssh in: Mar 16 14:00:00 LibreELEC sh[713]: Unable to open RS232 device (IO Exception (2): No such file or directory, file ../dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Mar 16 14:00:00 LibreELEC sh[713]: Device blocked for 3000 ms
ssh in: Mar 16 14:00:04 LibreELEC sh[713]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:00:04 LibreELEC sh[713]: Device unblocked
ssh in: Mar 16 14:00:05 LibreELEC sh[713]: Opening UART: /dev/ttyACM0
ssh in: Mar 16 14:00:05 LibreELEC sh[713]: Unable to open RS232 device (IO Exception (2): No such file or directory, file ../dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Mar 16 14:00:05 LibreELEC sh[713]: Device blocked for 3000 ms
ssh in: Mar 16 14:00:09 LibreELEC sh[713]: Device unblocked
ssh in: Mar 16 14:00:10 LibreELEC sh[713]: Opening UART: /dev/ttyACM0
ssh in: Mar 16 14:00:10 LibreELEC sh[713]: Unable to open RS232 device (IO Exception (2): No such file or directory, file ../dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Mar 16 14:00:10 LibreELEC sh[713]: Device blocked for 3000 ms
ssh in: Mar 16 14:00:14 LibreELEC sh[713]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:00:14 LibreELEC sh[713]: Device unblocked
ssh in: Mar 16 14:00:15 LibreELEC sh[713]: Opening UART: /dev/ttyACM0
ssh in: Mar 16 14:00:25 LibreELEC sh[713]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:00:38 LibreELEC sh[713]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:00:50 LibreELEC sh[713]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:01:03 LibreELEC sh[713]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:01:14 LibreELEC sh[713]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:01:28 LibreELEC sh[713]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:01:40 LibreELEC sh[713]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:01:52 LibreELEC systemd[1]: Stopping Hyperion service...
ssh in: Mar 16 14:01:53 LibreELEC sh[713]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:01:54 LibreELEC sh[713]: INFO: Application closed with code 0
ssh in: Mar 16 14:01:54 LibreELEC sh[713]: PROTOSERVER INFO: Connection closed
ssh in: Mar 16 14:01:54 LibreELEC sh[713]: QtHttpServer stopped "Qt Static HTTP File Server"
ssh in: Mar 16 14:01:54 LibreELEC sh[713]: EFFECTENGINE INFO: Cleaning up Python interpreter
ssh in: Mar 16 14:01:54 LibreELEC systemd[1]: service.hyperion.service: State 'stop-sigterm' timed out. Killing.
ssh in: Mar 16 14:01:54 LibreELEC systemd[1]: service.hyperion.service: Killing process 716 (hyperiond) with signal SIGKILL.
ssh in: Mar 16 14:01:54 LibreELEC systemd[1]: service.hyperion.service: Main process exited, code=killed, status=9/KILL
ssh in: Mar 16 14:01:54 LibreELEC systemd[1]: service.hyperion.service: Failed with result 'timeout'.
ssh in: Mar 16 14:01:54 LibreELEC systemd[1]: Stopped Hyperion service.
ssh in: Mar 16 14:01:54 LibreELEC systemd[1]: Starting Hyperion service...
ssh in: Mar 16 14:01:54 LibreELEC systemd[1]: Started Hyperion service.
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: hyperion-x11:
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: version : 22f7be8df010fe8f0a51e3677fe0c8e709042622
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: build time: Jan 28 2019 17:14:27
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19445
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: Hyperion Ambilight Deamon (805)
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: Version : 22f7be8df010fe8f0a51e3677fe0c8e709042622
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: Build Time: Jan 28 2019 17:14:26
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: INFO: Selected configuration file: /storage/.kodi/userdata/addon_data/service.hyperion/hyperion.config.json
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: HYPERION INFO: ColorTransform 'default' => [0; 207]
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: HYPERION INFO: ColorCorrection 'default' => [0; 207]
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: HYPERION INFO: ColorAdjustment 'default' => [0; 207]
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: LEDDEVICE INFO: configuration:
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: {
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: "colorOrder" : "rgb",
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: "delayAfterConnect" : 0,
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: "name" : "MyHyperionConfig",
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: "output" : "/dev/ttyACM0",
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: "rate" : 115,
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: "type" : "adalight"
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: }
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: Opening UART: /dev/ttyACM0
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: INFO: Creating linear smoothing
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: EFFECTENGINE INFO: 27 effects loaded from directory /storage/.kodi/addons/service.hyperion/effects
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: INFO: Hyperion started and initialised
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: BLACKBORDER INFO: threshold set to 0.1 (26)
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: BLACKBORDER INFO: mode:default
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: started
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: INFO: Kodi checker created and started
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: INFO: Json server created and started on port 19444
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: INFO: Proto server created and started on port 19445
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: QtHttpServer started on port 8099 "Qt Static HTTP File Server"
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: FRAMEBUFFERGRABBER INFO: opened with resolution: 1920x1080@32bit
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: BLACKBORDER INFO: threshold set to 0.1 (26)
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: BLACKBORDER INFO: mode:default
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: INFO: Framebuffer grabber created and started
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: X11GRABBER INFO: Update of screen resolution: [0x0] => [1920x1080]
ssh in: Mar 16 14:01:54 LibreELEC sh[802]: X11GRABBER INFO: Using XRender for grabbing
ssh in: Mar 16 14:01:58 LibreELEC sh[802]: EFFECTENGINE INFO: effect finished
ssh in: Mar 16 14:01:59 LibreELEC sh[802]: PROTOCONNECTION INFO: Connected to Hyperion: 127.0.0.1:19445
ssh in: Mar 16 14:01:59 LibreELEC sh[802]: PROTOSERVER INFO: New connection
ssh in: Mar 16 14:01:59 LibreELEC sh[802]: BLACKBORDER INFO: threshold set to 0.1 (26)
ssh in: Mar 16 14:01:59 LibreELEC sh[802]: BLACKBORDER INFO: mode:default
ssh in: Mar 16 14:02:00 LibreELEC sh[802]: BORDER SWITCH REQUIRED!!
ssh in: Mar 16 14:02:00 LibreELEC sh[802]: CURRENT BORDER TYPE: unknown=0 hor.size=8 vert.size=3
ssh in: Mar 16 14:02:06 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:02:17 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:02:28 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:02:39 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:02:49 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:03:01 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:03:12 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:03:23 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:03:34 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:03:45 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:03:53 LibreELEC sh[802]: JSONSERVER INFO: New connection
ssh in: Mar 16 14:03:53 LibreELEC sh[802]: BLACKBORDER INFO: threshold set to 0.1 (26)
ssh in: Mar 16 14:03:53 LibreELEC sh[802]: BLACKBORDER INFO: mode:default
ssh in: Mar 16 14:03:55 LibreELEC sh[802]: JSONSERVER INFO: Connection closed
ssh in: Mar 16 14:03:56 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:04:07 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:04:18 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:04:29 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:04:40 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:04:51 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:05:02 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:05:13 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:05:24 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:05:36 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:05:46 LibreELEC sh[802]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:05:54 LibreELEC systemd[1]: Reloading Hyperion service.
ssh in: Mar 16 14:05:54 LibreELEC systemd[1]: Reloaded Hyperion service.
ssh in: Mar 16 14:06:04 LibreELEC systemd[1]: service.hyperion.service: Service RestartSec=10s expired, scheduling restart.
ssh in: Mar 16 14:06:04 LibreELEC systemd[1]: service.hyperion.service: Scheduled restart job, restart counter is at 1.
ssh in: Mar 16 14:06:04 LibreELEC systemd[1]: Stopped Hyperion service.
ssh in: Mar 16 14:06:04 LibreELEC systemd[1]: Starting Hyperion service...
ssh in: Mar 16 14:06:04 LibreELEC systemd[1]: Started Hyperion service.
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: hyperion-x11:
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: version : 22f7be8df010fe8f0a51e3677fe0c8e709042622
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: build time: Jan 28 2019 17:14:27
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: Hyperion Ambilight Deamon (832)
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: Version : 22f7be8df010fe8f0a51e3677fe0c8e709042622
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: Build Time: Jan 28 2019 17:14:26
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: INFO: Selected configuration file: /storage/.kodi/userdata/addon_data/service.hyperion/hyperion.config.json
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19445
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: HYPERION INFO: ColorTransform 'default' => [0; 207]
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: HYPERION INFO: ColorCorrection 'default' => [0; 207]
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: HYPERION INFO: ColorAdjustment 'default' => [0; 207]
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: LEDDEVICE INFO: configuration:
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: {
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: "colorOrder" : "rgb",
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: "delayAfterConnect" : 0,
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: "name" : "MyHyperionConfig",
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: "output" : "/dev/ttyACM0",
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: "rate" : 115,
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: "type" : "adalight"
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: }
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: Opening UART: /dev/ttyACM0
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: INFO: Creating linear smoothing
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: EFFECTENGINE INFO: 27 effects loaded from directory /storage/.kodi/addons/service.hyperion/effects
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: INFO: Hyperion started and initialised
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: BLACKBORDER INFO: threshold set to 0.1 (26)
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: BLACKBORDER INFO: mode:default
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: started
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: INFO: Kodi checker created and started
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: INFO: Json server created and started on port 19444
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: INFO: Proto server created and started on port 19445
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: QtHttpServer started on port 8099 "Qt Static HTTP File Server"
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: FRAMEBUFFERGRABBER INFO: opened with resolution: 1920x1080@32bit
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: BLACKBORDER INFO: threshold set to 0.1 (26)
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: BLACKBORDER INFO: mode:default
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: INFO: Framebuffer grabber created and started
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: X11GRABBER INFO: Update of screen resolution: [0x0] => [1920x1080]
ssh in: Mar 16 14:06:04 LibreELEC sh[829]: X11GRABBER INFO: Using XRender for grabbing
ssh in: Mar 16 14:06:08 LibreELEC sh[829]: EFFECTENGINE INFO: effect finished
ssh in: Mar 16 14:06:09 LibreELEC sh[829]: PROTOCONNECTION INFO: Connected to Hyperion: 127.0.0.1:19445
ssh in: Mar 16 14:06:09 LibreELEC sh[829]: PROTOSERVER INFO: New connection
ssh in: Mar 16 14:06:09 LibreELEC sh[829]: BLACKBORDER INFO: threshold set to 0.1 (26)
ssh in: Mar 16 14:06:09 LibreELEC sh[829]: BLACKBORDER INFO: mode:default
ssh in: Mar 16 14:06:10 LibreELEC sh[829]: BORDER SWITCH REQUIRED!!
ssh in: Mar 16 14:06:10 LibreELEC sh[829]: CURRENT BORDER TYPE: unknown=0 hor.size=8 vert.size=3
ssh in: Mar 16 14:06:11 LibreELEC sh[829]: JSONSERVER INFO: New connection
ssh in: Mar 16 14:06:11 LibreELEC sh[829]: BLACKBORDER INFO: threshold set to 0.1 (26)
ssh in: Mar 16 14:06:11 LibreELEC sh[829]: BLACKBORDER INFO: mode:default
ssh in: Mar 16 14:06:13 LibreELEC sh[829]: JSONSERVER INFO: Connection closed
ssh in: Mar 16 14:06:16 LibreELEC sh[829]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:06:25 LibreELEC systemd[1]: Reloading Hyperion service.
ssh in: Mar 16 14:06:25 LibreELEC systemd[1]: Reloaded Hyperion service.
ssh in: Mar 16 14:06:35 LibreELEC systemd[1]: service.hyperion.service: Service RestartSec=10s expired, scheduling restart.
ssh in: Mar 16 14:06:35 LibreELEC systemd[1]: service.hyperion.service: Scheduled restart job, restart counter is at 2.
ssh in: Mar 16 14:06:35 LibreELEC systemd[1]: Stopped Hyperion service.
ssh in: Mar 16 14:06:35 LibreELEC systemd[1]: Starting Hyperion service...
ssh in: Mar 16 14:06:35 LibreELEC systemd[1]: Started Hyperion service.
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: Hyperion Ambilight Deamon (844)
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: hyperion-x11:
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: version : 22f7be8df010fe8f0a51e3677fe0c8e709042622
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: build time: Jan 28 2019 17:14:27
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19445
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: Version : 22f7be8df010fe8f0a51e3677fe0c8e709042622
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: Build Time: Jan 28 2019 17:14:26
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: INFO: Selected configuration file: /storage/.kodi/userdata/addon_data/service.hyperion/hyperion.config.json
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: HYPERION INFO: ColorTransform 'default' => [0; 207]
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: HYPERION INFO: ColorCorrection 'default' => [0; 207]
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: HYPERION INFO: ColorAdjustment 'default' => [0; 207]
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: LEDDEVICE INFO: configuration:
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: {
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: "colorOrder" : "rgb",
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: "delayAfterConnect" : 0,
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: "name" : "MyHyperionConfig",
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: "output" : "/dev/ttyACM0",
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: "rate" : 115,
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: "type" : "adalight"
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: }
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: Opening UART: /dev/ttyACM0
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: INFO: Creating linear smoothing
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: EFFECTENGINE INFO: 27 effects loaded from directory /storage/.kodi/addons/service.hyperion/effects
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: INFO: Hyperion started and initialised
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: BLACKBORDER INFO: threshold set to 0.1 (26)
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: BLACKBORDER INFO: mode:default
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: started
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: INFO: Kodi checker created and started
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: INFO: Json server created and started on port 19444
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: INFO: Proto server created and started on port 19445
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: QtHttpServer started on port 8099 "Qt Static HTTP File Server"
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: FRAMEBUFFERGRABBER INFO: opened with resolution: 1920x1080@32bit
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: BLACKBORDER INFO: threshold set to 0.1 (26)
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: BLACKBORDER INFO: mode:default
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: INFO: Framebuffer grabber created and started
ssh in: Mar 16 14:06:35 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:06:36 LibreELEC sh[841]: X11GRABBER INFO: Update of screen resolution: [0x0] => [1920x1080]
ssh in: Mar 16 14:06:36 LibreELEC sh[841]: X11GRABBER INFO: Using XRender for grabbing
ssh in: Mar 16 14:06:39 LibreELEC sh[841]: EFFECTENGINE INFO: effect finished
ssh in: Mar 16 14:06:40 LibreELEC sh[841]: PROTOCONNECTION INFO: Connected to Hyperion: 127.0.0.1:19445
ssh in: Mar 16 14:06:41 LibreELEC sh[841]: PROTOSERVER INFO: New connection
ssh in: Mar 16 14:06:41 LibreELEC sh[841]: BLACKBORDER INFO: threshold set to 0.1 (26)
ssh in: Mar 16 14:06:41 LibreELEC sh[841]: BLACKBORDER INFO: mode:default
ssh in: Mar 16 14:06:47 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:06:58 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:07:02 LibreELEC sh[841]: BORDER SWITCH REQUIRED!!
ssh in: Mar 16 14:07:02 LibreELEC sh[841]: CURRENT BORDER TYPE: unknown=0 hor.size=10 vert.size=51
ssh in: Mar 16 14:07:09 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:07:20 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:07:31 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:07:42 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:07:53 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:08:04 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:08:15 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:08:18 LibreELEC sh[841]: BORDER SWITCH REQUIRED!!
ssh in: Mar 16 14:08:18 LibreELEC sh[841]: CURRENT BORDER TYPE: unknown=0 hor.size=8 vert.size=0
ssh in: Mar 16 14:08:26 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:08:37 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Mar 16 14:08:48 LibreELEC sh[841]: KODICHECK ERROR: Kodi Connection error (0)
Display More
The arduino is running the following script
C
#include <Adafruit_NeoPixel.h>
#include "FastLED.h"
// How many leds in your strip?
#define NUM_LEDS 207
// For led chips like Neopixels, which have a data line, ground, and power, you just
// need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock,
// ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN
#define DATA_PIN 6
#define CLOCK_PIN 13
#define COLOR_ORDER RGB
// Adalight sends a "Magic Word" (defined in /etc/boblight.conf) before sending the pixel data
uint8_t prefix[] = {'A', 'd', 'a'}, hi, lo, chk, i;
// Baudrate, higher rate allows faster refresh rate and more LEDs (defined in /etc/boblight.conf)
#define serialRate 460800
// Define the array of leds
CRGB leds[NUM_LEDS];
void setup() {
// Uncomment/edit one of the following lines for your leds arrangement.
// FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);
FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
// FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<UCS1903B, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<GW6205, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<GW6205_400, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<SM16716, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
// initial RGB flash
LEDS.showColor(CRGB(255, 0, 0));
delay(500);
LEDS.showColor(CRGB(0, 255, 0));
delay(500);
LEDS.showColor(CRGB(0, 0, 255));
delay(500);
LEDS.showColor(CRGB(0, 0, 0));
Serial.begin(serialRate);
Serial.print("Ada\n"); // Send "Magic Word" string to host
}
void loop() {
// wait for first byte of Magic Word
for(i = 0; i < sizeof prefix; ++i) {
waitLoop: while (!Serial.available()) ;;
// Check next byte in Magic Word
if(prefix[i] == Serial.read()) continue;
// otherwise, start over
i = 0;
goto waitLoop;
}
// Hi, Lo, Checksum
while (!Serial.available()) ;;
hi=Serial.read();
while (!Serial.available()) ;;
lo=Serial.read();
while (!Serial.available()) ;;
chk=Serial.read();
// if checksum does not match go back to wait
if (chk != (hi ^ lo ^ 0x55))
{
i=0;
goto waitLoop;
}
memset(leds, 0, NUM_LEDS * sizeof(struct CRGB));
// read the transmission data and set LED values
for (uint8_t i = 0; i < NUM_LEDS; i++) {
byte r, g, b;
while(!Serial.available());
r = Serial.read();
while(!Serial.available());
g = Serial.read();
while(!Serial.available());
b = Serial.read();
leds[i].r = r;
leds[i].g = g;
leds[i].b = b;
}
// shows new values
FastLED.show();
}
Display More