I recently upgraded my Raspberry Pi 256mb from Raspbmc to the OSMC Release Candidate, there were a few hiccups along the way so thought I’d document them here incase anyone else runs into the same issues.
The OSMC RC install went fairly smoothly. I say fairly because it took a few attempts and some digging around before I found out I needed to add gpu_mem=32 to boot.config to prevent the install from hanging on my Raspberry Pi B 256mb.
Once OSMC was installed I then installed Hyperion in the usual way: install prerequisites, download installer, run installer:
sudo apt-get update sudo apt-get install libqtcore4 libqtgui4 libqt4-network libusb-1.0-0 ca-certificates wget -N https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh sudo sh ./install_hyperion.sh
I was then greeted by this message:
Failed to start hyperion.service: Unit hyperion.service failed to load: No such file or directory.
Thankfully the solution is easy, we just need to enable SPI:
sudo nano /boot/config.txt
Then add this to the bottom:
dtparam=spi=on
Finally, reboot – Hyperion and OSMC should now be up and running.
Don’t forget to replace the default /etc/hyperion.config.json with your own.
thanks for the updated, is it possible that your share your hyperion.config.json file? I am having some troubles to make it run
What issues are you having? Any errors? Have you previously had it working with Raspbmc?
My config file is here: http://nadnerb.co.uk/files/hyperion.config.json
But bear in mind you’ll need to configure to your LED set up. From memory, it’s something like 6 on the bottom, 12 on the sides and 20 on top.
Sysytem is not lighting at all after OSMC alpha 4 (it was working with
Raspbmc), I have made a fresh install with OSMC RC, I had some problems
when I was doing the editing with nano /boot/config.txt, did not let me to make the saving due to rights to save the file (any idea how to add the dtparam=spi=on line)
I am having some problems with my .json configuration, I think file was damaged
with OSMC A-4 installation, furtunatelly I have same configuration as
you with my leds, i spect yours can fit in my configuration.
Thankk again for your help, this page is a good reference in order to have the ambient lighting running properly.
Sorry, to edit config.txt you need sudo.
I’ve updated that line above.
As for the json config, I’d leave it with the default one for the time being and once it’s working, then switch to my one or a custom one.
thanks Brendan, no it is working, just the leds configuration is not properly done, How can I create my own .json configuration? thanks in advance for pointing me out to a solution and sorry bothering you many times..
To create your own config you can use this java app here:
https://github.com/tvdzwan/hyperion/wiki/configuration
Done, I have created my file according your instructions, ready to be tested..
I ran it in CMD DOS mode with the command “java -jar HyperCon.jar”.
Thanks
Thank You for this information, appreciated it and helped me through a whole day of headaches!
Thanks for this ! Hyperion is working. Any idea how to turn Hyperion on/off using your TV remote with OSMC ? Can’t find hyperion command in /sbin/initctl
same here…
I’m not sure, I haven’t set that up yet.
I will give it a try and let you know if I get it working.
It is working, but stil illuminated when in ‘menu’. It is set to false…
I have RBP B(1)
Hmm, I don’t use this setting so haven’t noticed that.
If I remember correctly, hyperion connects to the xbmc/kodi web interface to determine what xbmc/kodi is doing (e.g playing video, audio, menu screen etc).
So it looks like hyperion isnt connecting, check the hyperion config file and see if you have the correct user/pass and port.
It is set to this settings. Port is okay and webserver is enabled with te same settings. user and pass are not used.
“xbmcVideoChecker” :
{
“xbmcAddress” : “127.0.0.1”,
“xbmcTcpPort” : 8080,
“grabVideo” : true,
“grabPictures” : true,
“grabAudio” : true,
“grabMenu” : false,
“grabScreensaver” : true,
“enable3DDetection” : true
all comments gone?
I’ve just switched hosts, so it seems something has gone missing, although other posts seem ok…
how do you replace your hyperion.config.json file VIA windows
Use FileZilla to connect to the pi via SFTP