wiki:bulkupload
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:bulkupload [2023/07/18 21:51] – mbrauer | wiki:bulkupload [2023/08/01 19:50] (current) – mbrauer | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| **CSV Column Requirements** | **CSV Column Requirements** | ||
| - | The CSV file should contain the following columns | + | The CSV file should contain the following columns: |
| * devEUI: The device EUI (Extended Unique Identifier), | * devEUI: The device EUI (Extended Unique Identifier), | ||
| Line 15: | Line 15: | ||
| * joinEUI: The join EUI of the device. The join EUI is a globally unique identifier used during the device activation process. It should be in hexadecimal format (e.g., `0123456789ABCDEF`). This column is only used for TTN network server configurations. | * joinEUI: The join EUI of the device. The join EUI is a globally unique identifier used during the device activation process. It should be in hexadecimal format (e.g., `0123456789ABCDEF`). This column is only used for TTN network server configurations. | ||
| - | * decoder: The decoder function or script | + | * udtName: The UDT name associated with the device. This initializes |
| * description: | * description: | ||
| Line 22: | Line 22: | ||
| * longitude: The longitude coordinate of the device' | * longitude: The longitude coordinate of the device' | ||
| + | |||
| + | **Alternate Formats** | ||
| + | |||
| + | * Alternate formats are supported, such as the device export format from the TTN, where the column names available are dev_eui, join_eui, name, app_key, and description instead of the ones mentioned above. However, a single device type would need to be specified or an extra column (denoted udtName) added to the csv with the correct UDT definition names for tags to be created for each device. | ||
| **Formatting Guidelines** | **Formatting Guidelines** | ||
| Line 28: | Line 32: | ||
| * Each row of the CSV file represents a single device. | * Each row of the CSV file represents a single device. | ||
| + | |||
| * The first row of the file should contain the column headers, as specified above. | * The first row of the file should contain the column headers, as specified above. | ||
| + | |||
| * Subsequent rows should contain the corresponding values for each column. | * Subsequent rows should contain the corresponding values for each column. | ||
| + | |||
| * Ensure that each device has a unique `devEUI`. Duplicate `devEUI` values will cause conflicts during the upload process. | * Ensure that each device has a unique `devEUI`. Duplicate `devEUI` values will cause conflicts during the upload process. | ||
| + | |||
| * Columns are case-sensitive, | * Columns are case-sensitive, | ||
| + | |||
| * Make sure that the CSV file is saved with the appropriate file extension, such as `.csv`. | * Make sure that the CSV file is saved with the appropriate file extension, such as `.csv`. | ||
| + | |||
| * There should be no additional columns or data beyond the required columns specified above. Any extra columns will be ignored during the upload process. | * There should be no additional columns or data beyond the required columns specified above. Any extra columns will be ignored during the upload process. | ||
| + | |||
| + | * There are several UDTs that are currently supported by the SiteSync module: Dragino, TWTG-Pressure-V3, | ||
| + | |||
| + | * You can also upload a custom UDT in the Data Manager, and use the name of a this UDT in the udtName column of the CSV file for bulk uploading. | ||
| **Conclusion** | **Conclusion** | ||
| By adhering to the specified format and guidelines outlined in this documentation, | By adhering to the specified format and guidelines outlined in this documentation, | ||
wiki/bulkupload.1689717085.txt.gz · Last modified: 2023/07/18 21:51 by mbrauer