This commit is contained in:
Dana Woodman 2018-03-04 14:43:24 -08:00
parent 51abc3b08c
commit 1615e92d95

View File

@ -17,9 +17,15 @@ The RFID doorlock consists of a few components that allow us to have a offline c
Currently, we are using Cobot to manage our membership as well as RFID card numbers (checkin tokens in Cobot parlance).
Eventually, we can remove Cobot and swap it with our own service if we desire.
#### Tessel Microcontroller
The doorlock consists of a Tessel microcontroller powered by node.js (JavaScript). The doorlock has an attached USB adapter with an SD card to store the member's cards (in `json` format).
The doorlock consists of a Tessel microcontroller powered by node.js (JavaScript).
#### USB SD Card List
The doorlock has an attached USB adapter with an SD card to store the member's cards (in `json` format).
#### USB RFID Reader
@ -41,8 +47,6 @@ When the device first turns on it connects to WiFi and then fetches all the memb
We periodically sync this list every few minutes (configurable).
Eventually, we can remove Cobot and swap it with our own service if we desire.
#### Access Log
We log every door open event so we can keep and eye on usage. We log an entry containing the member name, datetime and RFID card number in a `json` file. This list is sent to Cobot periodically so we can create a "checkin" for a member. Once the list is pushed successfully we clear out the file.