Aeon Labs DSD31 siren

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
strebor
Posts: 10
Joined: Thursday 18 December 2014 17:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 8007
Location: France
Contact:

Aeon Labs DSD31 siren

Post 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
Jasper
Posts: 5
Joined: Wednesday 11 February 2015 19:15
Target OS: Linux
Domoticz version:
Contact:

Re: Aeon Labs DSD31 siren

Post 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?
Jasper
Posts: 5
Joined: Wednesday 11 February 2015 19:15
Target OS: Linux
Domoticz version:
Contact:

Re: Aeon Labs DSD31 siren

Post by Jasper »

Jasper
Posts: 5
Joined: Wednesday 11 February 2015 19:15
Target OS: Linux
Domoticz version:
Contact:

Re: Aeon Labs DSD31 siren

Post 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.
Jasper
Posts: 5
Joined: Wednesday 11 February 2015 19:15
Target OS: Linux
Domoticz version:
Contact:

Re: Aeon Labs DSD31 siren

Post by Jasper »

Anyone?
190 views noone who could help in order to make some progress here? :S ?
mdu
Posts: 2
Joined: Sunday 09 November 2014 10:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Aeon Labs DSD31 siren

Post 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?
mdu
Posts: 2
Joined: Sunday 09 November 2014 10:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Aeon Labs DSD31 siren

Post by mdu »

Can anyone answer?
strebor
Posts: 10
Joined: Thursday 18 December 2014 17:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 8007
Location: France
Contact:

Re: Aeon Labs DSD31 siren

Post 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
Jasper
Posts: 5
Joined: Wednesday 11 February 2015 19:15
Target OS: Linux
Domoticz version:
Contact:

Re: Aeon Labs DSD31 siren

Post 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.
strebor
Posts: 10
Joined: Thursday 18 December 2014 17:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 8007
Location: France
Contact:

Re: Aeon Labs DSD31 siren

Post 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
u01pei

Re: Aeon Labs DSD31 siren

Post 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
mfranken
Posts: 35
Joined: Saturday 15 November 2014 14:28
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Amsterdam, the Netherlands
Contact:

Re: Aeon Labs DSD31 siren

Post 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
Raspberry, RFX, Zwave, JeeNodes, MySensors, OTGW, Domotix iPhone App
User avatar
Marq
Posts: 17
Joined: Sunday 26 April 2015 12:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Aeon Labs DSD31 siren

Post 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')
strebor
Posts: 10
Joined: Thursday 18 December 2014 17:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 8007
Location: France
Contact:

Re: Aeon Labs DSD31 siren

Post 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
renerene
Posts: 351
Joined: Wednesday 03 August 2016 11:36
Target OS: -
Domoticz version:
Contact:

Re: Aeon Labs DSD31 siren

Post 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"
}
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest