ESP8266-Firmware/Notes.md

1.2 KiB

Notes

Todo's

  • Create REST API
  • Create Persistence
    • Change userpersitence to an iterator over a csv file, that does not require to keep the whole database in ram
    • Allow integrity check for duplicate pin numbers, rfid etc.
  • Use text templates for Display
  • Rebuild WEB UI -> Mobile first approach. More limited features but therefore easy to understand

19.02.2022

  • CSV upload
  • Admin authentification
  • Api for device settings
  • capitve portal
  • (Optional) REST user update
  • Create WEB UI without React

Log

13.02.2022

  • Finally I found a solution for using a json document with variable file size. Import and export works well - till you have more than 300 users.

19.02.2022

  • Stable and fast csv database implemented.
  • Basic REST API: read, create and delete users / read and drop csv db

19.03.2022

  • Settings pos
    • WifiSSID - terminator 0x00 - Pos.: 0-31 (00 - 1F)
    • WifiPassword - terminator 0x00 - Pos.: 32-63 (20 - 3F)
    • Device IP - 40-43 uint32
    • Subnet 44 - 47
    • Gateway 48 - 4B
    • Mode 0 - station; 1 - client 4C uint8
    • AuthError Timeout (secs) 4D
    • OpenLock hold (secs) 4E

20.03.2022

  • settings API implemented and tested
  • TODO: factory reset