Hello,
I would like some assistance to generate a HTTP Device that will allow me to use an AEOTEC siren in two different scenarios.
1. Door/ Windows notifier with a specific siren and volume
2. Alarm/Panic with a specific siren and volume
As per some of the documentation I can run the following on my web browser:
Door / Window notifier
http://RazberryIP:8083/ZWaveAPI/Run/dev ... (37,257,2)
Panic Alarm
http://RazberryIP:8083/ZWaveAPI/Run/dev ... 37,1027,2)
The device description is found here:
http://pepper1.net/zwavedb/device/596
Also here are some of the settings for this siren:
Siren 1 88 dB - 257
Siren 1 100 dB - 258
Siren 1 105 dB - 259
Siren 2 88 dB - 513
Siren 2 100 dB - 514
Siren 2 105 dB - 515
Siren 3 88 dB - 769
Siren 3 100 dB - 770
Siren 3 105 dB - 771
Siren 4 88 dB - 1025
Siren 4 100 dB - 1026
Siren 4 105 dB - 1027
Siren 5 88 dB - 1281
Siren 5 100 dB - 1282
Siren 5 105 dB - 1283
I appreciate any help on this matter.
Aeotec (siren) DSD31 as HTTP Device
Aeotec (siren) DSD31 as HTTP Device
Last edited by norperu on 16 Nov 2015 06:55, edited 1 time in total.
Re: Aeotec (siren) DSD31 as HTTP Device
I would suggest a code device instead with the following code:
On: zway.devices[20].Configuration.Set(37,257,2); zway.devices[20].SwitchBinary.Set(255)
Off: zway.devices[20].SwitchBinary.Set(0)
On: zway.devices[20].Configuration.Set(37,257,2); zway.devices[20].SwitchBinary.Set(255)
Off: zway.devices[20].SwitchBinary.Set(0)
Re: Aeotec (siren) DSD31 as HTTP Device
Thank you very much for your fast response.
I do not know if the latest version 2.1.1 has a code device.
I remember seeing it before, but never ventured that way.
Could you point me to the new APP I need to use?
Thank you in advance.
I do not know if the latest version 2.1.1 has a code device.
I remember seeing it before, but never ventured that way.
Could you point me to the new APP I need to use?
Thank you in advance.
Re: Aeotec (siren) DSD31 as HTTP Device
Poltos,
Any ideas?
Any ideas?
Re: Aeotec (siren) DSD31 as HTTP Device
Have enabled under "My Settings" the box before Show System Apps
v2.1.1 raspi2
Re: Aeotec (siren) DSD31 as HTTP Device
Thank you so much.
As you already figure it out I am not that expirienced on this razzberry.
Have a great day.
As you already figure it out I am not that expirienced on this razzberry.
Have a great day.
Re: Aeotec (siren) DSD31 as HTTP Device
This setting was recently introduced with the v2.1.x versions. I also stumbled on it at first 

v2.1.1 raspi2
Re: Aeotec (siren) DSD31 as HTTP Device
There most be something wrong with my implementation of the code device or maybe something wrong with my system.
The code device automatically turns on every 5 minutes or so.
I used the binary sensor type and the statement :
zway.devices[20].Configuration.Set(37,257,2); zway.devices[20].SwitchBinary.Set(255)
Any ideas what could be going on? Or am I missing something?
Also, how do I trigger it once I create it?
The code device automatically turns on every 5 minutes or so.
I used the binary sensor type and the statement :
zway.devices[20].Configuration.Set(37,257,2); zway.devices[20].SwitchBinary.Set(255)
Any ideas what could be going on? Or am I missing something?
Also, how do I trigger it once I create it?
Re: Aeotec (siren) DSD31 as HTTP Device
Code device should create a switch in the UI. You should press it. Note, use Code Device App, not Execute JS Code App.
May be you have some schedule running it every 5 minutes?
May be you have some schedule running it every 5 minutes?
Re: Aeotec (siren) DSD31 as HTTP Device
Thank you both for assisting on this.
It was a rookie mistake, I chose binary sensor not switch.
Therefore it was polled every 5 minutes and also why I did not get an on/off button.
It was a rookie mistake, I chose binary sensor not switch.
Therefore it was polled every 5 minutes and also why I did not get an on/off button.