Use virtual button to set current value as origin

Hi @Eddie_Elsenburg,

I can definitely understand the frustration here! Currently, your JSON structure is like the following:

{
  "data": {
     "zset": {
        "value": "81.06",
        “time”:“2019-11-22T23:02:16.236Z”
      }
     "xset": {
        "value": "another value",
        “time”:“2019-11-22T23:02:16.236Z”
      }
...
}

Within your Math Node, you are referencing {{data.zset}}, but have expressed the need for only the value in order to do subraction. If you would like to access only the value, and not the time, you can do so by referencing {{data.zset.value}}. Since you have an object below zset, you can reference both the time and value separately.

As a quick tip, it can sometimes be difficult to correctly reference object data, but by implementing a Debug Node, you can easily copy and paste payload paths. You can read more in our Tuesday Tip.

Please let me know if I can assist further.

Thanks so much!
Julia