where to start

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
jusvaha
Posts: 1
Joined: 16 Nov 2016 22:22

where to start

Post by jusvaha »

Not comfortable with JavaScript, so I donn't want to mess with that any more than necessary.

When this happens:
devices.10.instances.0.commandClasses.113.data.7.eventString = "Motion detected, location unknown"
I want to invoke this:
http://<my apache httpd>/rest/alarm_on

And when this happens
devices.10.instances.0.commandClasses.113.data.7.eventString = ""
I want to invoke this:
http://<my apache httpd>/rest/alarm_off

What is really the minimum to get z-way to invoke REST call when things happen?
Sample code would be nice, and a pointer where to stuff that.
:)
Post Reply