To download the source code it must be written first :-) I just want to control a PIR , a door windows and some binary switches for an alarm system i am developing.
share early, even if it is a PoC :-)
I cant manage to work with battery powered devices...
yeah, that part is a bit tricky sometimes.
if i understand you correctly, i will setup a wake-up interal for a sensor.... lets say... 5 mins.... and then every 5 mins the sensor will wake up... send me a signal.. and i will have some time? to send whatever command i want before it goes to sleep again?
5 min is quite short, that will drain your batteries fairly quick. You usually send a "wakeup_no_more_information" when the device shall go to sleep again (do that asap). Some like the HSM100 will empty their battery if you don't make them sleep again.
but what about if a thief enters my house.. the sensor will wait for wake up time and then send me the event??
because whatever i do to the Door/window sensor for example... its not sending me anything only if i press the switch behind.
Is there anything like ALARM mode i must set the sensor to send me events in realtime??
button pressing usually triggers the sending of a node information frame. The wake-up time is set so that you can reach the devices periodically to do configuration stuff or whatever. To receive "events", you have to associate the your controller into the proper groups on the device. PIRs usually use group 1 for trigger events. The Seluxit Multisensor e.g. has distinct groups for all sensor inputs.
thank you for your time!
you're welcome. Maybe you want to share your code, I think this is quite interesting and I'm working on a standalone z-wave library as I'm rewriting our stack..
br, Hari