How paulzhdanov/esp-fossi works
Fossibot F2400 is ESP32 firmware that bridges a SYDPOWER-compatible power station’s BLE/MODBUS interface to an HTTP API. Its main flow connects to Wi-Fi, synchronizes time, polls the station, parses readings and serves them to clients; it also exposes output controls. The README documents monitoring, restart scheduling, UDP debug logging, LED status, and HAA/HomeKit integration. No source excerpts were provided, so component boundaries and relationships below are based on README documentation; the firmware is a single sketch.
Main entry points: fossibot.ino ESP32 firmware
Components 17
Connectivity
- ESP32 firmware
fossibot.ino - Wi-Fi connection
fossibot.ino - NTP time sync
fossibot.ino
Station data
- Power station
- BLE connection
fossibot.ino - MODBUS polling
fossibot.ino - Response parsing
fossibot.ino - Power source detection
fossibot.ino
API and control
- REST API
fossibot.ino - Monitoring endpoints
fossibot.ino - Output controls
fossibot.ino
Operations and integrations
- Daily restart
fossibot.ino - UDP debug logs
fossibot.ino - Status LED
fossibot.ino
Other components
- HTTP client
- HAA device
- Apple HomeKit
Connections 18
- ESP32 firmware → Wi-Fi connection: connects
README.md - ESP32 firmware → NTP time sync: synchronizes time
README.md - ESP32 firmware → BLE connection: connects
README.md - BLE connection → Power station: communicates with
README.md - MODBUS polling → Power station: queries registers
README.md - ESP32 firmware → MODBUS polling: schedules polling
README.md - MODBUS polling → Response parsing: passes response
README.md - Response parsing → Power source detection: supports detection
README.md - ESP32 firmware → REST API: serves
README.md - REST API → Monitoring endpoints: exposes
README.md - REST API → Output controls: exposes
README.md - HTTP client → REST API: requests
README.md - HAA device → REST API: polls
README.md - HAA device → Apple HomeKit: presents sensors
README.md - ESP32 firmware → Daily restart: runs
README.md - Daily restart → NTP time sync: uses time
README.md - ESP32 firmware → UDP debug logs: broadcasts logs
README.md - ESP32 firmware → Status LED: indicates status
README.md