diff --git a/docs/scheduled_display.md b/docs/scheduled_display.md index 4b33818..8f17528 100644 --- a/docs/scheduled_display.md +++ b/docs/scheduled_display.md @@ -5,6 +5,27 @@ The below comamnds will setup automatic on/off of the monitor connected to the H The below is setup to turn the display on at ```0600``` and off at ```0000```. Please adjust accordingly. ``` sh +DL_URL=$(curl https://git.kemonine.info/api/v1/repos/PiFrame/piframe-go/releases | jq -r '.[0].assets[] | select(.name == "hdmi") | .browser_download_url') +wget $DL_URL -O /usr/local/bin/pf-hdmi +chmod a+x /usr/local/bin/pf-hdmi +cat > /etc/systemd/system/hdmi-on-off.service < /etc/systemd/system/screen-on.timer <