All Collections
User Guides
Widget Settings: Assign Special Text or Last Reading
Widget Settings: Assign Special Text or Last Reading

Learn how to assign "last reading" time-stamps and more to your dashboards and widgets for simple view comprehension.

David Sepúlveda avatar
Written by David Sepúlveda
Updated over a week ago

Seeing and immediately understanding data is critical to an application's success. With Ubidots device agnostic cloud platform, sensor data becomes real-life insight into an environment and its controls. 

In this tutorial, we will illustrate how to customize a widgets' settings to display custom text or an individual update. 

  • For the purpose of this tutorial we will be applying a "last reading date and time stamp" to know when the data last responded. 

Step 1: Select the Widget's Settings

Step 2: Assign your requested fields or create your own with 

  • Assign any drop down input or input your own custom Text to Identify the widget more clearly. 

  • Or assign your own with content using the double brackets (Moustache) syntax from within the application's backend:

Assign: Text + ...
{{result_data}} –> The last value of the Variable
{{timestamp}} –> The timestamp of the last value received
{{context}} –> The context of the last value received
{{item_shared}} –> The name of the Device of the Variable
{{timeframe}} –> What's the timeframe configured for this widget (e.g. Hour, Day, etc)
{{operation}} –> What's the operation configured for this widget
{{unit}} –> Unit of the variable - see here to assign a unit of measure.

Step 3: Visualize your custom widget identifiers. 

  • return to your dashboard and refresh the browser to visualize any updates



Now you can design and visualize the sensor data in the format and units that best fit the end-viewer's needs. For more in how to assign a custom unit to a Variable or sensor's data, have a look at the Add Units of Measure article in Ubidots' Help Center.

Did this answer your question?