GPS Location (update device state)


Hi Folks,

I have GPS location in my payload in the form of two separate numbers for lat and long. data.message.longitude and data.message.latitude.

I understand that I need to combine them into a GPS string.

Can I do that directly in the “value” column Device State Update node? Any example?



Easy peasy. When setting individual fields for state values in the Device State Node, you can use string templates for each value.

String templates can be combined with other string templates or static characters; therefore, since we allow GPS attributes to be set in the format of latitude,longitude, you’ll set the value of your GPS attribute to be:


Let us know if you have any other questions!