Skip to main content

Creating a device

There are some ways to create a device, you can create using our public API, which is documented here, or using the platform.

create device

Organizations

Under de organization page, you have to first select an organization, than an application, once you are on the application screen, you have the device button on the middle right, and then you can click on the "+ Device" button.

create device application

Devices

Under device page it has only a single "+ Device" button on top right

create device application

Device builder

At first you have to select Private or Public LoRaWAN.

caution

Each device connectivity has it's own configuration, you can find out the shortcut for the configuration at the bottom of the page

create device application

The device model is a preset for a already known device, it can help you to fullfil some fields, decode uplink and encode downlink.

Right below "Device info", is the application where the device gonna be created, the builder select the last application where you were, but you can change it if needed

For any device, is required to fill the name, label and eui, description is not required but may help you to known what that device does

Description eg. "This a thermometer placed on the entrance hall, it control the air conditioner"

All the rest depends on what connectivity you has selected before. you can find out the shortcut for the configuration at the bottom of the page

Bulk file import

  • We support json and csv files to import devices.
  • It's important to fill all required fields for each device connectivity.
  • You can import Private LoRaWAN and Public LoRaWAN at the same file, just pay attention for which fields are required for each connectivity.
  • It's also important to follow all format rules, for specifications of json and csv.
  • Do not use double or single quote for csv.
  • Notice that tags are separated by | at the csv file.
  • For csv, header matters, make sure you header match values

Specifications of device fields

fieldtyperequireddefaultdescription
device_namestringrequired
device_labelstringrequired
descriptionstringrequired
protocolLORA | EVERYNETrequiredLORA is for Private and EVERYNET for Public
tagsstring | Array<string>[] | ""The type of tags are string for CSV separated by |
location_latfloat640
location_lngfloat640
location_modestringauto
block_downlinkbooleantrueIf true, device downlink is disconnected
block_uplinkbooleantrueIf true, device uplink is disconnected
counter_upuint320
nwk_counter_downuint320
app_counter_downuint320
activationOTAA | ABPOTAA
encryptionNS | APPNS
dev_classA | CA
strict_counterbooleanfalse
bandstringrequiredCheck for each band for Private LoraWAN and Public LoRaWAN
band_configstringemptyOnly on Private LoRaWAN
counters_size2 | 42Only on Public LoRaWAN
devEUIhex16required*Device EUI
appKeyhex32required*For Private Application key is required when using activation OTAA mac version 1.1x; For Public is required when using activation OTAA and encryption NS
nwk_keyhex32required*Network key is required when using activation OTAA
devAddrhex8required*Device address is required when using activation ABP
appSKeyhex32required*For Private Application session key is required when using activation ABP; For Public is required when using activation ABP and encryption NS
nwkSEncKeyhex32required*Network session encryption key is required when using activation ABP
serving_nwk_session_int_keyhex32required*Serving network session integrity key is required when using activation ABP mac version 1.1x
fwd_nwk_session_int_keyhex32required*Forwarding network session integrity key is required when using activation ABP mac version 1.1x
app_euihex32required*Only on Public LoRaWAN
adr_modeon | off | staticonOnly on Public LoRaWAN
adr_tx_poweruint320Only on Public LoRaWAN
adr_datarateuint320Only on Public LoRaWAN
rx2_forcebooleanfalseOnly on Public LoRaWAN
mac_versionstringrequired*1.0.3Only on Private LoRaWAN: 1.0.1, 1.0.2, 1.0.3 , 1.0.4, 1.1.0
regional_parameters_revisionstringAOnly on Private LoRaWAN: A, B, RP002-1.0.0, RP002-1.0.1, RP002-1.0.2
max_eirpuint320Only on Private LoRaWAN
downlink_timeoutuint320Only on Private LoRaWAN
rx1_delayuint320Only on Private LoRaWAN
rx1_data_rate_offsetuint320Only on Private LoRaWAN
rx2_data_rateuint320Only on Private LoRaWAN
rx2_frequencyuint320Only on Private LoRaWAN

The example above is for OTAA, Private LoRaWAN, mac version 1.0.3

JSON example
[
{
"device_name": "Sensor name",
"device_label": "sensor-label",
"description": "Any description",
"protocol": "LORA",
"devEUI": "d27cb0495aac2e1f",
"tags": ["tag-1", "tag-2"],
"location_lat": -23.987665,
"location_lng": -46.598345,
"location_mode": "manual",
"block_downlink": false,
"block_uplink": false,
"counter_up": 0,
"nwk_counter_down": 0,
"app_counter_down": 0,
"activation": "OTAA",
"encryption": "NS",
"dev_class": "A",
"strict_counter": false,
"band": "",
"band_config": "",
"mac_version": "1.0.3",
"regional_parameters_revision": "A",
"max_eirp": 0,
"downlink_timeout": 5,
"rx1_delay": 0,
"rx1_data_rate_offset": 0,
"rx2_data_rate": 0,
"rx2_frequency": 0,
"nwk_key": "e8a9caa94c4e56d6d895cbc98a09518e"
}
]
CSV example
device_name,device_label,description,protocol,devEUI,tags,location_lat,location_lng,location_mode,block_downlink,block_uplink,counter_up,nwk_counter_down,app_counter_down,activation,encryption,dev_class,strict_counter,band,band_config,mac_version,regional_parameters_revision,max_eirp,downlink_timeout,rx1_delay,rx1_data_rate_offset,rx2_data_rate,rx2_frequency,nwk_key
Sensor name,sensor-label,any description,LORA,d27cb0495aac2e1f,tag-1|tag-2,-23.987665,-46.598345,manual,false,false,0,0,0,OTAA,NS,A,false,AU915,la915-1,1.0.3,A,0,5,0,0,0,0,e8a9caa94c4e56d6d895cbc98a09518e

CSV File as table:

device_namedevice_labeldescriptionprotocoldevEUItagslocation_latlocation_lnglocation_modeblock_downlinkblock_uplinkcounter_upnwk_counter_downapp_counter_downactivationencryptiondev_classstrict_counterbandband_configmac_versionregional_parameters_revisionmax_eirpdownlink_timeoutrx1_delayrx1_data_rate_offsetrx2_data_raterx2_frequencynwk_key
Sensor namesensor-labelany descriptionLORAd27cb0495aac2e1ftag-1|tag-2-23.987665-46.598345manualfalsefalse000OTAANSAfalseAU915la915-11.0.3A050000e8a9caa94c4e56d6d895cbc98a09518e

Next

If you already decided which kind of LoRaWAN you will use, you can go to the configuration page

Private LoRaWAN

Public LoRaWAN