Page 1 of 1

Lua scripting: z-wave command classes commands

Posted: Wednesday 08 March 2017 20:32
by constapel
A lot of z-wave devices are working with groups.
Most of these devices can send alarms or notifications to these groups ( representing grouped devices)
This is called associations as I believe. (direct communication device <-> device)
Is the above theory correct?

Is there a way or possibility (lua?) to send a NOTIFICATION / ALARM frame to my z-wave siren device (coolcam NAS-AB01Z )
My siren supports COMMAND_CLASS_SWITCH_BINARY

I want to use these siren for 2 functions:
1. Use as a door bell with the door bell music mode
2. Use as a alarm when motion is detected with the alarm music mode
Both modes can be / are configured separate.
I also want them to be used separate, but i do not understand how to accomplish this.

Is there a Lua way to send command class commands to this z-wave device?

Constapel

Re: Lua scripting: z-wave command classes commands

Posted: Monday 24 July 2017 18:42
by Bikey
Hi,

I had the same question. It turns out you can reconfigure the device using an URL-call. See this thread for how I solved this, even without using scripting.