by pp6knjoR5puA8eps » Fri Apr 18, 2014 4:58 am
Thanks again, Kevin.
I'm planning to leverage the LRR support to know who is coming and going, but it's only interesting when the arm/disarm comes from something other than my AD2Serial.
When the computer is the one arming the system, the computer knows that it did it.
I don't have any real LRR device. I suppose that would be an important distinction. The monitoring company can't tell who's responsible for disarming the system if the event comes from a keyswitch zone, right? That's a good point, thanks for raising it, because it hadn't occurred to me.
I'm just getting started with developing my system, don't want to head down roads that turn out to be dead ends. Thanks for bearing with me.
My plan for the LRR user info is:
- static IP addresses (DHCP reservation) assigned to the WiFi radio on each alarm user's smartphone
- a table that maps each alarm user ID to their smartphone's reserved IP address
- a table that maps each alarm user ID to their smartphone's phone number
- a table that specifies which users get notified about which other users arm/disarm events
Prior to sending an SMS, try to ping that phone on the WiFi. If the phone responds (it's at home), don't bother sending the text.
This way, when I return home with one of my kids, and the kid's code disarms the alarm, I won't get a text about it.
OTOH, if I'm at the office, the ping to my phone will fail, so I will get a text about my kid's arrival/departure.