Need help perfecting device handler for GoControl zwave smart light switch cover

I got it!

@Motley, You were very close, but everything before the mark (0xEF) is considered inClusters (supported class), and after are outClusters (controlled classes).

This post helped answer it for me, but thanks for the guidance.
The Fingerprint is…

fingerprint deviceId:“0x1801”, inClusters:“0x5E, 0x86, 0x72, 0x5B, 0x85, 0x59, 0x73, 0x70, 0x80, 0x84, 0x5A, 0x7A”, outClusters:“0x5B, 0x20”

After Z-wave exclusion and re-inclusion, the device type paired without a hitch!

I’ll update the public GitHub file and call it Milestone 3.


Awesome! If you think it’s ready, add a [RELEASE] thread to the device types sub forum so people can ask questions. :sunglasses:
1 Like

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.


Thanks, ajpri, for the code and work on this. I installed it over the weekend and it works perfectly with my GoControl switch.

1 Like

Thanks for the support & glad you liked it! Do note the Device Type is still under development and is evolving rapidly. This is my first Device Type and I’m learning as I go.

1 Like

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!

1 Like

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).

1 Like

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.

1 Like

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.

1 Like

@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.

1 Like

@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.

[Release], Popp, & Devolo Wireless wall Controller & Key Fob (EU), with button controller dimming apps and CoRE integration

Hey Guys! Big update on the device type!
I have been busy working on the Device Handler.

  • Hold Events are under development! I still have some work to do, but it is looking good.
  • Inverting the buttons is still a mess. For now I have commented out the code. This isn’t a big issue since the Device Type Handler treats the buttons as independent, but If I can add it, I will.
  • The device type is coming together nicely. I hope to have something that I can call a “Version 1” in about a week. A big thank you to to everyone that has purchased the device and used the DTH.


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.

Up Button Tap

6:31:17 PM: debug Parse received zw device: 0D, command: 5B03, payload: 6C 00 01

Down Button Tap

6:32:09 PM: debug Parse received zw device: 0D, command: 5B03, payload: 6D 00 02

hold down, release up - Top Button

6:32:54 PM: debug Parse received zw device: 0D, command: 5B03, payload: 6F 01 01
6:32:50 PM: debug Parse received zw device: 0D, command: 5B03, payload: 6E 02 01

hold down, release up - Bottom Button

6:33:28 PM: debug Parse received zw device: 0D, command: 5B03, payload: 71 01 02
6:33:25 PM: debug Parse received zw device: 0D, command: 5B03, payload: 70 02 02


class physicalgraph.zwave.commands.centralscenev1.CentralSceneNotification
Short key Attributes
Short sceneNumber
Short sequenceNumber
List payload

String format()

sequenceNumber = Button

1=top 2=bottom

sceneNumber = Tap, hold down, release up

02=hold down
01=release up

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.

Milestone 4 is here!
Held events are now working. The release events are also working, but not perfect.


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.


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.

That’s the same app that was already linked to 5 posts up. :wink:

Yes, I’m going to take a look into it and integrate it into the DTH. I think it should just be renaming the released. I mainly did that so I can experiment with dimming.

1 Like

Good News, everyone!

**I'm going to release Version 1 tomorrow!**

Great feedback from everyone! I’ve been using the DTH daily for my own bedroom, and testing is going marvelously. Just have some minor things to fix and It’ll be on the community.

1 Like

It’s here!