Glad you figured it out and got it working, my switch will be here in 3-4 days. Good to know that the 0xEF is the command class mark, the device type I wrote was a zigbee device type and for that it is slightly different, the first mark (after deviceID) says how many inClusters there are and then after those inClusters are defined the next mark says how many outClusters will be defined and then they are defined. Looks like for z-wave the first mark just defines the total number of clusters (command classes) and then the 0xEF mark defines the start of the outClusters.
I will be glad to help you test/refine the device type once I have mine if you still need help.
Just got mine and it paired easily with the device handler installed. Button pushes seem to work just fine. But can the device handler deal with longer button holds? In the manual that came with the GoControl switch it seems like it should be capable of both presses and holds. Thanks for sharing this!
Sweet! So it auto-identified correctly? Right now, the Handler only handles a press, but I believe it can handle a held event as well. I’ll take a look into it soon.
Soory about my slight absence from this project. As some of you may know, I’m just a High School Student, so I’ve been busy getting back from spring break. Also, I think I’m getting a bit under the weather. I’m good, just taking things easy. I hope to have a better code version uploaded soon (Milestone 4, estimating this weekend).
Sure did. I pulled the battery tab and hit one of the buttons as the instructions said, while the ST hub was in pairing mode. The device came right up.
If you’re able to add the button hold events that’d be great. Then I can still use this to dim; for wife approval the top button is set to lights on, and the bottom to lights off (four GE link bulbs). I could probably work out a way with rule machine to add a dimming level with only button pushes, but holding is just simpler. Great work so far though.
Did some messing around with some of the basic output. Looks like button hold events can be detected. I’ll continue messing around with the code and see what I can do. I personally don’t use the held event for any of my automations. However, I’ll get to work on that!
I have the same thing going on with my lights. Right now I’m using Smart Lighting but I’m working on a “companion SmartApp”. Just a modified button controller to handle this use case easily.
Thanks again for the support! Tell your wife I’m working hard on this & it’ll soon be even better! You have been a great part in growing this Device Handler.
@ajpri, wanted to let you know that I got my switch today and hooked it up. It immediately paired with your device type which I had pre-installed on my hub and I was able to use the button controller app to setup the buttons to control a set of smart bulbs in a light fixture. The only thing missing as far as I can tell is being able to use the “held” presses to control the dimming/brightening of the lights.
Now that I have one of these if you would like help looking into the dimming/brightening functions I am willing to help with that, I am new to z-wave device handlers but have been doing some reading and also have written the zigbee device type for the OSRAM dimming switch so I can likely figure out z-wave fairly quickly as well.
I also wrote a smart app to go along with the device type I wrote which allows you to at least set a specific percentage for light level when held commands are received so that you can at least use the held buttons as a dim/brighten to specific levels. I will let you know once I test and see if that app will work with this device type, if nothing else I may modify the smart app to work. I have not given up hope for the OSRAM dimming switch since I do feel it has a better look but am still waiting for an OSRAM engineer to work with me on that.
I am going to update the thread for my device type with a quick comparison of the 2 switches (with pics of the 2 installed) and point everyone to this switch as an alternative until I can get the OSRAM one working.
@AdamV has a very successful device handler for the Popp battery-operated zwave switch that has double tap and dimming. Not sure if it has anything you can use directly, but it might give you some ideas.
Thanks for all the great work so far. I was looking into this and trying to see about the hold events. I know the raw messages that it sends when you have the hold and release events just trying to see how you are putting them into the device handler. As it looks like we are going to have to approximate the percent on the amount of time that the button is held down.
Thanks for the work! I’ve been working on this all I could and am close to getting hold events working. Most of it has been testing to ensure things are working. I’ll be releasing the first bit of code to support held events soon. The release events are next on my to do list.
Thanks for the update. Looks good on adding the hold events. As far as getting it to work with dimming and other items I have found someone that has been working with another button but should be a good app to use with this. He has both code for his device handler and the smart app.