Example – LoRa Network

  • GET /api/v2/devices/(serial or UUID)/lora
    • If the device has a LoRa network card installed, this returns information about it, including usage and node connections.
      • Parameters:
        • start_date – defaults to 10 days ago
        • end_date – defaults to tomorrow (so as to get all data)
        • dates must be YYYY-MM-DD formatted
        {
          "id": "77778211",
          "type": "devices",
          "description": "",
          "product": "MTCDT-H5-210L",
          "vendor": "Multi-Tech Systems",
          "device": "77778211",
          "attributes": {
            "lora": {
              "nodes": [
                {
                  "node_addr": "00:00:00:01",
                  "dev_eui": "00-80-00-00-00-00-9c-3d",
                  "class": "A",
                  "joined": "2016-09-14T17:17:04.000Z",
                  "seq_num": 770,
                  "pkts_up": 377,
                  "pkts_down": 0,
                  "pkts_1st": 0,
                  "pkts_2nd": 0,
                  "dropped": 0,
                  "rssi_min": -57,
                  "rssi_max": -35,
                  "rssi_avg": -42,
                  "snr_min": 9.800000190734863,
                  "snr_max": 14,
                  "snr_avg": 12.199999809265137
                }
              ],
              "link_statistics": {
                "rx_mic_fails": 36420,
                "rx_crc_errors": 75275,
                "rx_dups": 202,
                "rx_join_dups": 964,
                "rx_joins": 36,
                "rx_pkts": 123616,
                "tx_ack_dups": 0,
                "tx_ack_pkts": 0,
                "tx_joins_1st_wnd": 36,
                "tx_joins_2nd_wnd": 0,
                "tx_joins_dropped": 0,
                "tx_pkts": 36,
                "tx_pkts_1st_wnd": 36,
                "tx_pkts_2nd_wnd": 0,
                "tx_pkts_dropped": 0
              },
              "enabled": true,
              "running": true
            },
          }
        }