How to get the last value received in an attribute in the edge workflow and use this attribute to store in a variable that will be the totalizer of this value received multiple times
Hi @Lucas_Pinheiro and welcome to the Losant forums!
Just to confirm, you are receiving a number value as a device state attribute, and you’d like to set a separate value that contains the sum of all previously received numbers from this attribute?
If so, my recommendation is to use Storage: Set Value Node. Under the Configuration section, you’ll see an option to Increment Value. This value is stored in workflow storage.
Let us know if this will work for your use case!
Thank you for your help, this solution solved my problem.