UMP (Unified Media Platform)

12.4 Scheduled Wakeup and the OSD

 

To allow for scheduled recordings, the device supports an automatic wakeup from the powered off state. This provides the capability to wake up at a scheduled time, perform a recording, and, if configured, shut down automatically afterwards.

 

As mentioned previously in chapter 1, section 2, the UMP has three power states, On, Off and Hibernation. A scheduled wakeup will NOT work from hibernation. This is also the reason why the device shuts down when idle, and doesn’t automatically hibernate. Note that automatic shutdown doesn’t need to be enabled, though it is recommended to benefit fully from the power saving functionality.

 

A scheduled wakeup doesn’t necessarily involve a recording, though this is the only function for which the device will automatically handle the scheduling of the task. If you schedule a recording to start at a time more than 45 minutes in the future and shutdown the UMP from the OSD, it will display when the scheduled wakeup should take place in the Shutdown confirmation dialog. If there are no scheduled recordings, the device will suggest the default wakeup time, if enabled.

 

Note that the device starts approximately 6 minutes before the scheduled recording, 3 to allow for its startup time and another 3 because of the default pre-record buffer to record.

 

To configure the power saving and wakeup settings, there are a number of plugins that can be enabled, disabled and configured. An overview is presented below:

 

-         autoshutdown – This plugin configures the system to startup for the next recording or a configured default wakeup time at each shutdown. This plugin is enabled by default.

 

-         autoshutdown.autoshutdowntimer – This plugin provides a timer which causes a shutdown of the system after a certain idle time has passed. This plugin is enabled by default.

 

-         shutdown – This plugin allows you to shutdown the UMP from the main menu. No wakeup or other options are available. Note that you cannot enable the shutdown and the autoshutdown plugin simultaneously.

 

 

You can enable, disable or provide arguments for these plugins in the Web Interface by navigating to Plugins -> Global, although it is recommended to leave the default settings. Note that wakeups are only available with the autoshutdown plugin.


 

12.4 Scheduled Wakeup and the OSD (continued)

 

Below is an overview of the configuration parameters for the shutdown and wakeup of the device. You can find these settings by accessing the Web Interface and navigating to Settings -> All -> Shutdown or Settings -> All -> Sys.

 

 

SYS_SHUTDOWN_CMD = "/usr/share/freevo/scripts/Shutdown"

 

Here you can specify the shutdown command. The default script uses ‘shutdown –h now’. This parameter is only used by the simple shutdown plugin. It is recommended to use the default value.

 

SYS_RESTART_CMD = "/usr/share/freevo/scripts/Restart"

 

Here you can specify the restart command. The default script uses ‘shutdown –rf now’. This parameter is only used by the simple shutdown plugin. It is recommended to use the default value.

 

SYS_SHUTDOWN_ENABLE = True

 

Here you can specify whether the system can be shut down via the OSD. If you set this option to false, generally only the OSD will exit when shutdown is selected. You can still shut the UMP down via the Web Interface or the Desktop Mode. This parameter is only used by the autoshutdown plugin. It is recommended to use the default value.

 

SYS_SHUTDOWN_CONFIRM = True

 

Here you can specify whether the OSD should ask for a confirmation on a regular shutdown request. This parameter is only used by the simple shutdown plugin. It is recommended to use the default value.

 

AUTOSHUTDOWN_CONFIRM = True

 

Here you can specify whether the OSD should ask for a confirmation on a regular shutdown request. This parameter is only used by the autoshutdown plugin. It is recommended to use the default value.


 

12.4 Scheduled Wakeup and the OSD (continued)

 

Here is the continuation of the parameters overview from the previous page.

 

 

AUTOSHUTDOWN_PRETEND = False

 

Here you can specify whether the system should only simulate a shutdown. It is only useful for testing or disabling the shutdown feature. This parameter is only used by the autoshutdown plugin. It is recommended to use the default value.

 

AUTOSHUTDOWN_PROCESS_LIST = […]

 

Here you can specify what tasks should NOT be interrupted for shutdown. If you attempt to shutdown the device from the OSD, a warning dialog is displayed confirming whether you wish to shut down. This parameter is only used by the autoshutdown plugin. It is recommended to use the default value.

 

AUTOSHUTDOWN_DEFAULT_WAKEUP_TIME = "15:15"

 

Here you can specify a default wakeup time which will be executed every day. This parameter is only used by the autoshutdown plugin. It is recommended to use the default value or disable it.

 

AUTOSHUTDOWN_FORCE_DEFAULT_WAKEUP = True

 

Here you can specify whether the device should wake up every day. The time is defined in the parameter above. This parameter is only used by the autoshutdown plugin. It is recommended to use the default value.

 

AUTOSHUTDOWN_TIMER_TIMEOUT = 30

 

Here you can specify the number of minutes to wait before shutting down if the device is idle. This parameter is only used by the autoshutdown plugin.

 


 

12.4 Scheduled Wakeup and the OSD (continued)

 

Here is the continuation of the parameters overview from the previous page.

 

 

AUTOSHUTDOWN_ALLOWED_IDLE_TIME = 45

 

Here you can specify the minimum number of minutes that the device should wait to perform a scheduled recording instead of shutting down. This prevents frequent powering on and off when there are multiple programs scheduled within small timeframes. This parameter is only used by the autoshutdown plugin. It is recommended to use the default value.

 

AUTOSHUTDOWN_WAKEUP_TIME_PAD = '180'

 

Here you can specify how many seconds the device should allow for starting up due to a scheduled wakeup. The default may not be enough if you have a large amount of data on the harddisk or when the network initialization takes longer on your network.

 

 

Idle/Active

 

Note that the term ‘idle’ is used to indicate the state of the device when there is no user input and when no background tasks are running, such as a recording, CD or DVD ripping, video re-encoding or media playback. Activity in the Web Interface does not constitute ‘activity’ to the shutdown subsystem, the only exception here being the usage of Helper scripts that use background tasks, listed in the exclusion list, or usage of the Web Remote.

 

 

Limitations

 

Some limitations are present in this system, though in general they should not cause any problems.

 

-         Scheduled wakeups will ONLY be executed when the device was shut down from the OSD or the Web Interface.

-         Scheduled wakeups will NOT work when the device is in hibernation mode.

-         Only one wakeup can scheduled at a given time, though the device may be aware of future wakeups.