Tagged: alarm siren duration
November 15, 2015 at 4:40 pm #1764CoyoteMember
I have an Aeotec Siren Gen5, and I have a question with blocky rules.
Since the new OpenZWave release, I have now all parameters for this module.
I would like to use my siren to validate my house’s alarm when I put it on (But with specific low sound).
The parameter is oki on my ZWave service, but I can’t see it on my blocky rules.
If I change this parameter, my siren will always use this sound (for alarm, and to validate the alarm)…
Is it possible to add specifics parameters in Blocky ?
JMarcNovember 15, 2015 at 9:05 pm #1766K.RensKeymaster
Thank you, this is valuable feedback.
We’ve added it on our short term todo list, since I had exactly the same problem.
You can for sure already do it using a custom php block inside blocky, but I need to find out which command to issue.
- This reply was modified 5 years ago by K.Rens.
K.RensNovember 16, 2015 at 7:15 am #1775MikaKeymaster
Here is a workaround before I add the functionnality inside blockly itself.
- First, modify the property via the zwave service and see what happen in the log of the core service. You should see something like this :
2015-11-16 06:10:12.650 Message In Core : 1|HUB|zwave|UPDATEPROPERTY|zwave-2|37-user-bool-1-0|true 2015-11-16 06:10:12.917 Forwarding message : 1|HUB|zwave|UPDATEPROPERTY|zwave-2|37-user-bool-1-0|true 2015-11-16 06:10:14.961 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART) 2015-11-16 06:10:15.043 zwave : Message received - 1|HUB|zwave|UPDATEPROPERTY|zwave-2|37-user-bool-1-0|true|1447650614624|447409f9bfb16fc245d3496fef722b73 2015-11-16 06:10:15.131 Message Finished, remove it from the stack (1|HUB|zwave|UPDATEPROPERTY|zwave-2|37-user-bool-1-0|true)
- Then, go to your blockly scene and add a php block with the following code :
//setValue("THE SERVICE","THE DEVICE ID","THE PROPERTY ID","THE VALUE"); setValue("zwave","zwave-2","37-user-bool-1-0","true");
As you can see all the values you need can be found in the log of the core service.
Mika.September 9, 2016 at 9:24 am #3710djandibParticipant
I have now the Siren. Aeotec Gen5
Volume etc. all work fine.
How can I controll the duration of the alarm less <1 minute?
I want the Alarm only for a second like a carlock Beep-Beep.
IF Time= 13:00
THEN Turn on Siren
after 1 Second Turn off SirenSeptember 9, 2016 at 2:26 pm #3711djandibParticipant
Live can be so simple 😉
I made blockly:
– turn on Siren
– wait 0.0125 minutes
– turn off Siren
It works! 🙂
BUT unfortunately even if I kill the wait order, it takes about 3 seconds until siren turns off again.
Any idea?September 10, 2016 at 1:26 pm #3715K.RensKeymaster
It takes some time for zwave devices to process signals.
It could be that the device itself is not fast enough to process it.
You could try putting the device as close as possible to your usb key and disabling services you do not need temporarily to decrease load as much as possible.
You could also try disabling zwave logging, but then you are in the blind if there ever are issues 😉
- You must be logged in to reply to this topic.