How smartboiler-kill/smartboiler-esp32 works
Project type and purpose
• This is an IoT-embedded firmware project for an ESP32 (“SmartBoiler”) that provides precise boiler temperature control plus local/global network interfaces, a physical display, user-input buttons, and persistent storage.
File structure
• Top-level:
• lib/ — contains 9 C++ modules, each encapsulating a subsystem (Boiler, PID, TemperatureSensor, Display, LocalNetwork, GlobalNetwork, Memory, KiLL, Utils).
• src/main.cpp — the firmware entry point.
• platformio.ini — build & deployment config for ESP32 under Arduino/PlatformIO.
• test/ — test scaffolding.
README for additional insights
• The KiLL module is the central “control system” orchestrating all other libraries.
• Features map directly to modules in lib/ (e.g., PID for control logic, Display for UI, Memory for persistent storage, LocalNetwork/GlobalNetwork for connectivity).
Detail
• Don’t lump everything as “ESP32 firmware.” Break out each lib/ component.
• Persistent state flow: Memory ←→ KiLL.