Register the device in TTN

  1. 1
    Open your applicationOpen console.thethings.network and select your application.
  2. 2
    Add the end deviceOpen End devices and press Add end device. Enter the JoinEUI, the DevEUI and the AppKey from the device firmware.
  3. 3
    Note the IDsComplete the registration and note the DevEUI and the Application ID.

Link the device to your sensor

Link the DevEUI to a sensor that is set to Outdoor, as described in Bind in HydroNode. Then add a payload layout for each fPort, see Decode payloads.

Send uplinks from TTN to HydroNode

One webhook per TTN application forwards the messages of all devices in it. HydroNode keeps the uplinks of devices you linked and rejects the others.

  1. 1
    Copy your webhook addressOpen Profile in HydroNode. Under LoRaWAN Webhook, reveal the Webhook URL and copy it. It contains your secret token, so keep it private.
  2. 2
    Add a custom webhookIn the TTN Console, open your application. Open Integrations, then Webhooks, press Add webhook and choose Custom webhook.
  3. 3
    Fill in the formEnter a Webhook ID such as hydronode. Set Webhook format to JSON and paste your address into Base URL. HydroNode needs no extra headers.
  4. 4
    Pick the messagesTurn on Uplink message. To send downlinks later, also turn on Downlink sent, Downlink ack, Downlink nack and Downlink failed. Leave every path field empty, so each message goes to your address unchanged.
  5. 5
    Save the webhookPress Save changes. TTN now sends every message of this application to HydroNode.

See the first uplink arrive

Open the sensor in HydroNode and open its console. Click the bar at the bottom of the page or press the backtick key. The Live tab shows every uplink as it arrives, with fPort, frame counter, decoded values and the result. In TTN you can send a test uplink with Simulate uplink on the page of the device.

ResultMeaningWhat to do
202The values are stored.Nothing. The device is connected.
400 no-fport-configThere is no payload layout for this fPort.Add the layout in the sensor settings.
401The token in the address is not valid. Copy the Webhook URL again. After a token rotation, update it in your network server.
404No sensor in your account has this DevEUI.Link the DevEUI in the sensor settings under Connection.

More about the console: Device Console.

What TTN sends

{
  "end_device_ids": {
    "dev_eui": "a840411b2182cd44",
    "application_ids": {
      "application_id": "my-app"
    }
  },
  "uplink_message": {
    "f_port": 1,
    "f_cnt": 9846,
    "frm_payload": "AQH0AgBk",
    "rx_metadata": [
      { "rssi": -85, "snr": 7.2 }
    ],
    "received_at": "2026-07-21T11:24:34.027Z"
  },
  "received_at": "2026-07-21T11:24:39.500Z"
}

HydroNode recognises a TTN message by end_device_ids.