Page 1 of 1

Aeon Labs DSD31 siren

Posted: Thursday 18 December 2014 18:13
by strebor
Hi all, I'm new to Domoticz, Z-Wave, and Razberry and Raspberry Pi.

I have a test set up of a couple of flood detectors and a plug in switch. The Raspberry Pi/Razberry controller is doing it's stuff and thus I will be adding some events to poke the Aeon Labs DSD31 siren, when it arrives from the supplier.

As an unsupported (?) device what steps should I be taking to get Open-Z-Wave and Domoticz to control the siren?

I have found an xml scheme on pepper and added that to ..domoticz/Config/aeon_labs as siren.xml

what now ?

Cordialement Strebor

Re: Aeon Labs DSD31 siren

Posted: Wednesday 11 February 2015 19:41
by Jasper
I just bought this siren and would also love to see some support on this.
Do you think it will be supported in the near future?

Re: Aeon Labs DSD31 siren

Posted: Wednesday 11 February 2015 22:34
by Jasper

Re: Aeon Labs DSD31 siren

Posted: Saturday 14 February 2015 14:31
by Jasper
No progress what so ever...
Still hoping for someone with the right knowledge of it all to present himself and be my all time hero.

Re: Aeon Labs DSD31 siren

Posted: Sunday 15 February 2015 12:46
by Jasper
Anyone?
190 views noone who could help in order to make some progress here? :S ?

Re: Aeon Labs DSD31 siren

Posted: Friday 20 February 2015 11:39
by mdu
With the newest version I am able to turn the Siron On and of but I prefer to controll the volume and the type of sound. Jasper did you allready manage to get it working in Domoticz? If yes can you please describe what you did?

Re: Aeon Labs DSD31 siren

Posted: Sunday 15 March 2015 16:57
by mdu
Can anyone answer?

Re: Aeon Labs DSD31 siren

Posted: Sunday 10 May 2015 17:36
by strebor
After the gift of DUTs by Aeon Labs it seems that the siren is now supported.
I don't speak GIT ( as one possibly at times ) so I'm not 100% sure, perhaps somebody fluent in developer could interpret the banter on the OZW site for me please.

Strebor

Re: Aeon Labs DSD31 siren

Posted: Saturday 30 May 2015 20:59
by Jasper
With the newest version i'm also able to get the siren on and off.
Although the settings are in place for further tuning, manipulating these settings doesn't give me a different result in type of sound and volume.

Re: Aeon Labs DSD31 siren

Posted: Wednesday 01 July 2015 9:48
by strebor
As Jasper has written the Siren is now supported> ver 2.2563.
I have linked the siren to a detector and this will trigger the siren from the events script.

Now I would like to change volume and tone from within the script, passing decimal value doesn't work as the boolean 'on' does.
I can choose a default value from the devices menu but that's not per event.

Anybody know how I do this from within the event or external script for that matter?

Strebor

Re: Aeon Labs DSD31 siren

Posted: Friday 20 November 2015 17:27
by u01pei
Hello DSD31 owners,

I am thinking about buying the same sirene. However I would like to know if I can control the sirene as if it was a light (or any switch for that matter).
Or does this Sirene more or less function like a smoke detector, which I can not turn on or off?

I hope some of you DSD31 owners can help me before I purchase this device.

Kind regards, Jeroen

Re: Aeon Labs DSD31 siren

Posted: Monday 23 November 2015 23:28
by mfranken
Hi Jeroen,

I just bought one, simple installation and 1 device shows up that you can switch (on/off)
u01pei wrote:Hello DSD31 owners,

I am thinking about buying the same sirene. However I would like to know if I can control the sirene as if it was a light (or any switch for that matter).
Or does this Sirene more or less function like a smoke detector, which I can not turn on or off?

I hope some of you DSD31 owners can help me before I purchase this device.

Kind regards, Jeroen

Re: Aeon Labs DSD31 siren

Posted: Wednesday 20 January 2016 7:07
by Marq
I was able to include this device in the network, and set the parameters (incl. volume and tone) in the hardware setup.

However I am not able to choose volume/tone by blocky or lua events.

In the overview of devices, it shows as an On/Off device. And not a multilevel device as would be expected.

(looking at the log when including the device, it says 'CommandClass: SWITCH BINARY')

Re: Aeon Labs DSD31 siren

Posted: Tuesday 16 February 2016 11:49
by strebor
Marq,
This script was posted by SilentNL in the tracker so I paste it here:

-- This script change a value of a Zwave (alarm) device. And after that it activates the Zwave (alarm) device. So it can be triggered in a Event.
-- How to:
-- Create a virtual on/off device
-- This script has to be named like the the new virtual device in the folder: ~/domoticz/scripts/lua for example "script_device_BeNext-Alarm-Sound-02.lua"
-- With the following command you can get the Zwave device information: "curl 'http://localhost:8080/json.htm?type=ope ... odes&idx=2'"
-- (2 = The Zwave device number, that you can find Setup --> Hardware)
-- With the following command you can test a Zwave config change: "curl 'http://localhost:8080/ozwcp/valuepost.html' --data '39-CONFIGURATION-config-byte-1-7=3' -v"
-- (39 = device index, 7 = index, 3 = value you want to set)


local VirtualDevice = 'BeNext-Alarm-Sound-02' -- Name of your new Virtual Device Name.
local AlarmDevice = 'BeNext Alarm Sound' -- Name of the Zwave (alarm) device.
local nodeID = ('39') -- nodeID of the Zwave (alarm) device.
local index = ('7') -- The setting that you want to change

local clock = os.clock
function sleep(n) -- seconds
local t0 = clock()
while clock() - t0 <= n do
end
end

commandArray = {}

if (devicechanged[VirtualDevice] == 'On') then
local indexvalue = ('2') -- The value you want to set for the setting
os.execute ("curl 'http://localhost:8080/ozwcp/valuepost.html' --data '" .. nodeID .. "-CONFIGURATION-config-byte-1-" .. index .. "=" .. indexvalue .. "'&")
print("Change " .. AlarmDevice .. " parameter: " .. index .. " to " .. indexvalue)
commandArray[AlarmDevice]='On'
end

if (devicechanged[VirtualDevice] == 'Off') then
commandArray[AlarmDevice]='Off'
sleep(1)
local indexvalue = ('3') -- The value you want to set for the setting
os.execute ("curl 'http://localhost:8080/ozwcp/valuepost.html' --data '" .. nodeID .. "-CONFIGURATION-config-byte-1-" .. index .. "=" .. indexvalue .. "'&")
print("Change " .. AlarmDevice .. " parameter: " .. index .. " to " .. indexvalue)
end

return commandArray

Re: Aeon Labs DSD31 siren

Posted: Sunday 05 February 2017 12:52
by renerene
The Lua works, except for the important part: changing the parameter of the sound type. Changing indexvalue has no effect.

I have changed index from 7 to 37, because this is stated as the sound parameter in the hardware section of the sirene

Code: Select all

local index = ('37') -- The setting that you want to change
result of 192.168.0.107:8080/json.htm?type=openzwavenodes&idx=6 in my laptop browser addressline:

{
"status" : "ERR"
}