Before a device can communicate via The Things Network you need to register it with an application.
To use the default Over The Air Activation (OTAA) you will need to register your device with its Device EUI. See the documentation of your device for instructions, as for example that of The Things Uno.
Log in and open the Console.
If you don’t have an application yet, you need to create one. For more information on how to do this have a look a the Applications section.
Open the application to which you wish to add a device and click register device.
-
and _
.For Device EUI, copy-paste the one you retrieved from your device.
If you plan to switch to ABP anyway, click the button have one generated for you.
Click Register to finish.
You will be redirected to the newly registered device where you can find the generated App Key needed to activate the device.
Normally, you’d use Over The Air Activation (OTAA) to negotiate session keys for further communication. You have the option to personalize a device, which means you will generate or assign session keys manually and use hard code them on the device.
In production, you’ll want to use OTAA. This is more reliable because the activation will be confirmed and more secure because the session keys will be negotiated with every activation. ABP is useful for workshops because you don’t have to wait for a downlink window to become available to confirm the activation.
For Activation method, click ABP.
Click Save to finish.
You will be redirected back to the device, where you will find the Device Address and session keys needed to activate the device.