cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

How to configure "Automapping settings" for the MQTT Thing?

tsmith-4
1-Newbie

How to configure "Automapping settings" for the MQTT Thing?

How to configure "Automapping settings" for the MQTT Thing?

The online help is telling this:

Automapping Settings

The format for the automapping settings controls whether you want to publish and/or subscribe, what the “topic” name that corresponds to the property name is, and whether you want ThingWorx to automatically generate topic name(s) based on a pattern that can include server name, thing name, and property name token(s).

The "Automapping format" setting has a default value of "/Thingworx/{s}/{t}/{p}".

Are anyone able to give an example on how configure and use this functionality?

1 REPLY 1
gallan
4-Participant
(To:tsmith-4)

I use the following configuration:

wwx/bca/ps/sjw/{p}

Where p substitutes the property name.  The default pattern:

/Thingworx/{s}/{t}/{p}

Will look like this.

The attached files will create a Demo MQTT subscriber and connection to test.mosquitto.org

Notice the double // in the topic:

I think that this is caused by using /Thingworx/{t}/{s}/{p} and I recommend you use /Thingworx/{t}/{p} to get the topic to be /Thingworx/Demo002/prop01.

Top Tags