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

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

Highlighted
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

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

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.

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________