Creating an AmbaSat Dashboard with Tago.io

Once you have created a TTN application (as documented here), the next step is to create a dashboard to view and plot the data. One of the easiest ways is to use a free Tago.io account. Below is the procedure I used to create a simple dashboard for the UV sensor. It assumes you have created an account and verified your email address.

  1. In your Tagio,io console, click on Devices
    1. Search for “Custom”
    2. Select “Custom The Things Network”
    3. Enter a name for your device. (I entered ambasat1)
    4. Enter the device EUI (which you copy from the devices tab for your application on your TTN console.)
    5. Click the “Create My Device” button.
    6. Click Continue.
    7. Click Generate Authorization. A new screen will appear.
  2. On the Authorization screen:
    1. Enter a name for your authorization key (I entered ambasatkey)
    2. Leave the other fields blank.
    3. Click the Generate button.
    4. Copy the auto-generated key to your clipboard (or a text file).
  3. Return to your TTN console, select your application, and click on the “add integration” link.
    1. Click on Tago.io
    2. Enter a process id. (I entered ambasat_tagoio)
    3. Select the default access key
    4. Paste in the Tagoio Authorization key from your clipboard.
    5. Click the “add integration” button.
  4. Power on your AmbaSat running Michael Kamprath’s flight software.
  5. Click the data tab for your application on the TTN console and verify you are receiving packets.
  6. On the Tago.io console:
    1. Click on Devices
    2. Click on the name of your device
    3. Click on the Live Inspector tab
    4. Click the “play” button. You should see each packet as it is received from the AmbaSat via TTN.
    5. Expand the “Raw Payload” and “Results” to see the JSON representation of the data.
  7. If you have successfully gotten this far, you can create a dashboard. (If you don’t see data in the Inspector, no data values will appear on your dashboard.)
  8. On the left side of the screen, click on the + sign in Dashboards.
    1. Enter a name for your dashboard
    2. Select “Normal”
    3. Click the “Create My Dashboard” button.
  9. On your blank dashboard, click “Add Widget”.
  10. A variety of widgets will appear. The ones I used for the simple dashboard shown above are “Display” to show the last sensor value and “Line” to create the line chart.
  11. Click on the desired widget. Then fill-in the desired fields. Most are self-explanatory. Click the Save button.
  12. When your widget appears on the dashboard, you can resize it and drag it into position.
  13. The dashboard should be updated as each packet it received.

If you have gotten this far and are seeing live data, then you are good to go. Have fun exploring the widgets! If you have questions / comments / corrections, let me know via the comment box below.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: