New Binding - OpenGarage Controller

Hi All,

I’m currently working on a binding for the OpenGarage (https://opensprinkler.com/product/opengarage/) controller.

An initial build is at: http://smedley.id.au/tmp/org.openhab.binding.opengarage-2.5.0-SNAPSHOT.jar

Source is currently at https://github.com/psmedley/openhab2-addons/tree/opengarage

Feedback appreciated.

Cheers,

Paul

2 Likes

NB: if run under Openhab 2.4, a newer version of gson is needed.

From karaf:
bundle:install http://central.maven.org/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar

Or download the gson jar and drop it in the addons folder.

Hi,

I cant get the binding to work - it stays at “UNINITIALIZED - HANDLER_CONFIGURATION_PENDING”
I did as written in the Docs - even tried to give all options.
Any pointers would be highly appreciated.

TIA

nevermind - looking at the source at https://github.com/openhab/openhab-addons/blob/2.5.x/bundles/org.openhab.binding.opengarage/src/main/java/org/openhab/binding/opengarage/internal/OpenGarageConfiguration.java i found the key is “hostname” not “host” as in the dok. i will submit a MR for it. -> https://github.com/openhab/openhab-addons/pull/6931

Hi All,

I added a ‘Contact’ and ‘RollerShutter’ item for help with google assistance and rules.

PR for the change is at https://github.com/openhab/openhab-addons/pull/7480

Testing jar is at http://smedley.id.au/tmp/org.openhab.binding.opengarage-2.5.5-SNAPSHOT.jar

Cheers,

Paul

Corrected PR is https://github.com/openhab/openhab-addons/pull/7486