I did setup OpenHAB2 and I want it to connect to my Kodi instances.
Basic communication is working fine, i am able to play/pause volum up/down and so on.
now I posted a bit to fast…
Last thing i tried now is to restart OpenHAB2 after all those changes to the config, and guess what…
now I see all the channels correct.
Looks like OpenHAB has some issues reading new configs files properly on the fly.
Does anyone know why? Or how I can avoid it?
My setup is a RPI3 hosting OpenHAB and samba and I do all my configuration from a Windows machine with Visual Studio Code Plugin for OpenHAB.
@cweitkamp would know for sure, but maybe the Kodi binding uses state options to populate the list of TV and/or radio channels. If so, by any chance are you also running the Sony binding? There’s an issue that was fixed recently in the Sony binding that was impacting other bindings use of state options.
Yes, the binding uses dynamic state options for this channel. And there is a polling Job for retrieving them. I am afraid I do not know why it was not working on the first run. But I am glad that it is working now. Maybe the state provider service was not initialized properly or the polling job did not run in the few minutes you looked for it.