CSV Import
How to import LoRaWAN devices via .CSV File
Last updated
How to import LoRaWAN devices via .CSV File
Last updated
With Datacake, you can easily import LoRaWAN devices through a .CSV file. Just drag and drop the file into the designated upload area outlined in step 3, labeled "Device".
To ensure proper formatting, the .CSV file must adhere to the following row structure.
DevEUI;Device Name;Device Location description;Tag 1,Tag 2,Tag 3
If you only wish to share the DevEUI and Device Name, it's not necessary to include the Device Location and Tags.
DevEUI;Device Name;;Tag 1,Tag 2,Tag 3
DevEUI;Device Name;Device Location;
DevEUI;Device Name;;
Please ensure that your .CSV file is structured exactly the same as the provided example.
Avoid using a header on the first line of the CSV. This can cause confusion for the importer.
To attach tags to your devices, simply include them in the 4th column of the CSV file.
Please remember to separate multiple tags with a comma.
You can also batch import devices to the Datacake LNS. For that you will have to drag and drop a file with the following structure:
DevEUI;Device Name; AppEUI(or JoinEUI); AppKey/NWKKEY; Frequency; Device Class; Location description;Tag 1,Tag 2,Tag 3
Make sure that your CSV file doesn't have a header with the titles (it should simply start with the first device). Otherwise the platform will return an Error message.
If you want, you don't need to include the Device Location and/or Tags. The structure is then the following:
DevEUI;Device Name; AppEUI(or JoinEUI); AppKey/NWKKEY; Frequency; Device Class;;Tag 1,Tag 2,Tag 3
DevEUI;Device Name; AppEUI(or JoinEUI); AppKey/NWKKEY; Frequency; Device Class; Location description;
DevEUI;Device Name; AppEUI(or JoinEUI); AppKey/NWKKEY; Frequency; Device Class;;
We currently support the following frequencies:
EU_863_870_TTN
US_902_928_FSB_2
And the devices classes:
A
C
Remember that DevEUI and AppEUI are strings 8 bytes long. AppKey is a 12 byte string. All of them should be provided by your device manufacturer.
Template file for the Datacake LNS auto-importer: