2018-03-03, 13:30
Hello All
Long time fan, first time poster....
I have a raspberry Pi 3 setup with osmc and have been using these setups for years now but I've run into an minor problem that I just can't seem to solve.
In my office\guest room I have a very basic 32 inch monitor for work, but I have been working on a little project to set it up as a smart TV for any guests that stay (so it needs to be very simple to operate - think mother-in-law!).
To switch the monitor off or on, I have a python script that detects the state of a smart plug and turns it off if currently on, or on if currently off. I trigger the script via the power button on one of those very basic RF Kodi remotes using keymap.
It all works well apart from one frustrating problem: If the screensaver has kicked in, the script just isn't triggered! I can press the Home button on the remote to get out of the screensaver and can then turn the monitor on\off (but that is not gonna fly with Mother).
Any thoughts on what could be happening here? Runscript is obviously working, cuz as soon as I exit screensaver it triggers successfully... I've scoured the Kodi.log intently and don't see any clue there - just nothing happens, nothing logged when in screensaver, script is logged when not in screensaver. I've also tried multiple global\fullscreenvideo\visualisation XML setups in the keymap file all to no avail.
Any help is appreciated!
Long time fan, first time poster....
I have a raspberry Pi 3 setup with osmc and have been using these setups for years now but I've run into an minor problem that I just can't seem to solve.
In my office\guest room I have a very basic 32 inch monitor for work, but I have been working on a little project to set it up as a smart TV for any guests that stay (so it needs to be very simple to operate - think mother-in-law!).
To switch the monitor off or on, I have a python script that detects the state of a smart plug and turns it off if currently on, or on if currently off. I trigger the script via the power button on one of those very basic RF Kodi remotes using keymap.
It all works well apart from one frustrating problem: If the screensaver has kicked in, the script just isn't triggered! I can press the Home button on the remote to get out of the screensaver and can then turn the monitor on\off (but that is not gonna fly with Mother).
Any thoughts on what could be happening here? Runscript is obviously working, cuz as soon as I exit screensaver it triggers successfully... I've scoured the Kodi.log intently and don't see any clue there - just nothing happens, nothing logged when in screensaver, script is logged when not in screensaver. I've also tried multiple global\fullscreenvideo\visualisation XML setups in the keymap file all to no avail.
Any help is appreciated!