leosac / access-control

Leosac Access Control - Open Source Physical Access Control System
https://leosac.com
GNU Affero General Public License v3.0
242 stars 40 forks source link

Alarm module #137

Closed Maxhy closed 2 years ago

Maxhy commented 2 years ago

Define Alarm logics and raise/disarm an alarm according to it.

Maxhy commented 2 years ago

Logic added to the core. Two alarms are currently defined, one on door forced and one on authentication failure. If database is enabled, an AlarmEntry it stored each time an alarm is raised.

Will need improvement on zmq messaging to have proper Alarm modules taking advantage of such feature.

Maxhy commented 2 years ago

Done