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.
Openhab garage door.
Currently have a chamberlain garage door opener and was using the myq add on to control it through openhab but they keep changing the api which renders the add on useless.
I am using a raspberry pi3b gpio pins to control a relay board which simulates someone pressing the garage door opener on the wall.
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.
Rule garage door direction when status garagentor close changed to open or door opening status garagentor open changed to open door closing then var status garagentor if triggeringitem name tostring status garagentor close status garagentor opening if triggeringitem name tostring status garagentor open status garagentor closing end rule garage door direction when status garagentor close changed to closed or door closed status garagentor open changed to.
Remote access is made possible with the particle io rest api.
Door status off closed on open set invert true on channel to invert switch.
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.
Distance reading from the opengarage controller default in cm status switch.
This tutorial assumes you have the gpio binding installed and have already gotten that working for other items.