v16 Using Kodi as Home Automation Controller(API commands in submenu)
#1
hi people,

I have a wifi light that can be turned on and off by API commands.

Since my kodi is in the same network i wanted to make a submenu item that can give those API commands so that the Kodi works as Home Automation controller as well.

The following is the API command i give in the broswer that turns my light on:
http://192.168.1.106/orrin?saya=load+_11DSA0000

Now when i give this exact command in the 'custom item' in submenu action, it does not work.

Is there something else has to be done hereHuh

PS: I don't have much command on networking.

Please help!
Reply
#2
Kodi doesn't know how to handle the url. What you can do is find out how to send the url over command line, put that in a script and use System.Exec(script.sh/cmd) in the custom shortcut action.
Reply
#3
....
Reply

Logout Mark Read Team Forum Stats Members Help
Using Kodi as Home Automation Controller(API commands in submenu)0