OpenHab2 and Linear NGD00Z-4 Garage Door Controller

The barrier_state channel should be linked to a Number Item, and will report:

255 (open)
254 (opening)
253 (stopped)
252 (closing)
0 (closed)

It is also used to control the garage door, by sending 255 (open) and 0 (close). You should setup a Switch Item that you can set to ON or OFF through a rule, based on the barrier_state, and to control the door. I have two NGD00Zs, and this is an example of how I used them in the Rules DSL…

I haven’t looked at this for a while, as I now use JSR223-Jython, but I could provide my current working example, if it could be of use.

I had also added the alarm_raw channel, but as of yet, I have not seen it report anything. The Z-Wave spec says that it would be used for safety report, like if the door closed on a car or something.