This page provides a solution to use Siren 6 with Vera UI7 and forms a part of the larger Siren 6 user guide.


The code below allows you to control the default sound that is played for each endpoint (_Generic IO to _Generic IU 7). The code only needs to be set once, and the default sound will save until the device is factory reset or re-paired.


Explanation of endpoints and LUA code

When the Siren 6 is installed in UI7, it appears as a device but there are then eight child devices installed, which we refer to as endpoints.  Each of these endpoints is responsible for triggering an alert sound as follows:


ENDPOINT can be a range between 1 - 8
1 = _Generic IO (browse)
2 = _Generic IO 1 (tamper)
3 = _Generic IO 2 (button 1)
4 = _Generic IO 3 (button 2)
5 = _Generic IO 4 (button 3)
6 = _Generic IO 5 (environment)
7 = _Generic IO 6 (security)
8 = _Generic IO 7 (emergency)

You can change the names of each endpoint and they will retain their endpoint indicators. If you look at each endpoints ALTID, they will appear as:
e1, e2, e3, ..., e8 (indicating endpoint 1 - endpoint 8)


 


Using the below LUA code, you can change the default sound and volume of each endpoint. The LUA code format is: luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1', 'SendData',{Node='ALTID', Data='96 13 0 ENDPOINT 121 5 VOLUME SOUND'},1) 


ALTID can be found under the main Siren/Doorbell 6 device under (Advanced -> Params)

image


VOLUME Can be a range between 0 - 100
SOUND = can be a range between 1 - 30: Preview all 30 sounds here

After you've adjust the ALTID, VOLUME, and SOUND parameters, the set sound/volume will be used when turning the child device ON through Vera UI7 interface. This sound will remain until you have set the endpoint again or until you factory reset your Siren 6. 




Steps to setting the default volume/sound


Following these steps will allow you to set the default sound and volume level of 1 of the 8 endpoints available on this device. This volume/sound setting will remain in effect until the endpoint has been set again, or until the device itself is factory reset.


  1. Select "Apps"
  2. Select "Develop Apps"
  3. Input the code and adjust the ALTID, ENDPOINT, VOLUME, SOUND values
  4. Press GO
  5. Now test the endpoint.


image







Example LUA code input

  • AltID = 85
  • Change tamper sound (endpoint 2)
  • Volume level = 50%
  • Sound # = 15

LUA code for example:
luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1', 'SendData',{Node='85', Data='96 13 0 2 121 5 50 15'},1)