Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Activate screen saver from HTTP API
#1
I run Kodi on a number of TVs in my home and have a basic touch-screen application built to control them. One function I would like to add is the ability to turn off the TV using a single command.

Using the Pellucid skin, I have added a custom menu item to my main menu which does this by activating the screensaver, thus turning off the TV over CEC.

In the Skin customization, I can select 'Kodi Command' -> 'Screensaver'

But I have not yet figured out how to activate the screensaver from an HTTP command.

Any thoughts on how one can do this?
Reply
#2
Have a look here: https://forum.kodi.tv/showthread.php?tid=354784
Reply
#3
I did see that thread before posting, it's similar but not quite what I am looking for, this post is how one can change the plugin being used for the screensaver.

I am trying to activate the selected screen saver, on demand. Like clicking the 'preview' button would do in that menu.
Reply
#4
Any other ideas?
Reply
#5
Bump? Any ideas on this?

I am looking for an easy way to turn on/off my TV via CEC - and this seems like the best way to do it via Kodi, but need to know how I can call this command from the API.
Reply

Logout Mark Read Team Forum Stats Members Help
Activate screen saver from HTTP API0