Status:
TMP-API is a lightweight ESP32 library designed for robotics developers who need to tune parameters (PID gains, speeds, offsets, colors) in real-time without recompiling. It automatically exposes C++ variables through a JSON-based HTTP API and includes built-in OTA (Over-The-Air) update support.
- Automatic Variable Binding: Bind
int8_t/32_t,uint8_t/32_t,float,doubleandboolvariables via pointers/lambdas. - RESTful API: Basic endpoints to
GETandPOSTconfiguration values in JSON format. - OTA Updates: Integrated ArduinoOTA for wireless firmware flashing.
- Dual Mode WiFi: Support for both Station (STA) and Access Point (AP) modes.
- S3 Compatibility: Tested and optimized for ESP32-S3 DevKitC-1.
- ESP Logging Integration: Optional debug logging with adjustable log levels.
- Non-Blocking: Designed to be called within the main
loop()with minimal overhead. - Basic OTA Authentication: Simple password protection for OTA updates.
- API Authentication: Basic token-based authentication for API endpoints.
- Telemetry over websockets: Real-time telemetry streaming.
The TEST-API repository serves as
the primary development testbed. It controls a NeoPixel LED using variables
synced over the network.