Synthetic variables editor
Ubidots Synthetic Variables Editor is a simple and effective way to write and configure the synthetic expression that will be computed.
In the bottom right corner of the editor, you will see a message that indicates if the expression is valid and can be computed, or if there is an issue with the syntax that will need to be corrected.

Timezone

The synthetic variables editor allows selecting a timezone to reference the exact variable's timestamps based on a particular place. This comes in handy when is needed to calculate a variable for a client, user, or process that has a different timezone than the one you are located at.

Context

Synthetic Variables allows context data handling, meaning you can take the context of the raw variable and use it in the synthetic expression but only if the context value is a number. Accessing it from the Synthetic editor is straightforward, you just need to use the dot . operator over the variable, add context and then the context key identifier:
{YOUR_VARIABLE}.context.context.key

Timestamp

Similarly to accessing context data, timestamp can be accessed in Synthetic Variables using the dot . operator.
{YOUR_VARIABLE}.timestamp
Copy link
On this page
Timezone
Context
Timestamp