RPI2 + Hyperion + OSMC

OMG Awesome it works! :smiley:Love yout guys. I installed the librarys like on the page of Hyperion not like you did. But now it works perfektly Love it.

+1 :slight_smile:

After installing Hyperion tonight, I ran into problems rebooting. It would hang at ‘reached target shutdown’. Adjusting /etc/init.d/hyperion to the following seems to have fixed it for me:-

    #!/bin/bash

### BEGIN INIT INFO
# Provides:             hyperion
# Required-Start:       $syslog
# Required-Stop:        $syslog
# Default-Start:        2 3 4 5
# Default-Stop:
# Short-Description:    Hyperion LED Daemon
### END INIT INFO

DAEMON=hyperiond

Thought I’d add it here in case anyone else hits a similar issue.

RPI2 + OSMC USB Install Alpha 4.

Looks like the USB Video Grabber I ordered from AliExpress doesn’t work correctly :frowning:
In the selling description it was stated that it had an UTV007 chip … but I got an STK1160

What I read … current kernels don’t work anymore with that chipset … anybody know an seller that ships to the Netherlands and sells an USB Video Grabber with an UTV007 chip guaranteed?

I have installed it like the Post before without any errors, this looks good. But all LEDs are off, i have put my config out oft the Raspian image from insaneware and placed in opt/Hyperion/config. When i Connect with my Smartphone, the APP is connected but i cant switch it on. What could that be?

@chris982 What type of LEDs are you using?

i use the LPD8806 Leds and the EasyCap Video USB Grabber Fushicai UT007 Chip

@chris982 Looking at the source, LPD8806 just uses spi. Check you have the spi module loaded

# lsmod | grep spi_bcm2708
spi_bcm2708             5153  0

Also, have you tried running hyperiond on the console and checking if it lists any errors?

Here my logs:

root@osmc:~# sudo /usr/bin/hyperiond /etc/hyperion.config.json
Application build time: Jan 11 2015 16:59:41
QCoreApplication initialised
Selected configuration file: /etc/hyperion.config.json
ColorTransform ‘default’ => [0; 203]
Device configuration:
{
“colorOrder” : “brg”,
“name” : “MyPi”,
“output” : “/dev/spidev0.1”,
“rate” : 250000,
“type” : “lpd8806”
}

Black border threshold set to 0.01 (3)
Creating linear smoothing
Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
Effect loaded: Knight rider
Effect loaded: Blue mood blobs
Effect loaded: Cold mood blobs
Effect loaded: Full color mood blobs
Effect loaded: Green mood blobs
Effect loaded: Red mood blobs
Effect loaded: Warm mood blobs
Effect loaded: Rainbow mood
Effect loaded: Rainbow swirl fast
Effect loaded: Rainbow swirl
Effect loaded: Snake
Effect loaded: Strobe blue
Effect loaded: Strobe Raspbmc
Effect loaded: Strobe white
Initializing Python interpreter
Hyperion created and initialised
run effect Rainbow swirl fast on channel 0
Boot sequence(Rainbow swirl fast) created and started
XBMC video checker created and started
Display opened with resolution: 1920x1080
Frame grabber created and started
terminate called after throwing an instance of ‘std::runtime_error’
what(): Json server could not bind to port
root@osmc:~# sudo /usr/bin/hyperiond /etc/hyperion.config.json
Application build time: Jan 11 2015 16:59:41
QCoreApplication initialised
Selected configuration file: /etc/hyperion.config.json
ColorTransform ‘default’ => [0; 203]
Device configuration:
{
“colorOrder” : “brg”,
“name” : “MyPi”,
“output” : “/dev/spidev0.0”,
“rate” : 600000,
“type” : “lpd8806”
}

Black border threshold set to 0.1 (26)
Creating linear smoothing
Created linear-smoothing(interval_ms=25;settlingTime_ms=200;updateDelay=0
Effect loaded: Knight rider
Effect loaded: Blue mood blobs
Effect loaded: Cold mood blobs
Effect loaded: Full color mood blobs
Effect loaded: Green mood blobs
Effect loaded: Red mood blobs
Effect loaded: Warm mood blobs
Effect loaded: Rainbow mood
Effect loaded: Rainbow swirl fast
Effect loaded: Rainbow swirl
Effect loaded: Snake
Effect loaded: Strobe blue
Effect loaded: Strobe Raspbmc
Effect loaded: Strobe white
Initializing Python interpreter
Hyperion created and initialised
run effect Rainbow swirl fast on channel 0
Boot sequence(Rainbow swirl fast) created and started
V4L2 width=720 height=480
V4L2 pixel format=UYVY
V4L2 grabber signal threshold set to: {25,25,25}
V4L2 grabber started
V4l2 grabber created and started
terminate called after throwing an instance of ‘std::runtime_error’
what(): Json server could not bind to port
root@osmc:~#

and

root@osmc:~# lsmod | grep spi_bcm2708
spi_bcm2708 5153 0
root@osmc:~#

and

root@osmc:~# sudo /etc/init.d/hyperion restart
Stopping hyperiond Ok
Starting hyperiond… Ok
root@osmc:~#

It seems you’re running hyperion as a service while trying to run it on the console, which is why you’re seeing binding errors. Other than that it looks okay though. I presume you don’t see any LEDs light up using hyperion-remote or such like?

i can only see 1 led in the left corner. all others are out. the remote doesn´t work.

edit: after reboot nothing is on

Does the USB Grabber work out of the box with OSMC?

What grabber shut i buy? Is there another one better?

It should be the best there is atm … but don’t know if @sam_nazarko added the driver for it already, that’s why I asked if it works out of the box.

How can we try your applications store ? ( not yet release ? )

Most applications are in the APT repository already, we just need a front end to enumerate them (this will likely not take long).

Cool, you have talk about a package for hyperion. … If you need alpha/ beta tester … Don’t hesitate :wink:

Soon I hope

Sam

Hi, I have installed OSMC alpha 4 on my RPI2 + Arduino Mega + ws2801 LED x100, but hyperion doesn’t works. It doesn’t connect with xbmc, what could that be?:

osmc@osmc:~$ sudo service hyperion stop
osmc@osmc:~$ sudo /usr/bin/hyperiond /etc/hyperion.config.json
Application build time: Jan 11 2015 16:59:41
QCoreApplication initialised
Selected configuration file: /etc/hyperion.config.json
ColorTransform ‘default’ => [0; 99]
Device configuration:
{
“colorOrder” : “rgb”,
“name” : “MyPi”,
“output” : “/dev/ttyACM0”,
“rate” : 115200,
“type” : “adalight”
}

Opening UART: /dev/ttyACM0
Black border threshold set to 0.01 (3)
Not creating any smoothing
Effect loaded: Knight rider
Effect loaded: Blue mood blobs
Effect loaded: Cold mood blobs
Effect loaded: Full color mood blobs
Effect loaded: Green mood blobs
Effect loaded: Red mood blobs
Effect loaded: Warm mood blobs
Effect loaded: Rainbow mood
Effect loaded: Rainbow swirl fast
Effect loaded: Rainbow swirl
Effect loaded: Snake
Effect loaded: Strobe blue
Effect loaded: Strobe Raspbmc
Effect loaded: Strobe white
Initializing Python interpreter
Hyperion created and initialised
run effect Rainbow swirl fast on channel 0
Boot sequence(Rainbow swirl fast) created and started
XBMC video checker created and started
Display opened with resolution: 1920x1080
Frame grabber created and started
Json server created and started on port 19444
Proto server created and started on port 19445
XBMC Connection error (0)
BORDER SWITCH REQUIRED!!
CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
effect finished
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
XBMC Connection error (0)
^CApplication closed with code 0
Cleaning up Python interpreter

Thanks,

Have you enabled ‘Allow programs on other systems to control Kodi’ in Services?