Skip to content

1.2.0

Choose a tag to compare

@TexhFex TexhFex released this 05 Jul 18:15
· 18 commits to main since this release
56f2be5

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 of sendValue()
  • 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