Page 1 of 1

bind motion sensor

Posted: 28 Oct 2013 15:00
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