Update plan
This commit is contained in:
37
plan.txt
37
plan.txt
@@ -1,15 +1,34 @@
|
|||||||
Plan:
|
Plan:
|
||||||
Hardware:
|
Hardware:
|
||||||
Raspberry Pi 3/4
|
Raspberry Pi 3/4
|
||||||
Hacked Keymatic
|
Smartcard reader + Mifare DESFire
|
||||||
Maybe RFID/NFC reader (RC522 is like 7€)
|
Nuki Smart Lock Go
|
||||||
Software:
|
ESP32 + Nuki hub
|
||||||
Frontend
|
Models
|
||||||
By kali?
|
User
|
||||||
Backend
|
ID int
|
||||||
Python
|
Name str
|
||||||
Exposes REST API
|
Email str
|
||||||
By Ahtlon
|
Password str (hashed)
|
||||||
|
IsAdmin bool
|
||||||
|
Card
|
||||||
|
ID int
|
||||||
|
UUID str
|
||||||
|
UserID int
|
||||||
|
AccessAuthorization
|
||||||
|
Name str
|
||||||
|
CardID list[Card]
|
||||||
|
IsActive bool
|
||||||
|
Timeslot list[Timeslot]
|
||||||
|
Door
|
||||||
|
Name str
|
||||||
|
IsLocked bool
|
||||||
|
IsClosed bool
|
||||||
|
Timeslot
|
||||||
|
Name str
|
||||||
|
WeekDay int
|
||||||
|
Starttime str(HH:MM)
|
||||||
|
Duration int (min)
|
||||||
|
|
||||||
API Specification
|
API Specification
|
||||||
/door
|
/door
|
||||||
|
|||||||
Reference in New Issue
Block a user