1
MQTT Publish into dynamic topic space
Feedback / Product Ideas and Feature Requests / Data Connectivity
If I already have a structure like "enterprise/site/line1/โ it would be useful to publish asset tags such as "line1.boiler.temperature" and "line1.production_counter" into that same hierarchy.
Perhaps this could use variables in the current topic field for JSON MQTT. Something like "enterprise/site/$viewname/$tagname" where viewname and tagname are variables populated by the configuration.
A more indepth solution might look like a mapping table where each tagname in the view can be mapped statically or dynamically to a topic. If multiple tags have the same topic then use the current JSON topic structure with the items object.