Hi all,
i am trying to set up my openhab configuration with a link to Kodi (both running on the same RPI3).
But I can not receive any information from Kodi in openhab. I do get the following log, but I don’t get any information which would help me to solve the problem.
See my config and log below.
Where am I able to configure the rsPort in Kodi? I do only see one configuratuin field for the webserver. Do I need to use the same port for both ports? Because this is also not working
openhab.cfg:
######################## XBMC Binding ########################### xbmc:Wohnzimmer.host=127.0.0.1 xbmc:Wohnzimmer.rsPort=9090 xbmc:Wohnzimmer.wsPort=8090 xbmc:Wohnzimmer.username=openhab xbmc:Wohnzimmer.password=
items:
String Kodi "Kodi [%s]" (TV) {xbmc="<[#Wohnzimmer|System.State]"} String Player "Player [%s]" (TV) {xbmc="<[#Wohnzimmer|Player.State]"}
sitemap:
Frame label="TV" { Text item=Kodi label="Kodi [%s]" icon="television" Text item=Player label="Player [%s]" icon="television" }
egrep “xbmc|ERROR” /var/log/openhab/openhab.log:
2016-07-17 18:50:55.297 [DEBUG] [.b.xbmc.internal.XbmcActivator] - XBMC binding has been started 2016-07-17 18:50:56.575 [ERROR] [binding.xbmc.rpc.XbmcConnector] - [127.0.0.1]: Websocket error: Invalid Status Code 200 2016-07-17 18:50:56.577 [ERROR] [binding.xbmc.rpc.XbmcConnector] - [127.0.0.1]: Websocket error: Invalid Status Code 200 2016-07-17 18:50:56.585 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.610 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.612 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.622 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.625 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.628 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.630 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.633 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.635 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.637 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.639 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.642 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.644 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.646 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.648 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.650 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.652 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.654 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.656 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.658 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.660 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.662 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.664 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.665 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:56.668 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:57.165 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:57.167 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:57.169 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:57.171 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:57.177 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:50:57.179 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:51:55.443 [ERROR] [binding.xbmc.rpc.XbmcConnector] - [127.0.0.1]: Websocket error: Invalid Status Code 200 2016-07-17 18:51:55.444 [ERROR] [binding.xbmc.rpc.XbmcConnector] - [127.0.0.1]: Websocket error: Invalid Status Code 200 2016-07-17 18:51:55.445 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, 2016-07-17 18:51:55.447 [ERROR] [h.c.p.n.NettyAsyncHttpProvider] - Invalid attachment NettyResponseFuture{currentRetry=5, ....
Any thoughts or help on this would be great.
Thanks to all.