Hello, first post here
I’ve managed to nearly complete my first “project” within Kodi. I’ve assigned a button on the remote to turn off a light with Tellstick via IFTTT.
I launch a python script from keymap.xml that sends a web-request to IFTTT via Curl
It works when I’m one step in from the main menu in Kodi, like Videos or System.
But when I’m in the main menu it doesn’t work.
I’ve put the code within Global as I thought that would make the keymap available everywhere.
But is there any other window-specific tag to use?
Code:
<keymap>
<global>
<keyboard>
<a mod="ctrl,alt">RunScript(/storage/.kodi/userdata/scripts/light_off.py)</a>
</keyboard>
</global>
</keymap>