A security bot to guard your secret rebel hideout.
If you have access to secbot you ought to be able to run the secbot command:
$ secbotPlease see the Instructions for furthher information.
Front door access is managed with 3 services, one for the RFID reader, an authorizer, and one to open the latch.
Note: see https://www.youtube.com/watch?v=y8OnoxKotPQ
The services are managed with systemd. The driving service is the front_door_latch.service.
$ sudo systemctl start front_door_latch.service
$ sudo systemctl restart front_door_latch.service
$ sudo systemctl stop front_door_latch.serviceThe other services are front_door_rfid_reader.service and front_door_authorizer.service. They are bound to the front_door_latch.service and stop/restart/start as a group.
Logging is in /var/log/queeriouslabs/acl.log
required data for access control is in the data directory.
Adding and removing users is managed via edited the rfids.csv file in the data directory. An interface will be built, but for now, add/remove/modify
rows in the csv file.
Check the logs
$ less /var/logs/queeriouslabs/acl.logRestart the services
$ sudo systemctl restart front_door_latch.serviceIf that doesn't work, check dmesg for errors related to USB devices
$ sudo dmesg -xTDo not update on the pi. Update on a local repo, run pytest to ensure no test failures, and create a PR. Ping matt.