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 can
import xbmc and use internal Kodi functions.