[RELEASE] Dome Wireless Z-Wave Plus Siren

dth_siren
dth_security
dth_alerts
dth_misc

(Kevin) #1

This device handler has been replaced by the Official Dome Siren device handler.

This is a device type handler for the Dome Wireless Z-Wave Plus Siren (Model: DMS01)

The Dome siren comes with 10 sounds and 3 volume levels. The sounds are various lengths and they are played once as a chime and multiple times for a specified length of time.

SmartApps like Smart Home Monitor and Speaker Notify with sound can use the device as an Alarm to turn the siren on and use it like a Switch to play a chime.

More advanced SmartApps like CoRE can also use it as a Tone Generator to play a different chime. There’s also a custom command that allows you to play any of the chimes by number.


This device handler supports the following capabilities:

  • Alarm Capability: The both, siren, and strobe commands turn the siren on using the settings “Siren Sound”, “Siren Volume”, and “Siren Auto Off”.

  • Switch Capability: The on command uses the settings “Switch On Chime Sound” and “Chime Volume” to play the sound.

  • Tone Capability: The beep command uses the settings “Beep Chime Sound” and “Chime Volume” to play the sound.

  • Battery Capability: This device doesn’t support the Wake Up Command Class so it won’t automatically report the battery until it’s low.

  • Polling Capability: The poll command can be used to manually request the battery level, but SmartThings appears to be calling it automatically at least once every 8 hours. When the poll command is executed it checks the setting Battery Reporting Interval and only requests it from the device if enough time has past since the last time it was reported.

  • Refresh Capability: The refresh command resends all of the configuration settings to the device and requests the battery level.

  • Custom Command: SmartApps that support custom commands, like CoRE, can use the customChime command to play a chime by sound number at the volume specified in the “Chime Volume” setting.

  • Custom Attributes: SmartApps that support custom attributes, like CoRE, can use the status and lastCheckin attributes as triggers. Depending on what the device will be doing, the status will be off, alarm, on, beep, or custom.


Screenshots


Important Information

  • Chime #8 is basically just a siren that stays on for 10 seconds so I recommend changing the chime volume to low before testing it.

  • The device doesn’t respond to the off command while playing a chime, but if you tap the button while the chime is playing and then tap the off button, it usually stops.

  • The latest version of the Android Mobile App doesn’t show the settings screen after including a device so you have to manually go into the settings to configure everything.


Code:


I appreciate the support and feedback I have received here, with a special thanks to those that have donated at https://www.paypal.me/krlaframboise. It is not required, but it does motivate me and it allows me to continue buying devices I really don’t need, just so that I can create the DTHs.


Dome Wireless Z-Wave Plus Siren
[RELEASE] Aeon Labs Multifunction Siren
Calling all community members: New SmartApp Ideas
#2

This is great and seems to function well on iOS! It has unlocked the capabilities of this device.

With it, I’ve been able to set the alert, chime and beep independently. Just one very minor suggestion would be to change the center icon to “Chime”.

I’ve been able to incorporate the alarm into Smart Home Monitor but am struggling on how to configure Speaker Notify to play the chime. The SmartApp doesn’t recognize the Device as a Speaker player. I would like to use this when a door is opened when Home.

I’m such a novice at this. Your work and advice is very much appreciated! Thanks!


(Kevin) #3

Smart Home Monitor has a section for “Custom” which allows you to “Alert with Lights”.

If you select the device as the light, it will play the “Switch On Chime” you’ve specified in the settings. (That’s why the middle button is labeled “On” and not “Chime”)

You are aware that there’s a setting screen that allows you to change the chime volume, siren volume and the sound that each button plays, right?


#4

That Custom setting in Smart Home Monitor did the trick. With SmartThings, I’m finding there are so many ways to do things, that I’m quickly ending up with overlapping and competing routines. One of these days, I’m going to need to clear everything and untangle the mess I’ve created!

I found your setting screen and have modified the alarm and chime tones and volumes. Have you noticed that sometimes the sound played differs from the selection? I’ve had to go into it and change/change back a few times while I’ve played with it.


(Kevin) #5

Are you referring to the siren sound, chime sounds, or both?


#6

It happened to both alarm and chimes.


(Kevin) #7

I ran into something similar when switching an existing device to my device handler instead of pairing with my DTH already installed. I thought I found the problem and fixed it because after I a made that change I wasn’t able to reproduce it.

In my case, it only happened once per field so if you notice it happen again, please let me know.


#8

I have had a similar problem with the device changing the selected sound for the siren. In my case, I had CoRE play a beep and then a siren immediately after. It changed the siren sound to match the beep, though each had the correct volume. However, it is not doing this consistently.

BTW - thanks for this DTH, it’s a great piece of work.


(Kevin) #9

That shouldn’t be possible because the device stores the siren sound in its configuration and the DTH sends an on command to turn it on.

The only time my SmartApp updates the configuration is when you tap the refresh button or tap done on the settings screen.

When it comes to the chime, my DTH has to tell it which sound to play so I could see how multiple chimes close together could cause problems.

I’ll look into it and see if I can reproduce the problem in CoRE.


(Kevin) #10

I found a typo that was causing problems with the default values, but I also found a bug in the device.

Basically every time you update the config value for the Chime Volume it also updates the config value of the Siren Sound. I’ve reported this bug to Dome because it’s something they need to fix in their firmware.

This might be another bug with the device so let me know if it happens again after you’ve upgraded to the latest version of the DTH.

I just released a new version of the DTH which fixes my typo and ensures that every time the Chime Volume gets changed, the Siren Sound gets changed afterwards.


#11

Thanks so much, Kevin! I will let you know if it recurs


#12

OK, so after living with this device for just a few days, I have to say I’m impressed. I use SmartAlarm with entry/exit delays. I’ve now added a chime to signal the start of the entry/exit periods. I’ve also set a different chime to indicate that the alarm has been deactivated. And if I ever decide to replace my doorbell, there’s a whole suite of other tones I can use for that purpose, too. It’s so much more useful than the other two sirens I tested.

Thanks, Kevin for unlocking the features of this device!


#13

I almost bought one when I saw this post. How long does the chime sound for?


#14

There are a couple of decent chime sounds lasting about 1 or 2 seconds. There are also several cheesy tunes if you need something longer.


(Kevin) #15

The chimes vary in length and range from about 1 second to 10 seconds. The siren can be set to any of the chime sounds and it just repeats it. You can make the siren turn off after a certain amount of time or not set a length and let it play until the battery dies.

I like this device more than the Aeon Siren, but it runs on batteries so it can’t be used as a repeater.


#16

I’d love to learn how you’ve set this up with the warning chime before the alarm goes off. I’ve already accidentally set the alarm off in the middle of the night. (it sounds much louder when everyone is sleeping!)


(Kevin) #17

The SmartApp Smart Alarm has an entry/exit delay feature.


(Kevin) #18

Most of my other siren DTHs support the Music Player capability so you can select them for Audio Notifications in Smart Home Monitor and Speaker Notify with Sound.

Once you’ve selected the device, you can use the “Custom Message” option to specify a sound number to play.

I didn’t build this feature into the Dome Siren DTH because that capability isn’t meant to be used like that, it’s messy to implement because of how many times that capability has changed, and it also adds a delay of 1-3 seconds because the “custom message” gets passed through Amazon’s TTS service before it’s sent to the DTH.

Does anyone think it’s worth implementing that in this device handler so you’d be able to play different chimes using SHM and Speaker Notify with Sound?


#19

For the entry warning, I used CoRE. Smart Alarm works off the SmartThings mode, so when ST mode is Away or Night, Smart Alarm is “armed”. If you trip a senor, it will give you 30 seconds to disarm before setting off the siren. So to get a warning chime, create a basic piston in CoRE:

If…
(Mode is one of Night or Away)
AND
(Any of Motion Sensor 1 or Motion Sensor 2 changes to active)
Then…
Using Dome Siren as Tone Generator
Beep

Now just make sure you configure your beep sound in the Dome Siren config page and set it to Low volume!


#20

For the disarmed chime, I use the “I’m Back Routine” to change mode to Home and turn on the Dome Siren Switch capability. Again, set the Switch sound in your Dome Siren’s config page.

FYI - in case it’s not clear to anyone, the Switch capability plays a configured sound and then turns itself back to off. So it acts more like a button.