I have migrated my openhab from Rpi3 with raspbian to Rpi4 with openhabian, I transfered configuration by backup and restore and now I’m experiencing issue with Velux binding.
Seems like binding doesn’t see velux.cfg file ( with tracing it dumps VeluxDiscoveryService(without Bridge) just initialized.)
I checked file permissions and velux.cfg in services directory is having correct rigths,.
I tried also reinstall binding, but issue is still there.
I checked my old openhab instance and it still works.
Just after some tweaking I most probably found issue, it will be related to bundle instalation:
On my old Rpi3 in Addon management I see only binding-velux v. 1.14.0 and
and cli bundle list confirms it
283 â Active â 80 â 1.14.0 â openHAB Velux Binding
on openhabian in Addon management I see velux binding twice
version 1.14.0 and version 2.2.5 (and bundle list shows 2.2.5 really installed)
292 â Active â 80 â 2.5.6 â openHAB Add-ons :: Bundles :: Velux Binding
now fun starts
when I click on Uninstall option on version 2.2.5, uninstalation progress (rotating circle) is displayed on version 1.14.
On both instances is addon management in Configuration > System configured:
Access Remote repository Yes
Include Legacy 1.x bindings No
Mine is working, but I had several issues after replacing existing openhab with new one, changing DHCP server etc.
At the end, removing all velux bindings, shutdown openhab, openhab-cli clean-cache, start then stop openhab (I do that always after clean-cache), Power Off and On the actual device (KLM200), then start openhab, install binding velux. That “procedure” works for nearly all my binding problems.
It taken just few hours to identify Issue, but just summary
Root cause of my issue is new version of Velux binding working as 2x binding (which is configured in PaperUI ) instead of 1.x (text file based configuration).
This means, that my migrated config file working on old instalation was having value only in bytes consumed on SD card, functional impact zero.
I manualy rebuilt configuration in Paper UI and now my Rollershutters are controllable again (at least scenes and actuators are fine, I can’t find configuration items like IP Address/Mask etc. )
From my understanding, I experienced 2 issues:
missing documentation of new documentation Velux binding. This I will try to support.
OpenHAB configuration distributed with Openhabian is able to see more packages, than manual instalation and configuration option to support 1.x bindings seems to be not working ( I enabled it, restarted openhab, but still manual instalation of 1.x was not possible and 2.x binding was forced). In Openhabian config I’m connected to Stable version.