I have checked all other forums and pages for reasons why its not working.
I have a test setup of 15 LED and a full setup of 747 LED.
Everything works fine on the Arduino DUE with the 15 LED at 1,000,000 baud rate but when changing it to 747 LED it does not work. I know the Raspberry Model Pi 3 is still talking to it because it still shows green red blue on the 747 LED's when I turn the server off and on. Also the 15 LED work at 57600 Baud rate and have tested many others.
I also know the Arduino can control the 747 LED's as the DemoReel100 in the FastLED library example runs it flawlessly.
Can anyone think of any thing to fix the issue. Thanks for any help I am totally out of ideas.
Led: Ws2812B
I have included the Log from Hyperion even tho it is working with the 15 led fine.
I have included the Arduino script even tho I know that works with the 15 led fine.
AEST. --
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: Hyperion Ambilight Deamon (303)
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: Build Time: Jul 25 2016 06:54:40
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: HYPERION INFO: ColorTransform 'default' => [0; 748]
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: HYPERION INFO: ColorCorrection 'default' => [0; 748]
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: HYPERION INFO: ColorAdjustment 'default' => [0; 748]
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: LEDDEVICE INFO: configuration:
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: {
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: "colorOrder" : "grb",
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: "delayAfterConnect" : 0,
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: "name" : "MyHyperionConfig",
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: "output" : "/dev/ttyACM0",
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: "rate" : 1000000,
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: "type" : "adalight"
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: }
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: Opening UART: /dev/ttyACM0
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: HYPERION INFO: Json forward to 127.0.0.1:19446
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: HYPERION INFO: Proto forward to 127.0.0.1:19447
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: INFO: Creating linear smoothing
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
ssh in: Aug 08 22:33:02 osmc hyperiond[303]: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: INFO: Hyperion started and initialised
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: INFO: Boot sequence 'Rainbow swirl' EFFECTENGINE INFO: run effect Rainbow swirl on channel 0
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: BLACKBORDER INFO: mode:default
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: started
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: INFO: Kodi checker created and started
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: INFO: Json server created and started on port 19444
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19447
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: INFO: Proto server created and started on port 19445
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: INFO: Boblight server created and started on port 19333
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: BLACKBORDER INFO: mode:default
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: INFO: Frame grabber created and started
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: KODICHECK ERROR: Kodi Connection error (0)
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: BORDER SWITCH REQUIRED!!
ssh in: Aug 08 22:33:03 osmc hyperiond[303]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
ssh in: Aug 08 22:33:06 osmc hyperiond[303]: EFFECTENGINE INFO: effect finished
ssh in: Aug 15 12:35:37 osmc hyperiond[303]: PROTOCONNECTION INFO: No connection to Hyperion: 127.0.0.1:19447
ssh in: Aug 15 12:35:42 osmc hyperiond[303]: KODICHECK INFO: Kodi Connected
ssh in: Aug 15 12:35:42 osmc hyperiond[303]: KODICHECK INFO: switching to MENU mode
ssh in: Aug 15 12:35:42 osmc hyperiond[303]: PROTOCONNECTION INFO: No connection to Hyperion: 127.0.0.1:19447
ssh in: Aug 15 12:36:38 osmc hyperiond[303]: INFO: Application closed with code 0
ssh in: Aug 15 12:36:38 osmc hyperiond[303]: KODICHECK INFO: Kodi Disconnected
ssh in: Aug 15 12:36:38 osmc hyperiond[303]: EFFECTENGINE INFO: Cleaning up Python interpreter
ssh in: Aug 15 12:36:42 osmc hyperiond[554]: Hyperion Ambilight Deamon (554)
ssh in: Aug 15 12:36:42 osmc hyperiond[554]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
ssh in: Aug 15 12:36:42 osmc hyperiond[554]: Build Time: Jul 25 2016 06:54:40
ssh in: Aug 15 12:36:42 osmc hyperiond[554]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: HYPERION INFO: ColorTransform 'default' => [0; 747]
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: HYPERION INFO: ColorCorrection 'default' => [0; 747]
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: HYPERION INFO: ColorAdjustment 'default' => [0; 747]
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: LEDDEVICE INFO: configuration:
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: {
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: "colorOrder" : "grb",
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: "delayAfterConnect" : 0,
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: "name" : "MyHyperionConfig",
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: "output" : "/dev/ttyACM0",
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: "rate" : 1000000,
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: "type" : "adalight"
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: }
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: HYPERION INFO: Json forward to 127.0.0.1:19446
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: HYPERION INFO: Proto forward to 127.0.0.1:19447
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: INFO: Creating linear smoothing
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: INFO: Hyperion started and initialised
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: INFO: Boot sequence 'Rainbow swirl' EFFECTENGINE INFO: run effect Rainbow swirl on channel 0
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: BLACKBORDER INFO: mode:default
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: started
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: INFO: Kodi checker created and started
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: INFO: Json server created and started on port 19444
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19447
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: INFO: Proto server created and started on port 19445
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: INFO: Boblight server created and started on port 19333
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: BLACKBORDER INFO: mode:default
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: INFO: Frame grabber created and started
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: KODICHECK INFO: Kodi Connected
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: KODICHECK INFO: switching to MENU mode
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: BORDER SWITCH REQUIRED!!
ssh in: Aug 15 12:36:43 osmc hyperiond[554]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
ssh in: Aug 15 12:36:46 osmc hyperiond[554]: EFFECTENGINE INFO: effect finished
ssh in: Aug 15 12:36:48 osmc hyperiond[554]: PROTOCONNECTION INFO: No connection to Hyperion: 127.0.0.1:19447
ssh in: Aug 15 12:36:53 osmc hyperiond[554]: PROTOCONNECTION INFO: No connection to Hyperion: 127.0.0.1:19447
ssh in: Aug 15 12:36:58 osmc hyperiond[554]: PROTOCONNECTION INFO: No connection to Hyperion: 127.0.0.1:19447
ssh in: Aug 15 12:37:03 osmc hyperiond[554]: PROTOCONNECTION INFO: No connection to Hyperion: 127.0.0.1:19447
ssh in: Aug 15 12:37:07 osmc hyperiond[554]: Serial exception caught while writing to device: SerialException device reports readiness to write but returned no data (device disconnected?) failed.
ssh in: Aug 15 12:37:07 osmc hyperiond[554]: Attempting to re-open the device.
ssh in: Aug 15 12:37:07 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:07 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:07 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:10 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:10 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:10 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:10 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:13 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:13 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:13 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:13 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:16 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:16 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:16 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:16 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:19 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:19 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:19 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:19 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:22 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:22 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:22 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:22 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:25 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:25 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:25 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:25 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:28 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:28 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:28 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:28 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:31 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:31 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:31 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:31 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:34 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:34 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:34 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:34 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:37 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:37 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:37 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:37 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:40 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:40 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:40 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:40 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:43 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:44 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:44 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:44 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:47 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:47 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:47 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:47 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:50 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:50 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:50 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:50 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:53 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:53 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:53 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:53 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:56 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:56 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:56 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:56 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:37:59 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:37:59 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:37:59 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:37:59 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:38:02 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:38:02 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:38:02 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:38:02 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:38:05 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:38:05 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:38:05 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:38:05 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:38:08 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:38:08 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:38:08 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:38:08 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:38:11 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:38:11 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:38:11 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:38:11 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:38:14 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:38:14 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:38:14 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:38:14 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:38:17 osmc hyperiond[554]: Device unblocked
ssh in: Aug 15 12:38:17 osmc hyperiond[554]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:38:17 osmc hyperiond[554]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:38:17 osmc hyperiond[554]: Device blocked for 3000 ms
ssh in: Aug 15 12:38:19 osmc hyperiond[554]: INFO: Application closed with code 0
ssh in: Aug 15 12:38:19 osmc hyperiond[554]: KODICHECK INFO: Kodi Disconnected
ssh in: Aug 15 12:38:19 osmc hyperiond[554]: EFFECTENGINE INFO: Cleaning up Python interpreter
ssh in: Aug 15 12:38:27 osmc hyperiond[587]: Hyperion Ambilight Deamon (587)
ssh in: Aug 15 12:38:27 osmc hyperiond[587]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
ssh in: Aug 15 12:38:27 osmc hyperiond[587]: Build Time: Jul 25 2016 06:54:40
ssh in: Aug 15 12:38:27 osmc hyperiond[587]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: HYPERION INFO: ColorTransform 'default' => [0; 747]
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: HYPERION INFO: ColorCorrection 'default' => [0; 747]
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: HYPERION INFO: ColorAdjustment 'default' => [0; 747]
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: LEDDEVICE INFO: configuration:
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: {
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: "colorOrder" : "grb",
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: "delayAfterConnect" : 0,
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: "name" : "MyHyperionConfig",
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: "output" : "/dev/ttyACM0",
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: "rate" : 1000000,
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: "type" : "adalight"
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: }
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: HYPERION INFO: Json forward to 127.0.0.1:19446
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: HYPERION INFO: Proto forward to 127.0.0.1:19447
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: INFO: Creating linear smoothing
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: INFO: Hyperion started and initialised
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: INFO: Boot sequence 'Rainbow swirl' EFFECTENGINE INFO: run effect Rainbow swirl on channel 0
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: BLACKBORDER INFO: mode:default
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: started
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: INFO: Kodi checker created and started
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: INFO: Json server created and started on port 19444
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19447
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: INFO: Proto server created and started on port 19445
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: INFO: Boblight server created and started on port 19333
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: BLACKBORDER INFO: mode:default
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: INFO: Frame grabber created and started
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: KODICHECK INFO: Kodi Connected
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: KODICHECK INFO: switching to MENU mode
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: Device blocked for 3000 ms
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: BORDER SWITCH REQUIRED!!
ssh in: Aug 15 12:38:28 osmc hyperiond[587]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
ssh in: Aug 15 12:38:31 osmc hyperiond[587]: Device unblocked
ssh in: Aug 15 12:38:31 osmc hyperiond[587]: EFFECTENGINE INFO: effect finished
ssh in: Aug 15 12:38:31 osmc hyperiond[587]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:38:31 osmc hyperiond[587]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:38:31 osmc hyperiond[587]: Device blocked for 3000 ms
ssh in: Aug 15 12:38:34 osmc hyperiond[587]: Device unblocked
ssh in: Aug 15 12:38:34 osmc hyperiond[587]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:38:34 osmc hyperiond[587]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.)
ssh in: Aug 15 12:38:34 osmc hyperiond[587]: Device blocked for 3000 ms
ssh in: Aug 15 12:38:37 osmc hyperiond[587]: Device unblocked
ssh in: Aug 15 12:38:37 osmc hyperiond[587]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:38:38 osmc hyperiond[587]: PROTOCONNECTION INFO: No connection to Hyperion: 127.0.0.1:19447
ssh in: Aug 15 12:38:41 osmc hyperiond[587]: INFO: Application closed with code 0
ssh in: Aug 15 12:38:41 osmc hyperiond[587]: KODICHECK INFO: Kodi Disconnected
ssh in: Aug 15 12:38:41 osmc hyperiond[587]: EFFECTENGINE INFO: Cleaning up Python interpreter
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: Hyperion Ambilight Deamon (610)
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: Build Time: Jul 25 2016 06:54:40
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: HYPERION INFO: ColorTransform 'default' => [0; 747]
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: HYPERION INFO: ColorCorrection 'default' => [0; 747]
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: HYPERION INFO: ColorAdjustment 'default' => [0; 747]
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: LEDDEVICE INFO: configuration:
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: {
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: "colorOrder" : "grb",
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: "delayAfterConnect" : 0,
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: "name" : "MyHyperionConfig",
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: "output" : "/dev/ttyACM0",
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: "rate" : 1000000,
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: "type" : "adalight"
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: }
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: Opening UART: /dev/ttyACM0
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: HYPERION INFO: Json forward to 127.0.0.1:19446
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: HYPERION INFO: Proto forward to 127.0.0.1:19447
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: INFO: Creating linear smoothing
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: INFO: Hyperion started and initialised
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: INFO: Boot sequence 'Rainbow swirl' EFFECTENGINE INFO: run effect Rainbow swirl on channel 0
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: BLACKBORDER INFO: mode:default
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: started
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: INFO: Kodi checker created and started
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: INFO: Json server created and started on port 19444
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19447
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: INFO: Proto server created and started on port 19445
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: INFO: Boblight server created and started on port 19333
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: BLACKBORDER INFO: mode:default
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: INFO: Frame grabber created and started
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: KODICHECK INFO: Kodi Connected
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: KODICHECK INFO: switching to MENU mode
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: BORDER SWITCH REQUIRED!!
ssh in: Aug 15 12:38:42 osmc hyperiond[610]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
ssh in: Aug 15 12:38:45 osmc hyperiond[610]: EFFECTENGINE INFO: effect finished
Alles anzeigen
#include "FastLED.h"
#if FASTLED_VERSION < 3001000
#error "Requires FastLED 3.1 or later; check github for latest code."
#endif
// How many leds in your strip?
#define NUM_LEDS 747
// 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 8
//#define CLOCK_PIN 8
#define COLOR_ORDER GRB
// 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 1000000
// Define the array of leds
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<WS2812B, DATA_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();
}
Alles anzeigen