Hi all,
I’ve an issue with the new OH3 broadlink binding. I’ve copied the file org.openhab.binding.broadlink-3.1.0-SNAPSHOT.jar to the addons direcotry and renamed it to org.openhab.binding.broadlink-3.1.0-SNAPSHOT-Beta-02.jar
bundle:list command in the cli shows that it’s correct loaded and active:
…
235 │ Active │ 80 │ 3.1.0.202101200419 │ openHAB Add-ons :: Bundles :: Broadlink Binding
…
The openhab.log file shows no serious error when loading the binding (only the warning, that no sitemap file is available, which I think, it’s ok - I’ve never used sitemaps):
…
2021-01-22 16:44:00.152 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘broadlink.sitemap’
2021-01-22 16:44:06.688 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ‘broadlink.sitemap’ is either empty or cannot be parsed correctly!
2021-01-22 16:44:11.022 [INFO ] [.discovery.BroadlinkDiscoveryService] - BroadlinkDiscoveryService - Constructed
…
But the binding is not visible in the Web configuration (menu: settings / binding):
It’s also not available in the list to add additional add-ons (it should be shown here in alphabetical order):
I’ve noticed in the openhab.log some additional log messages for an other binding (myq) which I’ve also copied manually to the addons directory. These additional message are not shown for the broadlink binding. Maybe this is a hint to the problem - but maybe it’s just because this myq binding is working and so it’s just visible as a thing in OH3 but the broadlink binding isn’t - but I’m not sure:
…
2021-01-22 16:44:00.116 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘myq.sitemap’
2021-01-22 16:44:06.688 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ‘myq.sitemap’ is either empty or cannot be parsed correctly!
2021-01-22 16:44:16.730 [INFO ] [openhab.event.ThingStatusInfoEvent ] - Thing ‘myq:account:2652ed125f’ updated: ONLINE
2021-01-22 16:44:16.731 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘myq:account:2652ed125f’ changed from UNKNOWN to ONLINE
2021-01-22 16:44:16.984 [INFO ] [openhab.event.ThingStatusInfoEvent ] - Thing ‘myq:garagedoor:2652ed125f:cg0850323341’ updated: ONLINE
2021-01-22 16:44:16.985 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘myq:garagedoor:2652ed125f:cg0850323341’ changed from UNKNOWN to ONLINE
2021-01-22 16:44:16.985 [INFO ] [openhab.event.ThingStatusInfoEvent ] - Thing ‘myq:garagedoor:2652ed125f:cg0850415355’ updated: ONLINE
2021-01-22 16:44:16.986 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘myq:garagedoor:2652ed125f:cg0850415355’ changed from UNKNOWN to ONLINE
…
All other bindings (which are included in OH3 and also manually copied to the addons directory are working without any problems).
My environment is an OH3 docker instance which I’ve created with the following command:
docker run \
–name openhab \
–net=host \
–tty \
-v /etc/localtime:/etc/localtime:ro \
-v /etc/timezone:/etc/timezone:ro \
-v /opt/OpenHAB-docker/conf:/openhab/conf \
-v /opt/OpenHAB-docker/userdata:/openhab/userdata \
-v /opt/OpenHAB-docker/addons:/openhab/addons \
-d \
–restart=always \
–env OPENHAB_HTTP_PORT=9080 \
–env OPENHAB_HTTPS_PORT=9443 \
–device=/dev/ttyACM0 \
openhab/openhab:3.0.0
Any idea about how to solve this problem would help. Thanks in advance and thanks for the great work to make this binding possible. Btw. I’ve used the broadlink binding in OH2.5 since a while and it’s works great.
Frank