Lua scripting: z-wave command classes commands

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
constapel
Posts: 15
Joined: Friday 30 December 2016 21:43
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Lua scripting: z-wave command classes commands

Post 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
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: Lua scripting: z-wave command classes commands

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest