[HOWTO] Vero 4K / 4K: Performing actions programatically on Standby and Wakeup


There have been some requests to control behaviour when Vero 4K / 4K + is put in to or woken from standby using via the Power -> Suspend option.

It is now possible (as of the 2018-12.1 update) to run scripts when toggling standby state.

You can place Python scripts accordingly:


If your script is in the right place, you should see the following in your log (debug logging is not required):

CApplication::ToggleStandby – script /home/osmc/.kodi/userdata/wake.py found


CApplication::ToggleStandby – script /home/osmc/.kodi/userdata/standby.py found

These are run via Kodi’s context, so you canimport xbmc and use internal Kodi functions.

Suspend/sleep behaviour
Wake.py start vpn and scan library

thanks sam, very useful to control the rest of the media setup.
is the mentioned update a “official” one? I’m not yet familiar with the update cycle on the vero… is there any link to a post to catch up?


That update should be out later today. Check in MyOSMC or wait for the announcement here. If you are not on automatic updates, download it manually.


thanks grahamh, is there any kind of changelog?


A link to the blog post will be provided on this forum at time of release.


Should now be ready


Hi Sam,

have seen this by accident in the logs and just tried out - worked first try!
Now my Hyperion setup survives standby/resume cycles without manually restarting the hyperion service!!!

you == legend.


OSMC and Hyperion