<<decdata>>

Are there some examples of the data associated with Hologram.io variables? For example, what does <> look like?

https://hologram.io/docs/guide/cloud/data-router/#available-variables has a list of variables, but nothing specific about the data they contain.

Thanks!

Depends what you send. Let’s say your device sends a message that looks like this:

{ "field1":100, "field2":"test" }

Then <<decdata.field2>> will be replaced with test

<<device.id>> will just be a number and <<device.name>> will be the name of the device.

To provide a little more detail from the example. Let’s say your payload in the route looks like this:

This is field2: <<decdata.field2>>

Then the actual value that will be sent along the route is:
This is field2: test

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.