Ubidots Community

Synthetic variables does not update

hello, I have created a synthetic variable that does the sum of 3 variables coming from a field device. what happens is that although the three variables are updated regularly, the synthetic one is updated (make the sum) randomly. Any help?


Hello, @alcos

Thanks for reaching out,

There are a few things to consider.

  1. Make sure you use the fill_missing() function, whenever you operate on more than one variable because the calculation depends on the values to have the same timestamp otherwise the expression, will not calculate at all or will render unexpected results, for more information about that function please check this link.

  2. Also, even if the expression is correct there are some limitations regarding the synthetic variables’ performance. They don’t operate in real-time and may take from a few seconds up to a few minutes to update. That is why we only recommend using them for analysis and never for setting events or control purposes as indicated in our Technical FAQs here.

I’ll be attentive should you have any additional questions or concerns.



thanks as always @santiago , your suggested (point 1) worked

1 Like