The only real value you will need to customize is the mqtt server variable.
Garage door icon openhab.
See the instructions to learn more.
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.
Mqtt server define mqtt server 192 168 15 22.
The garage opener i bought is called boxer 3000 and it seems similar to almost all other openers on the market.
Starting openhab in debug mode will display your myq devices and the order they are listed in the api.
Grab the garagedoor sketch from github and and modify the code to your taste.
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.
Adjust this to match the ip address of your openhab mqtt server.
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.
For people with only one garage door opener the value needs to be set to 0.
These are the classic icons from eclipse smarthome.
These icons can be used when describing items.
You can also add your own.
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.
I will be connecting my chamberlain garage door opener to open.
Since the garagedoor icon expects the states open and closed the icon will visually change to match the door state.
This shows an icon for a garage door as well as the current status in text.
In this video i will show you how to connect or setup a chamberlain myq device with openhab 2.