Hi;
I am developing a project part of which starts a video playing the Pi detects movement using a PIR detector.
I have successfully written a short piece of code that plays a video when motion is detected but after a short while the monitor / Pi goes into sleep mode and when the monitor is blank the video does not wake up the monitor?
To get around this I need a way of waking up the monitor?
After Googling I found this page:
http://raspberrypi.stackexchange.com/qu ... creensaver
It suggests using this command:
xset s reset && xset dpms force on
I tried xset -q from a remote session over SSH and it returned -
xset: unable to open display ""
Do I need to name the display?
