Mqtt server define mqtt server 192 168 15 22.
Garage door icon openhab.
Adjust this to match the ip address of your openhab mqtt server.
One press starts or stops the opening and it runs until it s fully opened or closed.
The garage opener i bought is called boxer 3000 and it seems similar to almost all other openers on the market.
If you have multiple garage door openers and or lights the device index is based on the order the garage door opener light s were added to the myq app.
You can also add your own.
I will be connecting my chamberlain garage door opener to open.
Starting openhab in debug mode will display your myq devices and the order they are listed in the api.
It has a actually 2 remote controls with one button that controls the opening.
These are the classic icons from eclipse smarthome.
In this video i will show you how to connect or setup a chamberlain myq device with openhab 2.
Grab the garagedoor sketch from github and and modify the code to your taste.
Also i changed the item names to reflect which garage door they are foor so i put a 1 at the end of the ones for garage door 1 and a 2 for garage door 2.
Since the door icons end in open png and closed png they won t work with a switch unless you make copies of them and rename to end in on png and off png.
For people with only one garage door opener the value needs to be set to 0.
Since the garagedoor icon expects the states open and closed the icon will visually change to match the door state.
These icons can be used when describing items.
The only real value you will need to customize is the mqtt server variable.
The funny thing is that i actually added garage door number 2 before number 1 so in my items file i have it backwards if you are looking at the myq number.