Standby Resume / Wake Even Management?

  • Hi,

    Is anyone aware of any API or mechanism to manage standby wake events (not power on events).

    What I am attempting to do is superficially quite simple, but doesn't currently seem possible (at least with my knowledge).

    1. Wake the LibreELEC x64 device from standby at a specific time e.g. 7am
    2. Start TV playback on a pre-set channel e.g. Channel 133

    I can get the device to come out of standby at a specific time using the PVR Power Management settings.

    Getting #2 to happen seems to be where there currently isn't any solution. Standby resume does not honour the setting for the action to take when Kodi starts up - it goes back to whatever it was doing before it was put into standby. This could be TV playback, media playback or just sitting on a menu i.e. inconsistent and user dependent.

    The BIOS/UEFI wake on timer doesn't wake from a standby state, just a powered off state. So this doesn't offer an approach on its own. The startup functionality option doesn't allow pre-selection of the channel number though, it just drops back to the last used channel. Thus, it's not quite there either.

    Is anyone aware of any events that can be trapped and a handler added that allow customisation of standby resume parameters at this granularity?

    Thanks,