5.4.5 Configure Data Storage & Retransmission

The device supports data storage and data retransmission to ensure data integrity. This section describes how to configure data storage and data retransmission.

Export the Local Data

The device supports storing historical data records locally, which operates normally even when the network is deactivated.

Each device can store up to 1,000 data records.

Limitation: When control permission is Remote Control, the device will stop storing data.

Prerequisites: Sync the time to ensure the data is stored in correct time.

Configure by ToolBox
  1. On the homepage of ToolBox, click Setting to enter the Setting page.
  2. On the top bar, select Device tab.

  3. On the General page, enable Data Storage.
  4. Return to the homepage and click Maintenance in the lower right corner.
  5. Click History Data, select the data time range and click Export to read data.
    Tip: Since the ToolBox App's data export time range is limited to 14 days, you can export the complete data in segments if the required time range exceeds this limit.


  6. Put the NFC detection area of the phone close to the NFC antenna of device. If the read succeeds, the history data will be displayed.
  7. Click Export to customize a file name, then click OK to save the history data as a CSV file to your smartphone.
  8. (Optional) To check the exported record, click in the top right corner.
Configure by Downlink

Enable Data Retransmission

Data retransmission allows the network server to receive data, even after temporary network outages.

Prerequisites: The device join type is OTAA.

Configure by ToolBox
  1. On the homepage of ToolBox, click Setting to enter the Setting page.
  2. On the top bar, select Network tab.

  3. On the LoRaWAN page, enable Rejoin Mode and set the number of packets sent.

  4. On the top bar, select Device tab.

  5. In the General page, enable Data Storage and Data Retransmission.

  6. Click Write in the lower right corner, and put the NFC detection area of the phone close to the NFC antenna of device. If the configuration succeeds, the following page is displayed.

Configure by Downlink
Result:
  • When the device detects that the network status is deactivated via the rejoin mode mechanism, it records a data loss time point. Upon reconnection, the device retransmits the lost data according to the data retransmission interval. Retransmission data is reported with timestamps and uses a different format from periodic report data.
  • If the device reboots or is repowered during data retransmission, it will resend the entire retransmission dataset once it reconnects to the network.
  • If a new network disconnection occurs during an ongoing retransmission, only the data logged during this latest outage will be sent upon reconnection.
Note:
  • Data retransmission increases the uplink traffic and consumes device energy quickly.
  • The default report data retransmission interval is 600s, this can be changed via downlink command.

Query Historical Data

The device supports data retrievability feature to query historical data for a specific time range via downlink command. The retransmission data format includes timestamps and differs from the periodic report format. For details, refer to the Payload Protocol document.