I can confirm that there isn’t flickering when I’m using a USB2LAN dongle.
My current workaround
[Unit]
Description = hyperion
After = mediacenter.service
[Service]
User = osmc
Group = osmc
Type = simple
ExecStart= /usr/bin/hyperiond /etc/hyperion.config.json
Restart = always
RestartSec = 1
[Install]
WantedBy = multi-user.target
As of OSMC RC2, user osmc doesn’t have read/write access to /dev/spidev0.0
, so removing The User and Group lines in hyperion.service was necessary for hyperion to run properly, otherwise the process would run, but the leds was always off.
Thanks for bringing that to my attention. Will be fixed in next release.
osmc@osmc:~$ sudo /usr/bin/hyperiond /etc/hyperion.config.json
Application build time: Mar 6 2015 20:57:44
QCoreApplication initialised
Selected configuration file: /etc/hyperion.config.json
ColorTransform 'default' => [0; 49]
Device configuration:
{
"colorOrder" : "rgb",
"name" : "MyPi",
"output" : "/dev/spidev0.0",
"rate" : 250000,
"type" : "ws2801"
}
Failed to open device('/dev/spidev0.0')
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: 1280x720
Frame grabber created and started
Json server created and started on port 19444
Proto server created and started on port 19445
XBMC Connected
Message from XBMC: {"id":666,"jsonrpc":"2.0","result":[]}
XBMC checker: switching to OFF mode
Message from XBMC: {"id":668,"jsonrpc":"2.0","result":{"System.ScreenSaverActive":false}}
Message from XBMC: {"id":670,"jsonrpc":"2.0","result":{"version":{"major":14,"minor":2,"revision":"Unknown","tag":"stable"}}}
effect finished
osmc@osmc:~$ sudo /usr/bin/hyperiond /etc/hyperion.config.json
Application build time: Mar 6 2015 20:57:44
QCoreApplication initialised
Selected configuration file: /etc/hyperion.config.json
ColorTransform 'default' => [0; 49]
Device configuration:
{
"colorOrder" : "rgb",
"name" : "MyPi",
"output" : "/dev/spidev0.0",
"rate" : 250000,
"type" : "ws2801"
}
Failed to open device('/dev/spidev0.0')
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: 1280x720
Frame grabber created and started
Json server created and started on port 19444
Proto server created and started on port 19445
XBMC Connected
Message from XBMC: {"id":666,"jsonrpc":"2.0","result":[]}
XBMC checker: switching to OFF mode
Message from XBMC: {"id":668,"jsonrpc":"2.0","result":{"System.ScreenSaverActive":false}}
Message from XBMC: {"id":670,"jsonrpc":"2.0","result":{"version":{"major":14,"minor":2,"revision":"Unknown","tag":"stable"}}}
effect finished
I followed the instructions on this thread to enable SPI and have included the “dtparam=spi=on” in my config.txt and it is still not allowing /dev/spidev0.0 to be acceessed. Any suggestions? Thanks
hyperion is great. running it with a RPI2 and 160 LEDs WS2801. is the KODI hyperion addon doing any processing or is it just capturing an image and the image is send to hyperion? is an atom/ ion system fast enough for the KODI hyperion addon?
can i remove the 3M tape of the WS2801 LED strips from my TV easily?
How do you remove these lines? Where is hyperion.service? Thanks!
anyone solved the problem with onboard RPI LAN connection + flickering? i don’t want to use USB LAN/ WLAN adapters. i can confirm: playing a movie = flickering, playing a movie and using some mood blobs or rainbow swirl effects = flickering, no movie and using effects only = no flickering
Some LAN improvements are coming soon and may improve things
S
i think it’s not an OSMC problem, i got the same results with openelec.
I use LAN and there is no flickering. So it’s possible.
duri: can you please tell us your setup/ configuration?
There is nothing special with my setup i guess.
RPI2 connected over LAN to Router. Lightberry HD connected to RPI2 with supplied cable. The data cable from you SPI is really “sensitive”. Like I said once before, I had flicker when I moved this cable while I run a movie. So first I installed a ferrit core. Since than, things are almost perfect.
Second thing is, you wanna make sure, the power supply and cables from your Lightberry are not crossing with those from the RPI power supply. Also try to have enough distance between them.
Otherwise there is nothing else special on my setup. You any more infos are needed, please don’t hesitate to ask.
I have been using Hyperion with OSMC on my RPi2 for a few weeks/months now and have been having flickering issues from the start. Thanks to some very helpful users on this forum, I tried a USB2LAN adaptor I found lying around and it instantly fixed the issue. Thank you so much!
However, I have another problem, that I only noticed today. Using the Hyperion app to tell all the LEDs to be bright White, I can see that the LEDs gradually fade from a faint blue at the source end, to white at the far end. I am using 50 LEDs on a 47" TV. Has anyone else had this issue? It is quite difficult to search for.
Thanks in advance.
what is the cheapest option to have this running too? (product links please)
@cert hi m mate seen your posts about hyperion your running 160 leds ? what type of power supply do you have where did you get it thanks ?
If you have unused LEDs you should disable them
http://lightberry.eu/support/my-unused-leds-are-on-how-to-turn-them-off/
Do you have a powersouce on both ends of your LED string?
I’m not sure what you mean by ‘unused LEDs’, I use them all. I am powering mine from one end as per the tutorial that I followed.
@afterboy77: i’m using a sfx power supply http://www.lc-power.com/en/product/netzteile/sfx-psus/lc200sfx-v321/
i solved the flickering problem by using a arduino to connect the ws2801 strip.
My Strip is powered from both sides. Since the strip is too long and I don’t wanz to cut it I had to disable dome unused LEDs.
Any update regarding the support of multiple devices in one config? I’d love to use my existing 50 LED strip together with some Philips Hue lights.