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

Create a sensor, indoor or outdoor, or use an existing one. Open its Settings, then Connection. In the LoRaWAN group, enter the DevEUI and your TTN application ID as Application ID, and press Link device. The full steps are in Bind in HydroNode.

Then add a layout for each fPort under Payload formats (fPort) on the same page, see Decode payloads. Without a layout, HydroNode rejects the uplinks of that fPort.

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 Operations › Interfaces in HydroNode, pick your LoRaWAN interface and open Access. Press the eye icon next to Webhook URL to reveal it, or copy it right away with the copy button. The same address is shown as Webhook address in the Connection settings of a linked sensor. 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 and Join accept, so joins show up in the device console. 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.
Access of a LoRaWAN interface with Webhook URL, header and New tokenAccess of a LoRaWAN interface with Webhook URL, header and New token
The webhook address of a LoRaWAN interface.
New token under Access of the interface makes the old address stop working at once. Paste the new Webhook URL into every TTN webhook afterwards.

See the first uplink arrive

In TTN, send a test uplink with Simulate uplink on the page of the device, or wait for a real one. Then open the sensor in HydroNode and open its console: click the Console 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. Joins show up there too, because you turned on Join accept.

Live tab of the console for a LoRaWAN sensor with uplinks, their fPort, RSSI and SNRLive tab of the console for a LoRaWAN sensor with uplinks, their fPort, RSSI and SNR
Each uplink from TTN appears as one line in the Live tab.
ResultMeaningWhat to do
202The values are stored.Nothing. The device is connected.
400 no fPort configurationThere is no payload layout for this fPort.Add the layout under Settings, Connection, Payload formats (fPort).
401The token in the address is not valid. Copy the Webhook URL again. After a new token, update it in your network server.
202No sensor in your account has this DevEUI yet. It shows under Discovered of the interface and greyed in your sensor lists. Press Add, or link the DevEUI under Settings, 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 recognizes a TTN message by end_device_ids.