I’d much rather have an event based system instead – more efficient. I really don’t like having to add polling over the network into my applications. I needed to poll so frequently as the sensors are very responsive, and you had to be quick to catch the status change on the alarm network module web interface (the home automation system needed to poll the web interface on repeat). Unfortunately, the only technique to achieve that involved my home automation system polling the alarm network module every 1.5 seconds to see if the zone status had changed. After five minutes of inactivity then turn the light off again. This was primarily for night time – if someone walks into the hallway then turn a light on for them. ![]() This wasn’t for a function related to the alarm, but instead to allow me to turn lights on if someone walks into a zone. ![]() However, recently I wanted to teach my home automation system how to monitor the status of each of the alarm sensors. After that I’ve not had an issue with it. I’ve only had to completely power the alarm system down (including the disconnection of the battery) once to reboot the network module. I was talked out of this on the basis that there was also a new network module available, where instead of me needing to add an Arduino with an Ethernet connection to the serial module, I could just stick their network module in instead – and communicate with that. This would enable me to more or less capture every event as it occurred, and to send input to the alarm – arm, disarm etc. I had originally planned to buy a serial interface module for the alarm so that I could build an Arduino device to communicate via a serial connection to the Alarm. Great! All I needed to do after that was add a network connection to it so that I could control it from my home automation system. ![]() When I first moved into my house I found there was a Networx NX-4 alarm installed. “We have an emergency alert in detention block AA-23.” – Random Death Star Administration Team Member.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |