Running OH2 on an RPi. Than i have a workstation with win7. Recently got myself some smart sockets so i would like to power off the socket when win7 starts the screensaver and vice versa. What will be the easiest implementation to detect the ScreenSaver running on win7 and informing OH2?

Maybe some automation software?