Files

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Send CEC commands through XBMCs JSON-RPC.
XBMC Gotham is required because that is when these built in function were made available to add-ons.

Accepted commands are:

activate - Wake up playing device via a CEC peripheral
standby - Put playing device on standby via a CEC peripheral
toggle - Toggle state of playing device via a CEC peripheral

example JSON request:

http://localhost:8080/jsonrpc?request={“jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.json-cec”,”params":{"command":"activate"}},"id":1}