Tags: alarm siren duration
november 15, 2015 om 4:40 pm #1764CoyoteLid
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 om 9:05 pm #1766K.RensSleutelbeheerder
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.
- Deze reactie is gewijzigd 5 jaren, 5 maanden geleden door K.Rens.
K.Rensnovember 16, 2015 om 7:15 am #1775MikaSleutelbeheerder
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 om 9:24 am #3710djandibBijdrager
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 om 2:26 pm #3711djandibBijdrager
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 om 1:26 pm #3715K.RensSleutelbeheerder
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 😉
- Je moet ingelogd zijn om een reactie op dit onderwerp te kunnen geven.