Send your ESPHome sensors to HydroNode

Keep your ESPHome YAML, add one external component and map each sensor to a HydroNode type. Secrets, commands and the details that save you a debugging evening.

HydroNode Updated 6 min read
A HydroNode sensor page with a temperature chart and its learned bandA HydroNode sensor page with a temperature chart and its learned band

Your device already runs ESPHome and should keep doing so. Then you need no new firmware, just one more component in your YAML. It sends the values of the sensors you already have to HydroNode, signed, and takes commands from the app.

Requirements

ESPHome 2026.7.1 or newerWith ESP-IDF or Arduino as the framework.
An ESP32 boardAny member of the ESP32 family. The component does not support the ESP8266.
A HydroNode sensorThe Sensor ID and secret are under SettingsConnection.
Up to 25 measurementsPer HydroNode sensor, each with its own type.

Credentials in secrets.yaml

Put the credentials into secrets.yaml next to your device YAML. This file stays out of Git.

secrets.yamlYAML
wifi_ssid: "YOUR_WIFI_SSID"
wifi_password: "YOUR_WIFI_PASSWORD"

hydronode_sensor_id: "your-sensor-id"
hydronode_device_secret: "your-secret-key"

The configuration

Three things are new: the external component, http_request and a time source, because every signature carries a timestamp. Under measurements you map each ESPHome sensor, by its id, to a HydroNode type.

greenhouse-climate.yamlYAML
esphome:
  name: greenhouse-climate

esp32:
  board: esp32-c3-devkitm-1
  framework:
    type: esp-idf

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

logger:

external_components:
  - source:
      type: git
      url: https://github.com/TexhFexLabs/hydronode-esphome
      ref: v0.5.0
    components: [hydronode]

# Signatures carry a timestamp, so HTTP and time are both required
http_request:
  id: hydronode_http
  timeout: 10s
  verify_ssl: true

time:
  - platform: sntp
    id: hydronode_time
    timezone: UTC

i2c:
  sda: GPIO6
  scl: GPIO7

sensor:
  - platform: bme280_i2c
    address: 0x76
    temperature:
      id: air_temperature
      name: Air Temperature
    humidity:
      id: air_humidity
      name: Air Humidity
    pressure:
      id: air_pressure
      name: Air Pressure
    update_interval: 30s

hydronode:
  id: hydronode_cloud
  sensor_id: !secret hydronode_sensor_id
  device_secret: !secret hydronode_device_secret
  update_interval: 60s
  measurements:
    - source: air_temperature
      type: TEMPERATURE
    - source: air_humidity
      type: HUMIDITY
    - source: air_pressure
      type: PRESSURE
  1. Pin the versionref: v0.5.0 keeps your build from changing underneath you. Use ref: main for testing only.
  2. Pick the typesType names are upper case letters, digits and underscores. Common ones: TEMPERATURE, HUMIDITY, PRESSURE, CO2, PM25, SOIL_MOISTURE. The full list is in the type reference.
  3. Set the intervalupdate_interval is at least 10 seconds. HydroNode accepts one value per type every 10 seconds.
  4. FlashAs usual with esphome run greenhouse-climate.yaml or from the ESPHome dashboard.

Check that it arrives

After each upload the ESPHome log shows a line with HTTP 202. In HydroNode, open the sensor page and press `. The console shows every request with its signature check and clock offset. If nothing arrives, the Rejected filter tells you why.

The console with rejected requests and their reasonsThe console with rejected requests and their reasons
Rejected requests with their reason: wrong signature, clock off, or sent too fast.
Tip A type HydroNode has not seen yet is added to the sensor with its first value. A typo such as TEMPERATUR therefore creates a new measurement instead of an error. Glance at the channel list on the sensor page after the first upload.

Commands from the app

A commands block declares which commands the device understands. When name and type match, the command is confirmed and passed to on_command. Otherwise the component declines it and the app shows the reason: NO_HANDLER, TYPE_MISMATCH or INVALID_VALUE.

greenhouse-climate.yamlYAML
switch:
  - platform: gpio
    id: fan_relay
    name: Fan
    pin: GPIO5

hydronode:
  # credentials and measurements as above
  commands:
    - name: fan
      type: BOOL
  on_command:
    - if:
        condition:
          lambda: 'return command == "fan" && value_json == "true";'
        then:
          - switch.turn_on: fan_relay
        else:
          - switch.turn_off: fan_relay

Inside on_command you get command, value_json and type. Send the command from the sensor page with Send command, or type fan:bool true in the console.

Report the battery

If the board runs on a battery, the power: block (from version 0.5.0) tells HydroNode how it is powered and at which voltages per cell it saves power, turns the radio off or sleeps deep. HydroNode shows the values in the sensor settings under On the device. They are read only there: you change them in the YAML. ESPHome does not act on the thresholds by itself, so put the same values into your deep_sleep automations.

greenhouse-climate.yamlYAML
hydronode:
  # credentials and measurements as above
  power:
    source: battery      # usb, battery or solar
    gauge: max17048      # optional: what measures the battery
    cells: 1
    save: 3.50V          # sends less below this
    recovery: 3.30V      # radio off below this
    standby: 3.20V       # deepest sleep below this
    resume: 3.60V        # runs again at this

What the dashboard knows about ESPHome devices

The component reports the chip, restarts, the reason of the last reset and the WiFi signal with every request. The dashboard therefore shows the device with its rhythm, state and error rate, and the device details list ESPHome as its firmware. ESPHome does its own updates over the air; HydroNode never sends firmware to these devices.

Where to go next