Hyperion permissions file osmc

How many leds do you have ?

You have 61 defined in your config.

Most arduino sketches for the adalight protocol check the number of LEDs and ignore the update if it doesn’t match.

@mcobit hi mate don’t wanna do your head in but I tried this command and it said no such file or directory I tried sudo cp hyperion.config /etc/hyperion.config.json thanks

So copy the file created by hperion config tool from the windows box to /home/osmc/
Then ssh into the pi and try the following:

sudo service hyperion stop
sudo rm /etc/hyperion.config.json
sudo cp hyperion.config. json /etc/

And for the sake of it…

sudo chmod 777 /etc/hyperion.config.json

If there are errormessages, post them. If it all works and the problem is not solved, it is not a problem with your config.

@mcobit hi mate ive tried what you said as soon as I get to third line down sudo cp hyperion.config.json/etc/ it says this
osmc@osmc:~$ sudo service hyperion stop
osmc@osmc:~$ sudo rm /etc/hyperion.config.json
osmc@osmc:~$ sudo cp hyperion.config.json /etc/
cp: cannot stat ‘hyperion.config.json’: No such file or directory

Whats the name of the config file you copied over?
Is it in the current directory when you do the cp operation?
Hyperion-config program should create a file callled hyperion.config.json

@mcobit I’m assuming its hyperion.config I don’t really know I just followed your instruction

Do
ls -h
In the current directory to see if the file is there.

Edit: Also, if you want to do stuff like config editing and setup of commandlineprograms, please have a look here:

Learning basic linux commands for this kind of task is mandatory if you don’t only want to paste stuff around.

@mcobit yes there is a file called hyperion there but I don’t know if the hyperion.config file is inside it ?

@mcobit I done sudo nano hyperion.config and the file is empty so its been deleted ive tried to copy and paste config file in there but that didn’t work ??

Why hyperion.config?

Try
sudo cp hyperion/hyperion.config.json /etc/

If that worked, restart hyperion with
sudo service hyperion restart

Edit: nano shows a blank file if the file you want to edit does not exist currently.

@mcobit hi mate it worked lol only thing is now hyperion not working when watching a video do I have to enable it again thanks

sudo service hyperion start
Or
sudo service hyperion restart

Or just reboot.
If it doesn’t work, your config has errors.

@mcobit hi mate thanks for your help with my hyperion config It works now at startup but not when playing videos here is what was posted in ssh can you make anything of this thanks

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Nov 3 16:53:29 2015 from
osmc@osmc:~$ sudo service hyperion restart
Job for hyperion.service failed. See ‘systemctl status hyperion.service’ and ‘jo urnalctl -xn’ for details.
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; 60]
Device configuration:
{
“colorOrder” : “rgb”,
“name” : “MyPi”,
“output” : “/dev/spidev0.0”,
“rate” : 250,
“type” : “ws2801”
}

Black border threshold set to 0.01 (3)
Creating linear smoothing
Created linear-smoothing(interval_ms=50;settlingTime_ms=100;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
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”:true}}
Message from XBMC: {“id”:670,“jsonrpc”:“2.0”,“result”:{“version”:{“major”:15,“minor”:1,“revision”:“Unknown”,“tag”:“stable”}}}
effect finished
Message from XBMC: {“jsonrpc”:“2.0”,“method”:“GUI.OnScreensaverDeactivated”,“params”:{“data”:{“shuttingdown”:false},“sender”:“xbmc”}}
Message from XBMC: {“jsonrpc”:“2.0”,“method”:“Playlist.OnClear”,“params”:{“data”:{“playlistid”:1},“sender”:“xbmc”}}
Message from XBMC: {“jsonrpc”:“2.0”,“method”:“Player.OnPlay”,“params”:{“data”:{“item”:{“artist”:[“KISSTORY”],“title”:“KISSTORY”,“type”:“song”},“player”:{“playerid”:1,“speed”:1}},“sender”:“xbmc”}}
Message from XBMC: {“id”:666,“jsonrpc”:“2.0”,“result”:[{“playerid”:1,“type”:“audio”}]}
XBMC checker: switching to AUDIO mode
Message from XBMC: {“jsonrpc”:“2.0”,“method”:“Player.OnStop”,“params”:{“data”:{“end”:false,“item”:{“artist”:[“KISSTORY”],“title”:“KISSTORY”,“type”:“song”}},“sender”:“xbmc”}}
XBMC checker: switching to OFF mode

Are you playing a song? Did you actually try with a video?

Edit: The main problem is that the daemon is not starting. No clue why.
Please post:
systemctl status hyperion.service
And
jo urnalctl -xn
after
sudo service hyperion restart
as suggested.

@mcobit hi mate thanks for reply yes I did try with video as for the song that was my sprog ill have to try tomorrow morning now just started work :sob: ill get back to tomorrow some time thanks for your help anyway

@mcobit hi mate here is the output for systemctl status hyperion.service the out put for journalctl -xn says no files were found hope you can make something of it thanks

osmc@osmc:~$ sudo service hyperion restart
osmc@osmc:~$ systemctl status hyperion.service

  • hyperion.service - SYSV: Hyperion daemon
    Loaded: loaded (/etc/init.d/hyperion)
    Active: active (running) since Wed 2015-11-04 17:52:10 GMT; 11s ago
    Process: 849 ExecStop=/etc/init.d/hyperion stop (code=exited, status=0/SUCCESS)
    Process: 906 ExecStart=/etc/init.d/hyperion start (code=exited, status=0/SUCCESS)
    CGroup: /system.slice/hyperion.service
    `-911 hyperiond /etc/hyperion.config.json

Looks fine actually. Are you sure your config is valid?
Try to reinstall hyperion.