Shutdown and timed startup automation saves your setup from running 24/7.
Configure Kodi
setwakeup.sh
#!/bin/sh
#$1 is the first argument to the script. It is the time in seconds since 1970
#this is defined in mythtv-setup with the time_t argument
#this clears your alarm.
echo 0 > /sys/class/rtc/rtc0/wakealarm
#this writes your alarm
echo $1 > /sys/class/rtc/rtc0/wakealarm
set script to be executable
sudo chmod +x /usr/bin/setwakeup.sh
Referencehttps://forum.kodi.tv/showthread.php?tid=155128
Kommentare