Rule a garage opener was triggered when item agarageopener1 received command or item agarageopener2 received command then var topic triggeringitem name substring 1 cmd sendcommand topic on loginfo logname garage opener triggeringitem name substring triggeringitem name length 1 was triggered if vnetwork cerberos state off this is a network binding item that goes off when the rpi goes offline aalert sendcommand attempting to trigger a garage opener but the.
Openhab garage door opener.
I added a string item for the actual command to open or close the door.
I regularly do that remotely e g.
Or you can pre order a pre built one.
Chamberlain 1 25 hp myq secure view and ultra bright smart belt drive garage door opener with myq and wi fi compatibility and battery back up and led light and camera s item 1630354 model b6765.
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.
My config settings.
I am using a raspberry pi3b gpio pins to control a relay board which simulates someone pressing the garage door opener on the wall.
My first appliance is a garage door that is not only monitored contact but can also be controlled.
Hooray for open source.
2 switches for feedback for open and closed messages.
A switch to open close the door.
I can then use this from other rules with garagedoorcommand sendcommand open to open the door.
This tutorial assumes you have the gpio binding installed and have already gotten that working for other items.
For example when i turn on my home alarm system the garage door is automatically closed.
When i am leaving the highway or after i have already driven out of reach of common rf solutions it is connected via mqtt.
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.
Looking for ideas what and how to use to add.
For people with only one garage door opener the value needs to be set to 0.
The controlling is done in one topic.
Starting openhab in debug mode will display your myq devices and the order they are listed in the api.