aficustree / homebridge-alarmdecoder-platform

Homebridge plugin for the AlarmDecoder interface for Honeywell and DSC Alarm Systems. Exposes the security system and all zones (via Contact Sensors and Motion Sensors) to Apple's Homekit. Control your alarm through Siri.
Apache License 2.0
18 stars 11 forks source link

Try to supress duplicate alarm log messages #33 #34

Closed dssinger closed 2 years ago

dssinger commented 2 years ago

This is a fix for #33 - it keeps the most recent log message around and only logs if it's different. It would be better to only compare significant fields in the state so that logging doesn't happen every time the console loops through a number of open windows (for example), but this is a start.