How mrqhere/restroom-intelligence works
Restroom Intelligence pairs an Arduino UNO sensor controller with an ESP8266 gateway. Sensor telemetry crosses a CRC-8 UART link; the gateway maintains rolling buckets, logs CSV data to MicroSD, and serves an offline dashboard for cleanliness status, trends, controls, calibration, verification, and hygiene insights. The tree contains firmware and a documentation page, but no clearly identified dashboard application source, so the UI node points to the available page and its detailed capabilities are based on README documentation. Relationships below are documented in the README; firmware internals were not sampled.
Main entry points: index.html Offline dashboard · Restroom_Intelligence_NodeMCU_FIXED_v3.ino ESP8266 gateway · Restroom_Intelligence_ATmega328.ino UNO sensor controller · restroom_data_last.csv Sample CSV datasets
Components 14
Sensing and Control
- Restroom sensors
- UNO sensor controller
firmware/arduino_uno/Restroom_Intelligence_ATmega328.ino - CRC-8 UART telemetry
firmware/arduino_uno/Restroom_Intelligence_ATmega328.ino
Edge Gateway
- ESP8266 gateway
firmware/nodemcu_esp8266/Restroom_Intelligence_NodeMCU_FIXED_v3.ino - Rolling buckets
firmware/nodemcu_esp8266/Restroom_Intelligence_NodeMCU_FIXED_v3.ino - Hygiene analytics
firmware/nodemcu_esp8266/Restroom_Intelligence_NodeMCU_FIXED_v3.ino - Wi-Fi access point
firmware/nodemcu_esp8266/Restroom_Intelligence_NodeMCU_FIXED_v3.ino
Local Data
- MicroSD CSV logs
firmware/nodemcu_esp8266/Restroom_Intelligence_NodeMCU_FIXED_v3.ino - Sample CSV datasets
data/restroom_data_last.csv
Dashboard Experience
- Offline dashboard
docs/index.html - Status and controls
docs/index.html - Insights and reports
docs/index.html - Calibration and checks
docs/index.html
Other components
- Facility operator
Connections 13
- Restroom sensors → UNO sensor controller: provide readings
README.md - UNO sensor controller → CRC-8 UART telemetry: sends telemetry
README.md - CRC-8 UART telemetry → ESP8266 gateway: transfers readings
README.md - ESP8266 gateway → Rolling buckets: maintains buckets
README.md - ESP8266 gateway → MicroSD CSV logs: logs CSV
README.md - Rolling buckets → Hygiene analytics: supports analysis
README.md - Facility operator → Wi-Fi access point: joins network
README.md - Wi-Fi access point → Offline dashboard: serves interface
README.md - Offline dashboard → Status and controls: shows status
README.md - Offline dashboard → Insights and reports: presents analysis
README.md - Offline dashboard → Calibration and checks: guides checks
README.md - MicroSD CSV logs → Insights and reports: supplies logged data
README.md - MicroSD CSV logs → Sample CSV datasets: uses CSV format
README.md