Domoticz service addon for Kodi
Posted: Monday 25 January 2016 8:39
I created an addon for Kodi that uses the player's status to control Domoticz scenes. You can configure the addon to activate different scenes when the player starts, is paused, stopped or ends. This can also be configured separately for audio playback as well.
If you know how to create or edit a key map for Kodi you can additional create a custom menu with 5 additional settings of your choosing.
Very easy to add to the keymap. Just add this line between the <keyboard></keyboard> tags:
<keymap>
<global>
<keyboard>
<d mod="ctrl">SetProperty(Domoticzmenu,true,10000)</d>
</keyboard>
</global>
<Home>
<keyboard>
</keyboard>
</Home>
</keymap>
Now when the control + d keys are pressed the Domoticz menu will display.
Default location for the keymap.xml file - In some cases you will need to create the file.
Operative system File path
Android: Android/data/org.xbmc.kodi/files/.kodi/userdata/ (see note)
iOS: /private/var/mobile/Library/Preferences/Kodi/userdata/
Linux: ~/.kodi/userdata/
Mac: /Users/<your_user_name>/Library/Application Support/Kodi/userdata/ (see note)
OpenELEC: /storage/.kodi/userdata/
Windows: Start - type %APPDATA%\kodi\userdata - press <Enter>
This addon is a port of Brad Arthur's hard work with his Insteon addon that I tweaked to work for both InControl and now Domoticz.
If something doesn't work let me know as I didn't do any major testing on this.
Here is the link on Github - https://github.com/moengiant/DomoKodi
If you know how to create or edit a key map for Kodi you can additional create a custom menu with 5 additional settings of your choosing.
Very easy to add to the keymap. Just add this line between the <keyboard></keyboard> tags:
<keymap>
<global>
<keyboard>
<d mod="ctrl">SetProperty(Domoticzmenu,true,10000)</d>
</keyboard>
</global>
<Home>
<keyboard>
</keyboard>
</Home>
</keymap>
Now when the control + d keys are pressed the Domoticz menu will display.
Default location for the keymap.xml file - In some cases you will need to create the file.
Operative system File path
Android: Android/data/org.xbmc.kodi/files/.kodi/userdata/ (see note)
iOS: /private/var/mobile/Library/Preferences/Kodi/userdata/
Linux: ~/.kodi/userdata/
Mac: /Users/<your_user_name>/Library/Application Support/Kodi/userdata/ (see note)
OpenELEC: /storage/.kodi/userdata/
Windows: Start - type %APPDATA%\kodi\userdata - press <Enter>
This addon is a port of Brad Arthur's hard work with his Insteon addon that I tweaked to work for both InControl and now Domoticz.
If something doesn't work let me know as I didn't do any major testing on this.
Here is the link on Github - https://github.com/moengiant/DomoKodi