bind motion sensor

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
waver
Posts: 4
Joined: 26 Sep 2013 12:38

bind motion sensor

Post by waver »

Hi,

I like to bind the motion detection of our motion sensor to some actions. Therefore I tried various code lines, for instance this one but it doesn't work.
zway.devices[3].instances[0].SensorBinary.data[1].bind(function()

It works for other switch devices, but how can I bind my motion detection in main.js so I can add custom code?

I have the aeon labs multi sensor: http://www.robbshop.nl/multisensor-aeon-labs-4in1
Post Reply