I have gone through the documentation to bring tags from a custom namespace via flat MQTT using the JSON decoder which works well so far. I am able to create the folder structure of my topic automatically and it builds my tags as needed.
Does the functionality exist to instruct the tags to be inserted into a pre-defined UDT? Im not looking to build a UDT as it would with the SparkplugB however it would be nice to take some MQTT sensor data and drop it right into a UDT definition.
Thanks in advance.
Did you get anywhere with this? I have a number of custom sensors that publish MQTT json output. These work fine but I thought it would be better to create a UDT for them so I can configure alarms once instead of individually. I'm using Maker Edition and when I right-click on a parent and attempt to make a UDT I get an error message: [MQTT_Engine]types/Name = Bad_AccessDenied("Insufficient Tag Provider Edit Permissions") yet I can't see any way to edit permissions on the MQTT engine.
One pattern that you could probably leverage here is to create your UDTs in a standard tag provider. Within those UDTs, you can have reference tags that indirect over to the tag paths under [MQTT Engine]
provider. This is the strategy I use in my Maker gateway to convert some of the plain MQTT payloads from my The Things Network (TTN) LoRaWAN sensors into objects for use in Ignition.
3 Likes