July 15, 2016
For those of us interested in home automation, this might be a familiar scenario: You’ve bought that new 4-in-1 sensor you’ve wanted for a while, and rush to unwrap the package like a kid on Christmas Day. Then you insert the batteries and make your way to your SmartThings hub to include it into your network. And then the disappoint descends: it’s a sensor that’s new on the market, and it’s more complicated to integrate it than a simple on/off device. It will probably take a while before SmartThings provides official support for it. So how do you include a Z-Wave device to your hub if it's not on the list?
This is where custom device handlers come in: community members will often develop their own code to be able to use new devices with SmartThings. They usually publish them on development platforms like GitHub and then post a link to the code on the SmartThings forum. But they don’t always include instructions on how to install the custom device handler and assign it to the device. The average user may think it’s a complicated process, when in fact it’s quite simple!
Here are some instructions that should help you get a custom device handler (i.e. that awesome new device of yours!) to work in SmartThings. I’ll be taking the Zooz 4-in-1 Sensor as an example, but this process will work for any device that needs a custom handler (you’ll just need to use a different link for the right code).
1. Log in here with the same username and password you use for your SmartThings app: https://consigliere-regional.api.smartthings.com
2. Click on My Device Handlers in the top menu
3. In the top right corner, click on Create new device handler and choose From code from the top tab menu. You'll be presented with a blank area where you can copy the code from this link and paste it in (it's always best to use the raw version of the code)
4. Next, scroll to the bottom and click Create. Now click Save, then click Publish > for me.
You should now see this device type in your list of Device Handlers
Simply exclude the device if you had included it prior to installing the new device handler. Then add the device to your SmartThings hub by clicking on Add thing > + Connect New Device in your app. Press and release the Z-Wave button on the sensor twice quickly.
Remember to keep the device within 3 feet away from your hub during inclusion — the device should be automatically discovered as the Zooz 4-in-1 sensor. Then, leave the sensor by the hub for a few hours so it can fully configure.
And that should be it! I hope this was helpful in simplifying the process behind custom device handlers. Feel free to share your questions and feedback in the comment section below!
August 17, 2018
Hi Brian, this looks like an issue with the device handler. We don’t carry this particular product so don’t have any experience with getting it integrated with any Z-Wave system unfortunately. We recommend reaching out to the developer who wrote the code, it may be outdated and needs an update to conform to the latest platform standards on SmartThings.
August 14, 2018
I have read 5 different tutorials that all give the same instructions but when I hit “Create” I get this error: Org.springframework.security.access.AccessDeniedException: Run Locally Permission not allowed for DeviceType: d903c6b9-cf7c-4173-b72e-1fb06ba4b8ee
Why and how do I fix this? I’m trying to get my Remotec relay to work again since there no longer seems to be a Generic Z-wave Device option in Smartthings
December 22, 2017
It’s possible you need to reset the sensor first. Please try this:
1. Tap the menu icon in your SmartThings app
2. Tap Hub is online
3. Tap Z-Wave Utilities
4. Tap General Device Exclusion
5. The app will show this message: “Please follow the manufacturer’s instructions to remove the Z-Wave device from My SmartThings.” There will also be a spinning circle next to the message “Exclusion Mode Active”
6. While Exclusion Mode is active, click the Z-Wave button on the sensor with a paperclip 3 times very quickly
7. The app will confirm device exclusion
8. Tap Done
Once exclusion is completed, please try adding the device again by clicking on Add Thing in the ST app and clicking the Z-Wave button 3 times with a paperclip quickly.
Let us know if that helped!
December 19, 2017
I can not get my sensor to connect. I’ve installed the device handler, I go to “add a thing”, and I press the button on the bottom of the sensor with a paper clip twice quickly and it blinks 5 times. Smartthings never finds it and I’m within 3 feet from my hub. Any suggestions?
September 26, 2017
We’re glad that was helpful Lionel!
September 25, 2017
ok, got it, the inside switch is the wrong button, need to use the paper clip then it worked great.
thanks for the post!
September 24, 2017
thanks for the instructions, I added the device handler on both
I have 2 ZooZ but they don’t get detected when I do Add Thing.
There is a tiny switch inside the device, I tried to press once, twice, thrice, quick/slow, hold…, the Zooz blinks green once and that’s all.
I don’t know what to do now.
Thanks for tips!
September 05, 2017
There may be a few reasons why the device isn’t recognized correctly. Either the handler was not published in the right place or the device had been included before you published the handler or there’s another configuration issue at play. Please get in touch with our support so they can go through different troubleshooting options with you and help you solve the problem. Thanks!
same here as Dan. It discovers the device as generic and not as a zooz one..am i missing something in settings?
August 15, 2017
Hi Mike, did you try waking the sensor up manually by clicking on the Z-Wave button 3 times quickly after you made the change in the settings? If not, the change hasn’t been registered by the sensor yet.
I installed a second z-wave 4 in 1 and this handler was already installed and everything seems to work properly except the LED option. I have it set to 1 (for no LED) but it is still flashing red every few minutes. My other 4 in 1 (identical) does not flash. Any thoughts?
March 14, 2017
Hi Dan, we’re glad to hear you were able to make it work. Between the 2 different URL’s, it can be kind of confusing. We always recommend to start with checking if your sensors and switches are listed under My Devices first – if they’re not there, it means you need to log in using the alternative URL to install the handler in: https://graph-na02-useast1.api.smartthings.com
March 12, 2017
Nevermind, I find out now that ST’s shards aren’t all properly tied together… I had to be sure I was in the right shard.
March 11, 2017
So I follow these instructions exactly but when it finds the device it STILL just thinks it’s a generic z-wave sensor device. The Zooz name does not appear in the “found devices” list. I have tried this with three (3) versions of ZSE40 device handler code I found out there. I see them all in my device handlers list but they don’t seem to make any difference. Thoughts??
December 08, 2017
Choosing the ultimate smart home system for your needs and lifestyle can be daunting if you don’t know what to look for. Each hub comes with its own advantages and limitations; a certain feature might be a godsend for someone else but a deal breaker for you. That’s why we’ve listed our top 3 Z-Wave hub recommendations below, including what we love about these hubs but also some things to consider when choosing the right one for you. And good news! They all support Alexa, so you can count on a voice-activated smart home this holiday season.
June 08, 2017
You often ask us for recommendations: what are the best, most reliable Z-Wave motion sensors out there? The choice seems endless with new devices coming out every day. While we have our favorites, choosing the right sensor for YOU will depend on YOUR needs, lifestyle, and ideas on how to apply the product to your Z-Wave network and collection of devices. So we thought we should ask one of you to test and compare our best-selling smart home security sensors. We wanted feedback from someone who has tested and programmed lots of Z-Wave devices but most importantly, from someone who has used them in real-life scenarios at home. The comments detailed below and the invaluable side-by-side comparison chart are by Kevin LaFramboise, an expert SmartThings user and the creator of some of the most advanced and stable custom device handlers for the popular platform.
April 09, 2017
It’s easy to be wary of claims of long-lasting battery life, as so many products out there promise reliable and worry-free battery power and then fail to deliver. So when the Sensative Strips Door/Window Sensor arrived to the market – a sensor thinner than two credit cards stacked together, and featuring a brand-new kind of battery that lasts for 10 years – some of us were skeptical.
Sensative recently turned to Sony to put their product’s power consumption to the test with the help of Otii – a new energy-optimization tool that measures and analyzes the power consumption behaviors of battery-powered devices. Of its many useful features, it allows the user to pinpoint the cause of a draining battery by syncing the software’s debug output with its power readings. Otii’s findings confirmed that the battery in Strips can last much longer than 10 years with optimal configuration and network conditions.