Skip to content

TMP-Robots/TMP-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TMP-API 🤖

Status: ⚠️ UNDER ACTIVE DEVELOPMENT This library is currently a development playground. Features and API signatures are subject to change.

Overview

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.


Features

  • Automatic Variable Binding: Bind int8_t/32_t, uint8_t/32_t, float, double and bool variables via pointers/lambdas.
  • RESTful API: Basic endpoints to GET and POST configuration 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.

🚀 Quick Start (TEST-API Example)

The TEST-API repository serves as the primary development testbed. It controls a NeoPixel LED using variables synced over the network.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages