Knowledge Hub

Factora Academy

Sensors

OTAA keys

DevEUI, JoinEUI, and AppKey. The sensor and the network server must match.

Introduction

Who this is for. A plant admin registering a sensor, with the label in hand.

Over-the-air activation uses three values. They are printed on the sensor or in the pack that came with it. You enter them in the network server. Factora's Register sensor form does not ask for them.

Architecture

The keys create a session. Later uplinks use that session, not the AppKey.

One job for each part
  1. DevEUIThe sensor's identity. It is not a secret, and it must match the label.
  2. JoinEUIIdentifies the join. Some labels still say AppEUI. It is the same field.
  3. AppKeyThe secret used to join. It is not sent in the uplink. Store it in the password store.

Step 0. Copy the three values from the label

  1. Read DevEUI, JoinEUI (or AppEUI), and AppKey from the label or the pack sheet.
  2. Keep the letter case the label uses.
  3. Put the AppKey in the password store. Do not send it by chat.
Screenshot — Coming soon. The label is on the sensor, not in Factora.

Step 1. Enter them in the network server

  1. Open this factory's application in the network server admin.
  2. Add the device with DevEUI and JoinEUI, then set the AppKey.
  3. Attach the EU868 device profile and the codec for this measurement.
  4. Power the sensor and wait for a join, then an uplink.
Screenshot — Coming soon. Device keys are entered in the network server.

Step 2. Create the Factora device

  1. Open Device registry. The form is Register sensor.
  2. Enter Code, Name, Area, and the parameter. Min threshold and Max threshold are optional.
  3. Choose Create device.
Register sensor without key fields
Register sensor. Use it for the measurement. The three keys are not on this form.