How vuanhduc201005-svg/esp32 works
This repository implements a temperature-monitoring fish-feeder controller: a web interface requests status or submits an open/close action, while ESP32 firmware reports temperature and door state and receives pending actions. The Spring controller holds the latest values and pending command in memory; the application entry point starts Spring Boot. The controller excerpt documents the web and device HTTP interactions, but the web page and firmware were not sampled, so their internal behavior and any additional capabilities cannot be verified.
Main entry points: DeviceController.java Device API and state · index.html Web interface · esp32.ino ESP32 firmware
Components 5
Web interface
- Web interface
fishfeeder/src/main/resources/static/index.html
Backend service
- Spring application
fishfeeder/src/main/java/com/dducwsjvbe/fishfeeder/FishfeederApplication.java - Device API and state
fishfeeder/src/main/java/com/dducwsjvbe/fishfeeder/controller/DeviceController.java
ESP32 device
- ESP32 firmware
esp32/esp32.ino
Other components
- User browser
Connections 5
- User browser → Web interface: uses
- Web interface → Device API and state: requests status
fishfeeder/src/main/java/com/dducwsjvbe/fishfeeder/controller/DeviceController.java - Web interface → Device API and state: submits action
fishfeeder/src/main/java/com/dducwsjvbe/fishfeeder/controller/DeviceController.java - ESP32 firmware → Device API and state: reports telemetry
fishfeeder/src/main/java/com/dducwsjvbe/fishfeeder/controller/DeviceController.java - Device API and state → ESP32 firmware: returns action
fishfeeder/src/main/java/com/dducwsjvbe/fishfeeder/controller/DeviceController.java