Use ESP32 board to record temperatures and events associated with hot water boiler operation.
- Record temperatures and keep in rolling buffer
- Deliver data via WiFi link when client conencts
*With apologies to Carole King
Communication is via TCP.
Store data in a rolling buffer. When asked, return the most recent N samples. Special function to print out latest data point in human readable format.
Command | Returns |
---|---|
info | Print stats and info about the logger and data |
now | Most recent data row, human readable |
1, 2.. | Most recent N data rows, binary |
Pros:
- Very simple storage and retrieval design
Cons:
- Makes it hard to stitch together multiple datasets because there are no timestamps
- All data is in RAM, so a power outage will delete all data
- Only 1 weeks worth of data is stored
Next design: "Page" the data by day and have a timestamp for the day.
Set using idf.py menuconfig
. See [main/Kconfig.projbuild] for the list of options.