I'm just upgrading from a veraplus, so bit of a steep learning curve.
I have a zipato zwave siren, within Vera, the scripting language is LUA and if I wanted to change the siren sounnd (it can make 5 different sounds.
I have treid in the control panel to send that but nothing happens and I get a syntax error in the log.
Within Vera, a working line would be;
luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='13',Data='0x7 1 0x5 0x0 0x0 0x0 0x0 0xA 0x5 0x0 0x0'},1)
THis would make a door chime sound. To change the sound the 0x5 would be changed for an alternative, for example 0x2 is fire engine and ox1 is alarm siren.
The code needed to be sent is in the above line and is of types;
13 = Z-Wave Device ID
0x71 = Notification Command Class
0x5 = REPORT
0x0
0x0
0x0
0x0
0xA = Type
0x2 = Event
0x0
0x0
So can anybody help me do this both in the CP instant command, but also how do I send a script as an action based on say, when a motion sensor in my porch senses motion, currently that tells me through the Sonos plugin, turns on lights if it's dark, etc. but I can't work out how to make my zipato siren make a different sound, turning it on and off would be easy but I need to change the tone depending on event with somthing like the line above.
Thanks.
I have a zipato zwave siren, within Vera, the scripting language is LUA and if I wanted to change the siren sounnd (it can make 5 different sounds.
I have treid in the control panel to send that but nothing happens and I get a syntax error in the log.
Within Vera, a working line would be;
luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='13',Data='0x7 1 0x5 0x0 0x0 0x0 0x0 0xA 0x5 0x0 0x0'},1)
THis would make a door chime sound. To change the sound the 0x5 would be changed for an alternative, for example 0x2 is fire engine and ox1 is alarm siren.
The code needed to be sent is in the above line and is of types;
13 = Z-Wave Device ID
0x71 = Notification Command Class
0x5 = REPORT
0x0
0x0
0x0
0x0
0xA = Type
0x2 = Event
0x0
0x0
So can anybody help me do this both in the CP instant command, but also how do I send a script as an action based on say, when a motion sensor in my porch senses motion, currently that tells me through the Sonos plugin, turns on lights if it's dark, etc. but I can't work out how to make my zipato siren make a different sound, turning it on and off would be easy but I need to change the tone depending on event with somthing like the line above.
Thanks.
Comment