
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.
- In your Tagio,io console, click on Devices
- Search for “Custom”
- Select “Custom The Things Network”
- Enter a name for your device. (I entered ambasat1)
- Enter the device EUI (which you copy from the devices tab for your application on your TTN console.)
- Click the “Create My Device” button.
- Click Continue.
- Click Generate Authorization. A new screen will appear.
- On the Authorization screen:
- Enter a name for your authorization key (I entered ambasatkey)
- Leave the other fields blank.
- Click the Generate button.
- Copy the auto-generated key to your clipboard (or a text file).
- Return to your TTN console, select your application, and click on the “add integration” link.
- Click on Tago.io
- Enter a process id. (I entered ambasat_tagoio)
- Select the default access key
- Paste in the Tagoio Authorization key from your clipboard.
- Click the “add integration” button.
- Power on your AmbaSat running Michael Kamprath’s flight software.
- Click the data tab for your application on the TTN console and verify you are receiving packets.
- On the Tago.io console:
- Click on Devices
- Click on the name of your device
- Click on the Live Inspector tab
- Click the “play” button. You should see each packet as it is received from the AmbaSat via TTN.
- Expand the “Raw Payload” and “Results” to see the JSON representation of the data.
- 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.)
- On the left side of the screen, click on the + sign in Dashboards.
- Enter a name for your dashboard
- Select “Normal”
- Click the “Create My Dashboard” button.
- On your blank dashboard, click “Add Widget”.
- 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.
- Click on the desired widget. Then fill-in the desired fields. Most are self-explanatory. Click the Save button.
- When your widget appears on the dashboard, you can resize it and drag it into position.
- 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.