Solved Control kodi over http
#1
How to control kodi over http commands? -something like http://ip_kodi/pause for pause. I found control over json, but i´m not sure, how to add to http command.

From communication in chrome browser i found this:
http://192.168.1.200/jsonrpc?Player.GetActivePlayers
http://192.168.1.200/jsonrpc?Player.PlayPause

But i´m not sure, if is relevant for solved my problem. I´d like control kodi over HW button from my workshop (hw buttons and arduino with ethernet shield ord esp, which sends commands over network). Kodi is instaled on windows 7-so using gpio isn´t possible and version is 17, krypton.
Reply
#2
JSON-RPC_API/v8 (wiki)

JSON-RPC_API (wiki)

JSON-RPC_API/Examples (wiki)

https://forum.kodi.tv/showthread.php?tid=157996

The above wiki pages and thread may give more of an overview?
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#3
Thanks, it was very helpful. On 7 th page of link on this forum in your answer, are basic commands.
Reply
#4
You're welcome Smile

Depending on what you're doing the link below may be useful too. It's a python module for controlling kodi via Json

https://pypi.python.org/pypi/kodi-json/1.0.0
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#5
Thread marked solved.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply

Logout Mark Read Team Forum Stats Members Help
Control kodi over http0