Page 1 of 1

Intercept alert from motion detector on razberry

Posted: 28 Oct 2013 18:10
by gannher
Hello

I buy recently a razberry board and a motion detector

When motion detector detect a movement, he send a notification to razberry but how can I intercept this notification for launch other action ?

Thanks

Pretty like this:

Posted: 28 Oct 2013 18:10
by PoltoS
Pretty like this:

zway.devices[NN].SensorBinary.data[1].level.bind( function () {} )

Great thx !

Posted: 28 Oct 2013 18:10
by gannher
Great thx !