- Openhab 1.8.1 (although was also broken in 1.7)
- Both
org.openhab.action.xbmc-1.8.1.jar
andorg.openhab.binding.xbmc-1.8.1.jar
are in addons/
- Both
- Kodi 16.0 (although this has been broken since 15.x for me)…
Addons.cfg openhab.cfg:
######################## XBMC Binding ###########################
xbmc:tvroom.host=192.168.1.39
xbmc:tvroom.rsPort=80 # Port number for the json rpc service
xbmc:tvroom.wsPort=9090 # Port number for the web socket service
xbmc:tvroom.username=xbmc
xbmc:tvroom.password=mysecretpassword
In Kodi, both the HTTP webserver and “allow other programs/services/etc” setting is checked
Log:
root@918197add860:/opt/openhab/logs# cat openhab.log | grep -i xbmc
2016-03-13 19:12:53.806 [DEBUG] [.a.xbmc.internal.XBMCActivator] - XBMC action has been started.
2016-03-13 19:12:54.508 [DEBUG] [.b.xbmc.internal.XbmcActivator] - XBMC binding has been started
2016-03-13 19:12:54.595 [TRACE] [b.x.internal.XbmcActiveBinding] - Attempting to access the named instance 'tvroom' before the binding config has been loaded
2016-03-13 19:12:54.599 [TRACE] [b.x.internal.XbmcActiveBinding] - Attempting to access the named instance 'tvroom' before the binding config has been loaded
2016-03-13 19:12:54.603 [DEBUG] [b.x.internal.XbmcActiveBinding] - XBMC Refresh Service activate()
2016-03-13 19:12:54.608 [INFO ] [.service.AbstractActiveService] - XBMC Refresh Service has been started
2016-03-13 19:12:54.610 [DEBUG] [b.x.internal.XbmcActiveBinding] - XBMC Refresh Service updated()
2016-03-13 19:14:19.095 [TRACE] [b.x.internal.XbmcActiveBinding] - Attempting to access the named instance 'tvroom' before the binding config has been loaded
2016-03-13 19:14:19.098 [WARN ] [b.x.internal.XbmcActiveBinding] - Received command (1) for item itm_tv_room_XBMC_Volume but no XBMC connector found for #tvroom, ignoring
2016-03-13 19:14:19.291 [TRACE] [b.x.internal.XbmcActiveBinding] - Attempting to access the named instance 'tvroom' before the binding config has been loaded
2016-03-13 19:14:19.294 [WARN ] [b.x.internal.XbmcActiveBinding] - Received command (46) for item itm_tv_room_XBMC_Volume but no XBMC connector found for #tvroom, ignoring
2016-03-13 19:14:19.339 [TRACE] [b.x.internal.XbmcActiveBinding] - Attempting to access the named instance 'tvroom' before the binding config has been loaded
2016-03-13 19:14:19.341 [WARN ] [b.x.internal.XbmcActiveBinding] - Received command (46) for item itm_tv_room_XBMC_Volume but no XBMC connector found for #tvroom, ignoring