The idea is to code a piece of software to run an RFID control access systems, mainly for private household buildings.
This system should run in the ESP-32. Also the JSON database should be stored in the flash memory of the ESP-32.
There should be web-page as user interfase (for installer and maintenance only) where users can be added, deleted or modified. This web-page should run allso from the ESP-32, acting as server and also an access point.
1) HTML user interfase with the following characteristics:
a. Runing in ESP-32 as web server (ESP-32 will act as an Access point, that will be accessed by mobile phone or pc)
b. Database in JSON format (stored in ESP32 flash memory)
c. Password protected page
d. Posibility to list users (name, Building, door, RFID id card) from JSON file.
e. Posibility to choose from two different RFID readers (MFRC-522 and Wiegand)
f. Posibility to add, delete and modify users. To add users the reading of the new RFID card (tag) is necessary. To delete of any user should not require Reading the card that is going to be deleted. A delete/modify button should appear in each row.
g. Posibility to search for users and sort them by the different columns
h. Posibility to back-up JSON file in the mobile phone or PC, to be able to re-load it if necessary.
i. Posibility to change company logo
k. Possibility to change password to enter web-page and also to connect to the Access point.
l. Possibility to run the web-page locally in a PC and then upolad all the data to the ESP-32. This is specially important for the first time use, when it is needed to upload all users to the system.
2) Acces system characteristics:
a. The normal operation is that the user presents a RFID card to the RFID reader and compares with the tags that exist in the JSON database. If it finds the card read in the database it will allow access by energizing a relay (connected to an electric door opener). At the same time it will turn-on a green led and send a message to the log saying “welcame and the name of the user”. In case the RFID card read is not found then it will turn-on a red light and send a message to the log saying “Access denied”.
b. The system should be able to store 1000 users
c. Consider an ESP-32 Wroom with 4MB flash (this flash is the total ammount of memory available)
d. The system should be in Access point mode so that when the installer/mantainer comes to add/delete/modify users it can be accessed by mobile phone or laptop.
e. The web-page should have an IP adress that should be written in mobile or laptop´s browser in order to acess the web-page.
Please contact me if you have any doubts