Repository navigation
1.1.0
HydroNode-Library 1.1.0
Existing devices must be reflashed once with this version — the backend replay window is now ±2 minutes and TLS roots rotated. After that, no reflash needed until at least 2035.
Security & reliability
- Bundled root CA set (Google Trust Services, ISRG, SSL.com) — survives Cloudflare Universal SSL certificate rotation without reflashing
- NTP sync before every send with retry; refuses to transmit with unsynced clock instead of sending a doomed request (backend replay window is ±2 min)
- System clock set from NTP so mbedTLS certificate validation works right after boot
API
sendValue()now returns the HTTP status code or a negative error code (ERR_WIFI_DISCONNECTED,ERR_TIME_NOT_SYNCED,ERR_CONNECTION_FAILED) — build your own retry logic- New
connectWiFi(ssid, pass, timeoutMs)helper — optional, the library stays WiFi-agnostic - New
setDebug(Stream&)for diagnostics,setHttpTimeout(ms)for transport tuning - NTP client is now a value member (no heap allocation in constructor)
Platform
- ESP32 only (declared via
architectures=esp32+ compile-time guard). The library always used the ESP32 TLS API; ESP8266 never actually compiled.
Examples & docs
- Four complete, compile-tested examples: QuickStart, WiFiManagerSetup, ExternalWiFi, ActuatorControl
- README rewritten: API reference, WiFi strategy guide, security model, troubleshooting, rate-limit documentation (min. 9 s between submissions)
keywords.txtfor Arduino IDE syntax highlighting