Distance reading from the opengarage controller default in cm status switch.
Openhab garage door.
Looking for ideas what and how to use to add.
Rule init when system started then garagedoorcommand postupdate idle end rule open garage when item garagedoorcommand changed from idle to open then if garagedoorstatus state closed garagedoorbutton sendcommand on garagedoorcommand postupdate idle end rule close garage when item garagedoorcommand changed from idle to close then if garagedoorstatus state open garagedoorbutton sendcommand on garagedoorcommand postupdate idle end.
This tutorial assumes you have the gpio binding installed and have already gotten that working for other items.
The garadget is cloud based device that futurizes your existing garage door opener letting you open and close your garage door from anywhere including via openhab with this binding.
Door status off closed on open set invert true on channel to invert switch.
I am using a raspberry pi3b gpio pins to control a relay board which simulates someone pressing the garage door opener on the wall.
Remote access is made possible with the particle io rest api.
My config settings.
I tapped into the buttons on the wall and ran a pair of wires to the relayboard and connected them to common and normally open.