Black Screen after script

Hi Folks,

I’m running Hyperion on my Vero4k but sometimes I want to switch off the effect for some reasons.
I grabbed myself some info for this at this site: How to: turn Hyperion on/off using your TV remote. |

This is focused towards a raspberry pi installment but I rewrote the script to my best knowledge to my Vero4k.

Unfortunately the Vero4k apperently goes in Black Screen and won’t react to anything anymore.

Has maybe someone a hint for me where I messed up?

My Script:


if [ sudo systemctl status hyperion.service | grep running | wc -l = 1 ]
curl -v -H “Accept: application/json” -H “Content-type: application/json” -X POST -d ‘{“id”:1,“jsonrpc”:“2.0”,“method”:“GUI.ShowNotification”,“params”:{“title”:“Hyperion”,“message”:“Aus”,“image”:"/home/osmc/Pictures/hyperion.png"}}’
sudo systemctl stop hyperion.service

curl -v -H “Accept: application/json” -H “Content-type: application/json” -X POST -d ‘{“id”:1,“jsonrpc”:“2.0”,“method”:“GUI.ShowNotification”,“params”:{“title”:“Hyperion”,“message”:“An”,“image”:"/home/osmc/Pictures/hyperion.png"}}’
sudo systemctl start hyperion.service

I got the keymap under

created with an Kodi addon.
The keymapping is like this (file is named gen.xml, the addon made it like so, maybe this is the fault?)


It seems that the blue key is not the for my remote.

If someone has a hint for me, that’d be great :slight_smile: