Kodi Community Forum

Full Version: run scripts to control receiver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to run a script to turn on or off the receiver when Kodi wakes up - basically when it turns the screen on or off - to wake up and shut down the receiver. (The receiver, Yamaha RX-V775, I can control over the network, easily.)

How do I hook that in?

(Bonus if I also can hook in volume control and run scripts to switch between modes when I start playing a video.)
I have found the answer myself: Use the JSON-RPC on port 9090.