OSMC and Hyperion

Hi Sam,
just did a fresh install of osmc and hyperion (hissingsharks installer)
sudo systemctl status hyperion.service shows

osmc@jj-osmc:~/hyperion-vero4k$ sudo systemctl status hyperion.service

  • hyperion.service - Hyperion ambient light systemd service for user osmc
    Loaded: loaded (/etc/systemd/system/hyperion.service; disabled; vendor preset: enabled)
    Active: activating (auto-restart) (Result: exit-code) since Fri 2019-11-15 21:13:25 CET; 1s ago
    Process: 7001 ExecStopPost=/bin/sh -c exec sh /usr/share/hyperion/bin/drmctl.sh stop (code=exited, status=0/SUCCESS)
    Process: 6997 ExecStart=/usr/bin/hyperiond (code=exited, status=1/FAILURE)
    Process: 6967 ExecStartPre=/bin/sh -c exec sh /usr/share/hyperion/bin/drmctl.sh start (code=exited, status=0/SUCCESS)
    Main PID: 6997 (code=exited, status=1/FAILURE)

Nov 15 21:13:25 jj-osmc systemd[1]: hyperion.service: Failed with result ‘exit-code’.
osmc@jj-osmc:~/hyperion-vero4k$

Thanks for doing a fresh install. It’s best to start clean.

Can you confirm that these are the commands you ran to attempt installation:

sudo apt-get install git
git clone https://github.com/hissingshark/hyperion-vero4k.git
cd hyperion-vero4k
sudo ./install.sh

Sam

Thanks for your time …
I ran exactly this commands, like described on GitHub - hissingshark/hyperion-vero4k: Automated build and default install of Hyperion.ng on the Vero4K (OSMC)

Jens

OK, let’s see if everything is where is should be:
ls -l /usr/local/share/hyperion/bin
ls -l /usr/local/bin | grep hyperion

Something must be missing…

osmc@jj-osmc:/$ ls -l /usr/local/share/hyperion/bin
ls: cannot access ‘/usr/local/share/hyperion/bin’: No such file or directory

osmc@jj-osmc:/$ ls -l /usr/local/bin | grep hyperion
osmc@jj-osmc:/$

Big time. So did you build from source or install the pre-built binaries?

I choose the first Option, Install from binary

Leave it with me. Just doing a clean install on my Vero4K. Will run through the process afresh.

Thanks a lot!

They’ve moved from using config files for hyperion.ng to using a database. That’s what isn’t working for you. Bad commit and a missing package. Didn’t show up without doing the full tear down.

Just run the following and you should be good to go.
sudo apt-get install libqt5sql5-sqlite

Start the service and then visit the webGUI.

1 Like

Awesome!
Now i can start the service and see the WebGUI. Thanks you so much!

WebGUI looks all new to me, hope i can it working to send the grabbed information to my Hyperion on Rpi Zero W.
Any hint would be appreciated.

1 Like

So how was your Kodi box connected to the Zero previously?

My Kodi Box was running the hyperion addon https://hyperion-project.org/wiki/Kodi-Addon
and sends the data over wlan to the zero.

There are a few options for network based controllers under:
Configuration-> LED Hardware->LED Controller->Controller type

Presumably your Zero was configured to masquerade as one of those. Is there a guide you followed for setting up Hyperion on the Zero?

I tried controller type udpraw and entered Zero´s IP Address with Port 19445.

I followed this guide for installation https://hyperion-project.org/wiki/Installation-on-all-systems
using Hypercon.

I think i have to start the forwarder service under Configuration - Network - Forwarder?
If so, i tried but the service won´t start.

Hypercon is for configuring Hyperion “classic”. Unfortunately it’s not clear from that link what software you installed on the Zero or how it was configured.

NG uses the webGUI only. And under its settings:
Configuration->Network Services->

Flatbuffers Server

Google Flatbuffers Receiver. Used for fast image transmission.

Protocol Buffers Server

The PROTO-Port of all Hyperion instances, used for picture streams (HyperionScreenCap, Kodi Addon, Android Hyperion Grabber, …)

They seem to be enabled by default. So perhaps it is the Zero that needs to be configured to listen to those ports broadcasting from the Vero4K?

Ah hang on, if you change the settings level to “expert” (spanner icon on the top right) then there will be:
Configuration->Network Services->Forwarder

It isn’t active by default, which is promising as it wasn’t working for you yet. Also you can set the IP address of the Zero there.

Obviously the ports will need to match on the Zero. If there is any issue you might need to install NG on the Zero too.

O.K. got it! Now i can run the forwarder.

Unfortunately i dont get the LED´s to light up.
Can i send a colour to the Zero´s Hyperion via WebGUI? The Ports seem to match.

Maybe this is the problem ?

Yes the remote control section of the menu lets you set colours and effects. The TV screen icon at the top right is for the live preview, to be sure the grabbing is happening too.