Repository navigation
1.2.0
HydroNode-Library 1.2.0
Companion release for the HydroNode backend command system. Sketch API unchanged — reflash and existing hydro.on(...) handlers keep working.
Command delivery & confirmation
- Backend commands now arrive as
{"commands":[{"id":"...","command":"pump","value":4000}]}in the response ofsendValue() - The library sends a signed acknowledgment (
/api/webhook/sensor-command-ack) before dispatching handlers — commands show up as Confirmed in the HydroNode app - ACK is sent before handler execution, so long-running callbacks (pump +
delay()) cannot push the ACK outside the backend's replay window
Changes
- Default JSON response buffer 128 → 1024 bytes (command deliveries include UUIDs)
- Shared signed-POST path for values and ACKs
- README: new command format, delivery-confirmation docs, security notes