What do we expect from the telemetry device TOMORROW?
- ability to seamlessly connect to third-party platforms
- smart data analytics powered by Big Data algorithms
- extended and cheap long-term storage
- always online mode
What do we expect from the telemetry device THE DAY AFTER TOMORROW?
- fixing the hyperdrive
- delivering Death Star plans to the Rebel Alliance
- detecting Obi-Wan Kenobi's distress signal
- destroying Empire’s battle droids
While the near future is on its way and the distant future is too far away (or a long time ago in a galaxy far away), let’s take a look on how we can extend the tracking device functionality right now.
In the Intro to registry module, we covered the main functionality of the flespi devices – virtual instances allowing you to interact directly with your physical devices connected to flespi channels. One of the main uses of flespi devices – streaming – was covered in this overview. The current article presents another notable feature of flespi device – telemetry.
The life of a remote tracking device is hard and unpredictable. Loss of cellular connection or GPS signal, sudden power outage, or a random failure of connected third-party sensors may happen anytime. These may somewhat nerve-wracking if your truck is navigating the vastness of Siberia. Of course, flespi cannot help you avoid hardware failures (I wish we could!), but we can help you answer the following questions:
- What was the last position of my device?
- When was the device online last time?
- What was the last value of the given sensor?
- When was the last value of given sensor received?
Answers to all of these questions are available with just one request. Telemetry is an attribute of every device and can be received via a common GET /devices request. The scheme works as follows: every parameter in the message from a tracking device updates the corresponding parameter of the device telemetry. If there is no parameter in telemetry to update, the new parameter will be created. The parameter in telemetry stores the last value and the timestamp of the updated value.
flespi device telemetry is the key feature for TrackIt. Indeed, you don’t need to recall the latest messages to get device location. You have one-request access to all device parameter values. Note that these parameters may come at different times and in different messages.
An attentive user might notice the device telemetry in flespi is similar to thing shadow in AWS IoT hub, device twin in Microsoft Azure IoT, or last telemetry in Thingsboard.io. Which it is. We do not claim it to be unique and extraordinary — we just highlight that we stay in sync with the industry best practices and standards.
Try flespi device telemetry feature and all other functionality for free.