In this article:
Eagle.io is a cloud-based environmental IoT platform and application that allows you to work with your Myriota messages natively, and extract key insights from your data in multiple ways.
Designed for system integrators and environmental IoT product manufacturers, eagle.io provides a complete software solution for remote environmental monitoring.
To find out more about the features of the platform and determine whether it is the right solution for you, check out the Eagle.io website.
Register your account
You must register for an Eagle.io account to continue with the tutorial.
Configuring Eagle.io for Visualisation
If you aren't already, log in to your eagle.io account and familiarise yourself with the landing page.
To begin setting up Eagle.io, you must first add a Location to your Workspace.
For each location you will need a data source, this represents the input pulled from the API call from your Myriota device account to the Eagle.io platform.
Choose "File > Delimited Text"
Set the "Transport type" to "Upload via HTTP". When you set up a new data source, Eagle.io will issue a unique URL address for your device to send data to (something like upload.eagle.io/source/cub-humor-pizza). Proceed to the next page.
The data that your device sends will be in a bytearray format, unique to the application running on your Myriota device. To properly parse packets, Eagle.io allows you to add a suffix to the end of the URL that corresponds to the bytearray format of your message.
Considering this, the format for the Tracker app is read as:
Thus forming the final URL:
vIIV in this case represents the relevant syntax used in the Ruby unpack function behind-the-scenes as seen above. Modify this as required for your given app message structure. You can read more about this here: https://apidock.com/ruby/String/unpack
Now open Device Manager, and set a new destination, and enter the URL, assign this new destination to your device you wish to connect.
In the next menu you will then have the option to send a test message, you can send a test message using the "Send Message" feature of the Myriota Device Manager. Once Eagle.io receives this you will then be prompted to check the relevant details of the received message.
Again, using the Tracker app as an example, we will specify the first row as the labels row.
We will also set the timestamp (the last entry) to the "Record Time" value, and open the properties (gear icon) to define it as a Unix epoch timestamp value with the "X" format.
This is what your data should look like for a "tracker" example.
Finally we will choose the two "I" values to represent the Latitude and Longitude.
To get the true latitude and longitude we will go into our new data source, and click the properties (gear icon) for each and set a "0.0000001" multiplier, this will offset the decimal place correctly, and we will also set the correct format of each as "0.#####".
From here we can go to the properties (gear icon) for our location, and adjust it to read the latitude and longitude correctly.
The device will now show up on a map.
For more information go to: https://docs.eagle.io/en/latest/topics/device_configuration/myriota_dev_kit/index.html