MQTT Topic Structure in MTConnect .NET Agent Version 6.0.5 and above. #58
-
I am currently working with the MTConnect .NET Agent version 6.0.5 and have encountered an issue related to the MQTT topic structure. I am attempting to replicate the topic structure that was achieved in version 5.4.0, specifically the structure MTConnect/Devices/{deviceuuid}/Observations/{dataitemId}. However, despite making adjustments to the configuration file, I am still receiving MQTT topics such as probe, sample, and current instead of the desired observations structure. Comparison to Version 5.4.0: In version 5.4.0 of the MTConnect .NET Agent, the configuration and MQTT topic structure were set up as follows: MQTT Configuration -server: localhost However, in version 6.0.5 of the MTConnect .NET Agent, I have made the following adjustments to the configuration file to replicate the same topic structure: - MQTT Configuration -
Despite these adjustments, I am still receiving MQTT topics such as probe, sample, and current instead of the desired observations structure. I kindly request assistance in identifying the correct configuration settings or any additional steps required to achieve the MQTT topic structure MTConnect/Devices/{deviceuuid}/Observations/{dataitemId} in MTConnect .NET Agent version 6.0.5. Any insights or guidance on resolving this issue would be greatly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I just published a new release v6.2.1 that adds the ability to toggle between the "Document" and "Entity" topic structure using the below configuration: - mqtt-relay:
server: localhost
port: 1883
topicPrefix: MTConnect
topicStructure: Entity
documentFormat: json Let me know if that works for you or if you have any other questions. |
Beta Was this translation helpful? Give feedback.
I just published a new release v6.2.1 that adds the ability to toggle between the "Document" and "Entity" topic structure using the below configuration:
Let me know if that works for you or if you have any other questions.