Displaying Locations on a Map with TTN LoRaWAN

Displaying Locations on a Map with TTN LoRaWAN

If you have a custom payload format decoder at TTN (The Things Network), you can send your payload variables directly to TagoIO.

To display locations on a Map, your data needs to be sent inside the "location" field with the format shown below:

{
  "variable": "speed",
  "value": 10,
  "location": {
    "lat": 42.2974279,
    "lng": -85.628292
  }
}

TagoIO converts the latitude and longitude fields to the specific format so you don't have to worry about any conversions. In order to accomplish that, you only need to have the variables latitude and longitude or lat and lng, and TagoIO will automatically get these values variables and create a new variable called location.

After you get your device to send the latitude and longitude information to TagoIO, create a dashboard and add a Map widget.  Look for the device, and add the variable 'location' inside the map.



    • Related Articles

    • LoRaWAN Publication of Environmental Measurements with a LoRa-E5 Module

      This tutorial explains how to implement a LoRaWAN publication on The Things Network (TTN) with a TagoIO integration using a MicroPython driver for a Grove LoRa-E5 module. it was originally posted on ...
    • The Things Network LoRaWAN™

      In this article, you will be instructed on how to integrate TTN LoRaWANTM devices with TagoIO; you will be able to send data from your devices (uplink) to TagoIO and back to them (downlink). If you're trying to integrate TTN v3, use our TTI ...
    • Adeunis with LoRaWAN™

      TagoIO supports most Adeunis devices by providing the perfect integration with several LoRaWAN™ networks. It also parses the data by extracting the value of the measured variables in real-time.  All data sent by your device will be readily available ...
    • Map filters

      You can filter the results being displayed in a map in order to minimize the amount of information shown, allowing you to find exactly what you are looking for.  1. Filter using pins' data In the widget's configuration, in Filter options, you can ...
    • Map Widget

      Add the location of your variable to visualize your devices on the Map. You can also edit the icon and color of the pins, add images, create links, add geofences & filters, and more! The variable data should look like the following payload. Note that ...