Network don't response location data

I have connected two different trackers. I check the third-party platform and live data in TTN, and there are many pieces of information, but information about latitude and longitude is not there. What did I do wrong with connecting? What should I do for sending necessary information from TTN to third-party platforms?

Details details details - we can’t guess what you are using or what you are seeing!

Most common problem, if you are seeing traffic in the TTN console, or even being passed to the 3rd party, is often lack of a decoder/or incorrect decoder set up - either in the TTN Console to decode and then pass on relevant values to the 3rd party platform, or device not being set correctly in the 3rd party platform where you are drawing on their own device repository…

From what I have seen in your post so far I suspect the yellow and red stripped candy cane isnt interfacing with the traffic light lollipop with the effect that the red liquorish doesnt get enough licking! :man_shrugging: :rofl: Give us details and sure we can help :slight_smile:

2 Likes

Here is Payload from Abeeway compact tracker.

{
  "name": "as.up.data.forward",
  "time": "2022-05-24T16:04:25.875030075Z",
  "identifiers": [
    {
      "device_ids": {
        "device_id": "eui--------------------------",
        "application_ids": {
          "application_id": "shaxr2107device"
        }
      }
    },
    {
      "device_ids": {
        "device_id": "eui-----------------------",
        "application_ids": {
          "application_id": "shaxr2107device"
        },
        "dev_eui": "----------------------",
        "join_eui": "---------------------",
        "dev_addr": "--------------------"
      }
    }
  ],
  "data": {
    "@type": "type.googleapis.com/ttn.lorawan.v3.ApplicationUp",
    "end_device_ids": {
      "device_id": "eui---------------------------",
      "application_ids": {
        "application_id": "shaxr2107device"
      },
      "dev_eui": "------------------------",
      "join_eui": "---------------------------",
      "dev_addr": "----------"
    },
    "correlation_ids": [
      "as:up:01G3VCZXMDY3HMHBCWTVMN13BV",
      "gs:conn:01G3VC3EJEKYSWQC50NR404Z41",
      "gs:up:host:01G3VC3EJJFCHJFJ5B017GVXSS",
      "gs:uplink:01G3VCZXDRZTA47CTRKPSFN9D9",
      "ns:uplink:01G3VCZXDS2X6Y2C97KD2BG2MP",
      "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01G3VCZXDRGWTTANCQD4DRC9CB",
      "rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01G3VCZXMCFVKBTX07J8E11PT8"
    ],
    "received_at": "2022-05-24T16:04:25.869283577Z",
    "uplink_message": {
      "session_key_id": "AYDi3BDx8GbPU7BB5ZYF4w==",
      "f_port": 18,
      "f_cnt": 554,
      "frm_payload": "BQBkjQABAgIBAwMA",
      "decoded_payload": {
        "bytes": [
          5,
          0,
          100,
          141,
          0,
          1,
          2,
          2,
          1,
          3,
          3,
          0
        ]
      },
      "rx_metadata": [
        {
          "gateway_ids": {
            "gateway_id": "shaxr2107",
            "eui": "---------"
          },
          "time": "2022-05-24T16:04:25.550881Z",
          "timestamp": 935602644,
          "rssi": -65,
          "channel_rssi": -65,
          "snr": 10.2,
          "uplink_token": "ChcKFQoJc2hheHIyMTA3EgioQEEhmJhBUBDU05C+AxoMCImEtJQGEID577gCIKDIjbKdGyoMCImEtJQGEOiN14YC",
          "channel_index": 7
        }
      ],
      "settings": {
        "data_rate": {
          "lora": {
            "bandwidth": 125000,
            "spreading_factor": 7
          }
        },
        "coding_rate": "4/5",
        "frequency": "867900000",
        "timestamp": 935602644,
        "time": "2022-05-24T16:04:25.550881Z"
      },
      "received_at": "2022-05-24T16:04:25.657019180Z",
      "consumed_airtime": "0.071936s",
      "version_ids": {
        "brand_id": "abeeway",
        "model_id": "abeeway-compact-tracker",
        "hardware_version": "1.0",
        "firmware_version": "2.1",
        "band_id": "EU_863_870"
      },
      "network_ids": {
        "net_id": "000013",
        "tenant_id": "ttn",
        "cluster_id": "eu1",
        "cluster_address": "eu1.cloud.thethings.network"
      }
    }
  },
  "correlation_ids": [
    "as:up:01G3VCZXMDY3HMHBCWTVMN13BV",
    "gs:conn:01G3VC3EJEKYSWQC50NR404Z41",
    "gs:up:host:01G3VC3EJJFCHJFJ5B017GVXSS",
    "gs:uplink:01G3VCZXDRZTA47CTRKPSFN9D9",
    "ns:uplink:01G3VCZXDS2X6Y2C97KD2BG2MP",
    "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01G3VCZXDRGWTTANCQD4DRC9CB",
    "rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01G3VCZXMCFVKBTX07J8E11PT8"
  ],
  "origin": "ip-10-100-15-82.eu-west-1.compute.internal",
  "context": {
    "tenant-id": "CgN0dG4="
  },
  "visibility": {
    "rights": [
      "RIGHT_APPLICATION_TRAFFIC_READ",
      "RIGHT_APPLICATION_TRAFFIC_READ"
    ]
  },
  "unique_id": "01G3VCZXMKK27A3CPJXRBR2C27"
}

Here is payload from Lora edge tracker

{
  "name": "as.up.data.forward",
  "time": "2022-05-24T16:08:45.946167075Z",
  "identifiers": [
    {
      "device_ids": {
        "device_id": "-------------",
        "application_ids": {
          "application_id": "shaxr2107device"
        }
      }
    },
    {
      "device_ids": {
        "device_id": "---------------",
        "application_ids": {
          "application_id": "shaxr2107device"
        },
        "dev_eui": "--------------------",
        "join_eui": "---------------------",
        "dev_addr": "----------------"
      }
    }
  ],
  "data": {
    "@type": "type.googleapis.com/ttn.lorawan.v3.ApplicationUp",
    "end_device_ids": {
      "device_id": "---------------",
      "application_ids": {
        "application_id": "shaxr2107device"
      },
      "dev_eui": "---------------",
      "join_eui": "---------------------",
      "dev_addr": "260B0F55"
    },
    "correlation_ids": [
      "as:up:01G3VD7VKMSHWD7ZJYBAHH26CN",
      "gs:conn:01G3VC3EJEKYSWQC50NR404Z41",
      "gs:up:host:01G3VC3EJJFCHJFJ5B017GVXSS",
      "gs:uplink:01G3VD7VD68J8W5ZMRHYBE42XH",
      "ns:uplink:01G3VD7VD7P9BXF9PZSRN07MH8",
      "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01G3VD7VD7JJ0EXNTABFWYZNVW",
      "rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01G3VD7VKME4G8KECGPYXX28ED"
    ],
    "received_at": "2022-05-24T16:08:45.940624928Z",
    "uplink_message": {
      "session_key_id": "AYD2zVkiuw4F4uOcUOiOlw==",
      "f_port": 199,
      "f_cnt": 16,
      "frm_payload": "FAtTAKoNBxAKKACTDDCgVKEsZSrzPaf2iHvlLA==",
      "rx_metadata": [
        {
          "gateway_ids": {
            "gateway_id": "shaxr2107",
            "eui": "---------------------------"
          },
          "time": "2022-05-24T16:08:45.642996Z",
          "timestamp": 1195675140,
          "rssi": -65,
          "channel_rssi": -65,
          "snr": 12,
          "uplink_token": "ChcKFQoJc2hheHIyMTA3EgioQEEhmJhBUBCEnJK6BBoMCI2GtJQGEOGfmN4CIKD/qp7mIioMCI2GtJQGEKCuzbIC"
        }
      ],
      "settings": {
        "data_rate": {
          "lora": {
            "bandwidth": 125000,
            "spreading_factor": 11
          }
        },
        "coding_rate": "4/5",
        "frequency": "868100000",
        "timestamp": 1195675140,
        "time": "2022-05-24T16:08:45.642996Z"
      },
      "received_at": "2022-05-24T16:08:45.735826059Z",
      "consumed_airtime": "1.150976s",
      "network_ids": {
        "net_id": "000013",
        "tenant_id": "ttn",
        "cluster_id": "eu1",
        "cluster_address": "eu1.cloud.thethings.network"
      }
    }
  },
  "correlation_ids": [
    "as:up:01G3VD7VKMSHWD7ZJYBAHH26CN",
    "gs:conn:01G3VC3EJEKYSWQC50NR404Z41",
    "gs:up:host:01G3VC3EJJFCHJFJ5B017GVXSS",
    "gs:uplink:01G3VD7VD68J8W5ZMRHYBE42XH",
    "ns:uplink:01G3VD7VD7P9BXF9PZSRN07MH8",
    "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01G3VD7VD7JJ0EXNTABFWYZNVW",
    "rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01G3VD7VKME4G8KECGPYXX28ED"
  ],
  "origin": "ip-10-100-15-82.eu-west-1.compute.internal",
  "context": {
    "tenant-id": "CgN0dG4="
  },
  "visibility": {
    "rights": [
      "RIGHT_APPLICATION_TRAFFIC_READ",
      "RIGHT_APPLICATION_TRAFFIC_READ"
    ]
  },
  "unique_id": "01G3VD7VKTNRNZ27RB3YHY0GMJ"
}

There are payloads from both devices. Here is more datails

‘More’ but only some details.

What is the payload formatter you are using for the Abeeway? It’s got bytes but no fields so doesn’t seem to be a ‘normal’ decoder.

The “Lora edge tracker” (what ever that is) doesn’t seem to have a payload formatter.

And we have no idea which “third-party platform” you are sending it to, so even when we get to the point of decoding, your “third-party platform” may not accept the data …

Please don’t waste your time redacting lots of data that is publicly available.

1 Like

I integrated tango.io and I don’t know how to decode payloads. Can you send me some instructions?

Would that perhaps be tago.io ? using established TTN Webhook or some other method to tango? Please show how set up/configured as well as responding to Nick’s hints…

1 Like

Sorry, yes it is tago.io. I tried Custom Javascript, App payload formatter and none formatter. Unfortunately no data which I want.
By the way another abeeway and lora edge trackers send properly data at thinkpark enterprise network server and I see latitude and longitude.

Do you see regular traffic from the devices on the respective device/application console pages. If you are running a javascript decoder do you then also see valid results shown on the console page and data forwarded?

…bascially a “Successfully processed data message” followed by a “Forward uplink data” message (with valid data in the related field?

1 Like