I got my Hub up and running, My first project is to port my DTHs written for SmartThings. Starting offf, I’m porting my GoControl Wall Switch and have ran into a slight hurdle.
So far, I’ve:
Added the Pushable Button capability.
Changed “physicalgraph.zwave” to “hubitat.zwave”
My only thing is getting the event’s button visible to the button controllers App. I’m believing the issue is with the line:
createEvent(name: “button”, value: “pushed”, data: [buttonNumber: button], descriptionText: “$device.displayName button $button was pushed”, isStateChange: true)
I’m believing the issue is likely in what data is specifically is passed to Button Controllers.
Our button implementation is a little different that what you might be used to. Load up our virtual button, then you can see the commands and attributes that it uses and those that our apps are looking for.
The criteria is simple: if someone is interested in joining the developers group, he/she needs to ask @support_team to be included. Referrals are also welcome @jeubanks and @ogiewon you are now members of the developers group Happy coding!
Sorry guys..... I still don't see from the posts above how to get both buttons to work on the Gocontrol WA00Z-1. I just bought this C7 that came with the Gocontrol packaged with it but it doesn't work????? what's up with that?
So far, this is not straight forward. Anyone that can share the steps to get both buttons recognized please share. Thanks
So you were able to figure out how to pair the device?
What driver (device type) did it choose when it paired? Go to the Device tab, select this device, and look about halfway down the page.
And did you look in the "states" in the upper right corner of that page, and see if it changes there when you push the buttons? This is critical, if it doesn't show up correct here, it won't work anywhere like in a rule or whatever.
From there, you have to decide what to do with the button. Can you describe how/what you expect the button to do, or turn on, or activate?
This is an example of a similar button (so don't make yours look like this) but here are the sections to look at that I mention above.
I think I had the same problem as you, where the GoControl switch, once paired, only offers 1 button to choose from, and the "numberofbuttons" in device settings = 1. I saw in another thread, an interesting solution proposed by @mike.maxwell, where you switch the driver to Virtual Button, then manually set number of buttons to =2, then revert back to whatever driver. You can use the custom driver made by @ajpri1998, or I find the Generic Zwave Button controller also works. You will then have two usable buttons. Not sure why this works.