Ubuntu Core 18.04 on an Intel NUC connected to a Touchscreen with webcam.
Run a webpage in Kiosk mode and activate screen only if someone is around.
In the configuration options of “motion-ogra” (on_event_start/on_event_end) one can choose to call a script if motion starts or ends.
In this script I’d like to turn on/off the screen so that it only is activated if someone is around.
So, one chance would be to start or stop the snap “chromium-mir-kiosk” to get the screen enlightened or blank.
Another possibility would be to use some sort of command to turn the HDMI output off and on again.
How can I access resources out of one snaps scope?
Any help would be welcome.
Thanks in advance!