Aeon Labs Siren Gen5 ZW080-A17

  • 276 Views
  • Last Post 06 September 2015
jalexander319 posted this 04 September 2015

I just got a new siren last night. It shows up as a 'StandardSwitch' device, and I can get it to turn on and off. (On a side note, it would be awesome if I could change the default icon used. It's a siren, and has a light bulb for its icon.)

Where I am having difficulty, is that it is supposed to support multiple sounds and volume levels. I was hoping it would have a lights only (no siren) option, but it looks like it cannot do that.

I made a script based off of information here: https://github.com/rscott78/InControl-Scripts#set-configuration-parameters

I put the script in as a scene pre-script, but it does not appear to change the way the siren is behaving, i.e. the siren always sounds the same and is extremely loud.

Here is my script code. The short ID of the siren, as defined in the device property page is 8. The default siren value according to the documentation I found is 13. I interpret this as 'siren number 1 and volume number 3'. Below, I am trying to do 'siren number 5 and volume number 1'. Hoping someone can help me figure out what I am doing wrong.

Edit: I found more information here: http://www.vesternet.com/resources/application-notes/apnt-90 that indicated that I used the wrong values for the ParamValue below. I tried things like 1281 and 1025 with no change.


using MLS.ZWave.Service.Rules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MLS.HA.DeviceController.Common.Device.ZWave;

public class ActivateSiren : ScriptBase, ScriptInterface {

public void runScript() {
// Retrieve a device
var device = getNodeByShortId(8);

// Setup configuration parameter values
// TIP: Use http://www.pepper1.net/zwavedb/ to determine number, size and value
byte paramNumber = 37;
int size = 2;
int paramValue = 51;

// Set the value
dm.setConfigurationParameter(device.deviceId, paramNumber, size, paramValue);

}

}

jalexander319 posted this 06 September 2015

Some progress. If I use the parameters button in the device menu, I can retrieve the current value of parameter 37 (257 by default) and then set it to something else like 1025 and I can hear the difference. Now that I know I am using the correct values, I am working on the script to make sure it is being fully executed.

Close