kk7ds/pynx584

Logging event/status changes

Closed this issue · 2 comments

Hi Dan,
I am going to attempt to use your code to interface with my alarm system. About to purchase the module. Can you tell me as I have not been able to figure this out looking through the code.
Is it possible for the server module to log alarm events to a file.
I'm very keen on tracking motion sensor activity and want to log the time a sensor detects movement when the alarm is either on or off. Is that possible with what you have built?
Many thanks
Phil

kk7ds commented

Thanks Dan! Excellent. That will work nicely. I want to get the data into splunk so I can start setting up some rules (e.g. garage door open/close, then no activity in house for 30 minutes plus a phone no longer visible on the wifi network = high probability that someone left the house and forgot to turn the alarm on = send message. If I can set it up to log to a file, then I'll just get splunk to monitor that file and index the events as they are written. I'm already getting (dis)arm state changes through a comnav IP interface board on the panel but it does not report on zone activity when in an unarmed state.

Thanks heaps!