Hi together,
- Platform information:
- Hardware: PI 3
- OS: openHABian/raspian
- Java Runtime Environment: -
- openHAB version:2.2.0 stable
I just tried to set up KODI for testing purposes and wanted to test openHAB integration as well.
KODI (openELEC) is running fine and is configured.
Before installing the binding, i have checked the needed settings according to the docs. https://docs.openhab.org/addons/bindings/kodi/readme.html#preparation
After installing the binding, my Kodi instance gets dicovered.
When I now want to add it, the thing gets offline immediately.
Before writing i have checked the ports:
and
Everything is set up according to the docs.
Logs with TRACE enabled:
22:54:19.666 [INFO ] [smarthome.event.InboxAddedEvent ] - Discovery Result with UID 'kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12' has been added.
22:54:19.666 [INFO ] [ig.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12' to inbox.
22:55:00.758 [INFO ] [thome.event.ItemChannelLinkAddedEvent] - Link 'kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_volume-kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12:volume' has been added.
22:55:00.820 [INFO ] [thome.event.ItemChannelLinkAddedEvent] - Link 'kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_mute-kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12:mute' has been added.
22:55:00.853 [INFO ] [thome.event.ItemChannelLinkAddedEvent] - Link 'kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_control-kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12:control' has been added.
22:55:00.885 [INFO ] [thome.event.ItemChannelLinkAddedEvent] - Link 'kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_stop-kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12:stop' has been added.
22:55:00.955 [INFO ] [thome.event.ItemChannelLinkAddedEvent] - Link 'kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_title-kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12:title' has been added.
22:55:01.026 [INFO ] [thome.event.ItemChannelLinkAddedEvent] - Link 'kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_showtitle-kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12:showtitle' has been added.
22:55:01.149 [INFO ] [thome.event.ItemChannelLinkAddedEvent] - Link 'kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_album-kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12:album' has been added.
22:55:01.233 [INFO ] [thome.event.ItemChannelLinkAddedEvent] - Link 'kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_artist-kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12:artist' has been added.
22:55:01.365 [INFO ] [thome.event.ItemChannelLinkAddedEvent] - Link 'kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_mediatype-kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12:mediatype' has been added.
22:55:01.451 [INFO ] [thome.event.ItemChannelLinkAddedEvent] - Link 'kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_thumbnail-kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12:thumbnail' has been added.
22:55:01.563 [INFO ] [thome.event.ItemChannelLinkAddedEvent] - Link 'kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_fanart-kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12:fanart' has been added.
22:55:01.733 [INFO ] [smarthome.event.InboxRemovedEvent ] - Discovery Result with UID 'kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12' has been removed.
22:55:01.912 [INFO ] [smarthome.event.ItemStateChangedEvent] - kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_volume changed from NULL to 100
22:55:05.033 [DEBUG] [org.openhab.binding.kodi ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.audio.AudioSink}={service.id=458, service.bundleid=254, service.scope=singleton} - org.openhab.binding.kodi
22:55:05.078 [INFO ] [smarthome.event.ItemStateChangedEvent] - kodi_kodi_0c3cfe8b_5ba6_5eb5_b325_ddac6b6a2d12_mute changed from NULL to OFF
22:55:05.180 [DEBUG] [kodi.internal.protocol.KodiConnection] - checkConnection: try to connect to Kodi ws://192.168.178.192:9090/jsonrpc
22:55:05.194 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12' changed from UNINITIALIZED to INITIALIZING
22:55:06.218 [DEBUG] [kodi.internal.protocol.KodiConnection] - checkConnection: try to connect to Kodi ws://192.168.178.192:9090/jsonrpc
22:55:06.259 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'kodi:kodi:0c3cfe8b-5ba6-5eb5-b325-ddac6b6a2d12' changed from INITIALIZING to OFFLINE
22:55:07.288 [INFO ] [smarthome.event.ItemStateChangedEvent] - date_today changed from 2018-01-25T22:54:07.263+0100 to 2018-01-25T22:55:07.271+0100
22:55:16.258 [DEBUG] [kodi.internal.protocol.KodiConnection] - checkConnection: try to connect to Kodi ws://192.168.178.192:9090/jsonrpc
22:55:26.293 [DEBUG] [kodi.internal.protocol.KodiConnection] - checkConnection: try to connect to Kodi ws://192.168.178.192:9090/jsonrpc
22:55:38.881 [DEBUG] [kodi.internal.protocol.KodiConnection] - checkConnection: try to connect to Kodi ws://192.168.178.192:9090/jsonrpc
22:55:48.912 [DEBUG] [kodi.internal.protocol.KodiConnection] - checkConnection: try to connect to Kodi ws://192.168.178.192:9090/jsonrpc
22:55:58.968 [DEBUG] [kodi.internal.protocol.KodiConnection] - checkConnection: try to connect to Kodi ws://192.168.178.192:9090/jsonrpc
22:56:09.076 [DEBUG] [kodi.internal.protocol.KodiConnection] - checkConnection: try to connect to Kodi ws://192.168.178.192:9090/jsonrpc
22:56:19.103 [DEBUG] [kodi.internal.protocol.KodiConnection] - checkConnection: try to connect to Kodi ws://192.168.178.192:9090/jsonrpc
...
I am a bit lost now.
Have I missed something?
I have tried to ad a thing manually by file too.
I have uninstalled and reinstalled the binding already.
The logs are telling me ⊠nothing.
Has anyone a solution for this?
Thanks in advance and BR
Jerome