on details of how I uninstalled the SNAPSHOT binding, installed the development binding, included the device securely, but still don’t see the BARRIER_OPERATOR channel. I only see the BARRIER_POSITION channel.
Are you sure that the BARRIER_OPERATOR command classes are included in the latest OH2 snapshot ?
@ashgupta - this works as intended. What you are likely missing is what I missed originally. I was thinking there would be an open/close “switch” that I could use. It seems there isn’t. What you need is to first ensure the device is securely included, validate by using HABmin to see if Using Security is a green checkmark in attributes. Once that is confirmed, then you need to create a virtual item to use as a switch, or use a Site Map to create a “switch” on the sitemap that will operate the door. The sitemap will use a mapping of 0 and 255 for the two states.
If you would like to “validate” this before creating the map or virtual item - use the API (REST Documentation under MISC in Addons in PaperUI). You can test sending a 0 and 255 to the controller to validate.
I just bought GoControl Garage Door opener and I am trying to configure it. I have installed z-wave binding and through PaperUI I was able to discover the GoControl opener which showed up as Z-Wave Node 3 but had only 1 channel: “Barrier Position”. I added “Barrier Position” in my sitemap but I am not seeing its value changing on tilting of the sensor. Even if it had changed, how would I send command to the opener to open/close? I am not sure how to proceed from here. I would appreciate any feedback you can provide.
I just wanted to add that in the previous post it says “What you need is to first ensure the device is securely included, validate by using HABmin to see if Using Security is a green checkmark in attributes.” I am seeing a “?” for “Using Security” attribute in HABmin. How do I change that to green checkmark?
Then exclude and include the device in your network and in Habmin make sure that the device is showing up as Secure. Paper-UI doesnt display the security status of the device.
Once you have the device securely included you will see that the Barrier_Position number is 0 when closed and 255 when opened. If you have got this then your garage door opener is working with OpenHab2.
You send number “0” to Close the Door and number “255” to open the door. Below is my item and sitemap definition for this.
Number Garage_Gate_Position "Garage Gate [MAP(lineargarage.map):%s]" <lineargarage>
Just to clarify, shall I uninstall the current z-wave binding that I installed through PaperUI? I have never manually installed a biding before so not sure about how to add the jar file that you sent the link for. Shall I copy it in /srv/openhab2-sys/addons as-is, and then try to find items again?
Here is what I did:
Removed all the Items / Things related to z-wave and uninstalled z-wave binding from PaperUI.
Copied the jar file to /usr/share/openhab2/addons
Rebooted my Raspberry Pi
Using HABmin, added Z Wave Serial Controller, configured the port, which discovered the Garage Door Controller. Added the garage door controller and then the “Barrier Position Channel”. I still don’t see the green checkmark for “Using Security”. Did I miss any step? Here is the screenshot from HABmin:
HABmin will include properly - it sends EXACTLY the same thing to the binding as PaperUI. However, PaperUI is not good for configuration, and even worse at sending actions (such as Exclude) - I’ve been trying to improve it over the past couple of weeks but it still needs some work before I would suggest to use it.
I did a fresh openhab2 (openhabian) install on Raspberry Pi. Added the following bindings:
openHAB cloud connector
Then I copied z-wave binding from OH2 Z-Wave refactoring and testing... and SECURITY.
I launched HABmin and added the z-wave controller and configured the port. I then turned discovery on and unplugged the z-wave controller to include GoControl Garage Door opener. After including the garage opener, I plugged the z-wave stick back in Pi but after the garage opener didn’t get discovered, I rebooted the Pi. Now the garage opener showed up in discovery and I added it.
I then included GDC through HABmin (click on discovery + z-wave binding --> unplug z-wave stick --> include GDC by pressing button on stick and GDC --> plug z-stick back in Pi --> reboot pi --> Add GDC to Things). After rebooting Pi, my z-wave controller binding stopped showing any properties and displayed a Delete icon. Even the added GDC displayed the same behavior.
I tried reinstalling several times from scratch but couldn’t add the garage door securely. “Using security” always showed up as red x. I must be missing something obvious.
I have a Raspberry Pi 2, Aeotec by Aeon Labs ZW090 Z Stick, and GoControl/Linear GD00Z-4 Z-Wave Garage Door Opener. I am installing openhabian image, and then openhab2. I used the z-wave binding from here (not adding it through PaperUI --> Addons): OH2 Z-Wave refactoring and testing... and SECURITY. In PaperUI, I changed z-wave controller config to include ALL Devices securely. I then used HABmin to discover z-wave binding things, and within 30 seconds I included garage door opener. I then added the newly discovered garage door opener as a Thing. When I check the attributes of this Garage door opener, the security shows up as red x.