Thanks for the posts with help and ideas! I have tried further and am currently testing with “xset” to turn off/on the screen and it seems to work well. I have “stolen” code and ides from these articles: Cheap PIR Sensors and the Raspberry Pi - Part 1 Exit screensaver on Raspberry Pi with motion sensor So I will not publish any code… :-) //Serimner