What do we expect from the telemetry device TOMORROW?
What do we expect from the telemetry device THE DAY AFTER TOMORROW?
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:
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.
The phone number is enough to start device configuration. The visual interface facilitates settings changes and enables convenient debugging.