Difference between revisions of "Physical access control"

Jump to navigation Jump to search
1,837 bytes added ,  23:38, 27 October 2021
m
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:


= Hardware =  
= Hardware =  
== Access tokens ==
The front door and old system uses magnetic stripe cards.
The new system uses NFC tokens. As long as they have a unique ID and speak NFC they should work.
== Computers ==
The Omni front door uses a Beagle Bone Black with battery backup present in the same box.
The sudo/ccl door currently doesn't have a computer but we are working on it.
== Microcontrollers ==
The Omni front door uses an Arduino hooked to the BBB. Jake knows more. It is powered from the BBB.
The sudo/ccl door uses an ESP32 running [https://esphome.io/ ESPHome] firmware. The yml config is [https://github.com/sudoroom/esphome-omnidoor-rfid here]. It talks to an RC522 RFID module over SPI, reading every second and returns the read as the event "tag_scanned" with the NFC tag ID. It has an API service that Home Assistant can call, named "unlock_door" which turns on the GPIO pin controlling the solenoid. Changing the PWM power and amount requires re-flashing which can be done over the air (OTA). It uses a few transistors to control the 12 VDC for the solenoid. Alex made this circuit. The ESP32 board is powered from a 5 V regulator which is powered by the same 12 V as the solenoid.
It is planned that the power for the ESP32 and solenoid will ultimately come from PoE with a central battery backup in the server closet which will also server as power backup for the new access control computer.


== Electric strikes ==
== Electric strikes ==
Both the Omni front door and sudo/ccl door use electric strikes. These just need 12 V and enough amps.
To control the strikes from a microcontroller the Omni front door arduino uses some sort of motor controller board. Jake knows about it.


== Smart locks ==
== Smart locks ==


=== Off the shelf ===
=== Off the shelf ===
juul has been testing the August Smart Lock Pro which speaks z-wave. He wrote up a [https://gist.github.com/Juul/755ac2895a4b1ea430d5edd31abbf82f guide] on how to use it with Home Assistant.


=== Custom hackery solution ===
=== Custom hackery solution ===

Navigation menu