This is a basic Project when you would like to program an ESP32 in C/C++ using VSCode and Platformio.
The Project covers the following features:
- WiFi Connection, monitoring of the connection and reconnecting if offline.
- MQTT Connection, monitoring and reconnecting.
- Publishing System Data (Memory, Network, Compile-Time and Version) at configurable Intervals to MQTT Broker
- Publishing an LWT
- Different Compile Targets, with own credentials
- Credentials and Configuration Data are stored in platformio.ini, which will not be part of the repository.
- OTA Update, Password-Protected
- Parser for imcomming MQTT Commands, easily extendable to own commands
- Automatic Version numbering, increments version when compiling and uploading to main (production) target. Version Number will be accessible from the Binary