The door sensor sleeps so all the refresh button does is set a flag which will make it request the state state, temp and battery the next time it wakes up.
Pressing the refresh button more than once will set a different flag which causes it to re-send all the configuration settings to the device the next time it wakes up.
Actuators like garage door controllers and sirens can respond to commands immediately which is why the refresh button fixes them.
SmartThings changed something related to delays recently which broke the delayed alarm feature so I guess itās possible that long delays between z-wave commands are now blocking messages from other devices.
The device doesnāt stay on long enough for sounds bell1, chime2, and chime3 to reliably send the off command so those sounds add a 3 second delay which is supposed to fix the issue with the status getting stuck.
If youāre using one of those sounds, try commenting out lines 827 and 828 by putting // in front.
That change will cause the status to get stuck more, but let me know if it fixes the problem with your door sensors. If it does Iāll see if I can fix the issue with the status getting stuck the same way I fixed the beep delay.
If youāre using one of those sounds and itās failing to send the command after the 3 second delay then yes that would explain why the status keeps getting stuck.
Thanks! Yes, I am using bell1. I checked the status of the doors in the IDE and they report the same thing as the iOS app. Watching the logs I see that the closed status on the door sensors simply does not get reported many times when I close the door. It seems that opening and quickly closing the door while the chime is enabled makes it more likely for the door status to be lost.
I commented out those lines in the DTH and will report back once I see how it works.
I commented out lines 827 and 828 and still managed to get a lost closed status on one of my doors. Also the status of the second siren almost always got stuck on and the bell1 on second siren would often repeat up to 4 times before turning off. I have a ticket submitted to SmartThings but Iāve not yet received a reply. Even though these devices are not officially supported there is no reason that the siren device should have any effect on the door sensor. I also tried triggering the door open chime using webCoRE instead of SHM and it does not improve anything.
Any help _ Followed the video for setting up my Device handler first for the DOME siren . Everything looks right and my smartthings app looks exactly like yours but i canāt get any sound out of my Dome. Then I hit buttons like Chime2 or other buttons nothing happens. Tried to exclude it from Zwave and reloading it but nothing???
Iāve got a pretty odd-request. Iām using Sharptools (which is amazing) and Tasker on android to make some custom SH things happen. One of sharptools nice skills is the ability to set z-wave actions/parameters through tasker. My goal is to set chime volume to 1, chime, wait, set chime volume to 2, chime, wait etc.
The actions it pulls from the device handle to run are as follows:
toggle
on
off
off
strobe
siren
both
configure
beep
play
pause
stop
nexttrack
playtrack
setlevel
mute
previoustrack
unmute
settrack
resumetrack
restoretrack
speak
ping
playtrack
playtrackandresume
playtrackandrestore
playsoundandtrack
playtrackatvolume
bell1
bell2
bell3
chime1
chime2
ā¦etc
Iām flipping through the device handler looking to figure out how to set the chime volume with these. SetLevel doesnāt seem to be what Iām looking for. Itās really more on the DH side than sharptools side, so I figured Iād seek your input. Thanks!
I havenāt tested this, but in theory, if you add the following to the bottom of the code it should allow you to use the setLevel command to change the chime volume.
Keep in mind that this will cause that setting to be out of sync with the level attribute and will most likely change the actual volume of the device every time you save the settings screen.
Thanks for the map of sounds, it confirms what I suspectedā¦ my siren isnāt working as I expected. For example, Bell 3 is not Fur Elise, itās a slow siren. Most of the buttons are not playing the sounds I expect, and Iām not convinced itās playing at the correct volume for a given sound. The battery widget reports 100% (and itās a brand new unit, and had the plastic strips around the battery when unpacked). SmartThings was able to pair with it, but not do anything with it out-of-the-box; I installed v1.2.2 of the Device Handler and every looked fineā¦ but didnāt sound right. Hereās what I get:
Siren1 - sounds like a car alarm; cycles through several āalarmā sounds
Siren2 - plays a single tone, but lights flash for ~8-10 seconds
Chime 1- Classic door bell, x2. "ding-dongā¦ ding-dong"
Chime 2- No sound, 1/2 second of lights
Chime 3- 1/2 second of a descending whistle sound.
Bell1- 3 seconds of the car alarm sound; I think itās the start of Siren 1
Bell2- a quick chirp followed by a submarine-style long āwhoopā repeated several times
Bell3 - Slow Siren - maybe āpolice carā?
Bell4- A few siren noises - maybe "emergency/fire engine"
Bell5- A short noise, I think itās supposed to be breaking glass.
Iām new to this- this is my first device handler installed via the IDE. Iāve removed the batteries from the Siren to try a reset; not sure about next steps. My main question - does this sound like a config issue, or bad hardware? Not sure If I should keep tinkering or just return the unit as defective.
Remove the device from SmartThings and then hold the action button down for at least 10 seconds to perform a factory reset. A flashing light will indicate a successful reset.
Once itās been reset you can add it back to SmartThings and hopefully everything will work as expected.
Keep in mind that this siren occasionally has a 1-3 second delay so if you tap a tile donāt hear anything and then tap another tile those sounds might overlap resulting in unexpected partial sounds being played.
Thanks Kevin. The 10-second button hold did cause the light to flash, so a reset occurred. After reset, the siren disappeared from My Devices. Triple-clicking the button allowed it to be re-added (after clicking ā+ā in the app to begin), and upon being re-added, the device automatically picked up the Dome-Siren DTH I had previously added. However, the siren behaves the same as before- incorrectly. I also enabled debugOutput, and was able to confirm that the sound numbers being played matched the values in the soundMessgages array, so at this point I have to conclude the driver is fine but the siren is bad. Guess itās getting returned to Amazon as defective.
I think I may look into other models before ordering another; I wasnāt thrilled with the sound or the volume. Ideally, Iād like a combination Siren & chime, but if the siren isnāt loud enough, itās no good as a siren.
So just to be clear before I start poking around in the codeā¦
There is, currently, no simple way to change the volume of a custom SHM audio notification utilizing the bell sound.
Essentially, I have a motion sensor outside spanning my driveway so I know if anything walks up to my cars at night. Inevitably, there will be false alarms and I donāt want to be running to my driveway every couple nights because a cat wanders in or a particularly strong wind trips it. So I figured Iād use this device and mount it under my flood light. That way when the motion trips, a little chime and a little red light from the device will go a long way towards making thieves feel uncomfortable about sticking around.
Itās working like a charm but Iād love to make the audio notification a little louder. Iām using a custom SHM rule utilizing āaudio notificationā with Bell 2 and ālight notificationā - as it infers to someone outside that theyāve triggered a chime indoors as well (or at least thatās the thought).
Actually, a quick follow up. I just realized I donāt have the Dome Siren, I have the Neo Coolcam Siren Alarm. One of the Amazon reviews specified to use this DTH with the device, which is why I thought I had a Dome. A quick search hasnāt turned up another driver for āNeo Coolcam Sirenā; should this driver work? Is there another Iām missing?
So you want everything to play at the volume specified in the settings, except a specific SHM rule?
I built this functionality into my Aeotec Doorbell DTH, but itās not nearly as simple as it sounds. Modifying the code will most likely result in unwanted delays and other issues so I donāt recommend it, but this is what you would have to do:
Before the play command you would have to add the command to change the volume and a delay thatās long enough for the volume change to take effect.
After the play command youād have to add a delay that waits long enough for the chime to finish playing and then changes the volume back to the default volume. Youād also have to add a command that sets the siren sound back to the default value because thereās a firmware bug and every time you update the chime volume it also updates the siren sound.
I am looking for a way to have flash LED for 5 seconds but no sound.
For some reason for my device, Chime 2 doesnāt play any sound. So I use it to play with LED, it actually works, but only blink once.
The scenario is, I want to remind myself of Alarm status when I want close to the door. So I want to motion sensor (by the door) to trigger some LED flashing.