I’m new to SmartThings and home automation in general. So far I’ve set up the hub, a Dome siren and a couple window sensors to test things out. Everything is connecting up fine, but I can’t find a way to trigger anything if the window sensors are tampered with. “covering was removed” is reported in the sensors event log, there just doesn’t seem to be anything I can do with that information.
Do I need a custom device handler or something?
I’m primarily using this to keep the kids from sneaking in and out of the house through the basement windows, If all they have to do is pop the cover and remove the battery it’s not going to work for very long.
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
2
Yes you’ll probably need a custom handler that reports opening as a tamper and then a SmartApp (like this one) to act on those tamper notifications or something like CoRE to create a rule to do it.
Thanks for the quick response! Creating a device handler was a little farther down the rabbit whole than I wanted to go this soon , but I’ll have to give it a shot.
Do we have a way to see the default device handler code SmartThings is using as a starting point? I imagine tweaking something that already exists would be easier than starting from scratch.
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
4
Yep you can find it in the IDE when you create a new device handler, you can use the from template option and select the door/window sensor.
Hi FadedSun,
Not specifically related to your issue, but can you confirm that your DWZWAVE2.5-ECO actually shows the tamper info when the case is opened?
I just got one and all i have is Battery level and Contact (open/close), the IDE doesn’t even show tamper as an attribute and as such neither do the new or classic apps.
Specifically, IDE only shows 3 attributes: battery, contact, and checkInterval.
If you do have tamper, how did you add the sensor? just as a normal sensor or did you do anything else?
Understood, i was hoping that the sensor would already include the tamper notification as the device specifics on the smartthings page states that the sensor supports case tamper notifications, but i guess that’s more of what the hardware can do than what the device handler can do.
Time to look into custom device handlers.