Skip to content

About

Control CEC devices through Kodi's JSON-RPC API

Resources

Stars

4 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forked from https://github.com/joshjowen/script.json-cec

Usage

Accepted commands

  • 'activate' - Wake up playing device
  • 'toggle' - Toggle state of playing device
  • 'standby' - Put playing device on standby

Request example

curl -X POST -H 'content-type:application/json' http://kodi:8080/jsonrpc -d '{"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.module.json-cec","params":{"command":"activate"}},"id":1}' 

Installation

Clone the project to Kodi addons folder: ~/.kodi/addons/

About

Control CEC devices through Kodi's JSON-RPC API

Resources

Stars

4 stars

Watchers

0 watching

Forks

Contributors

Languages