Hi, I’m having trouble with the enable property in MQTT Engine.
I’m using a python application that publishes UDTs in the NBIRTH message. Most tags in the UDTs are enabled: False.
When the app publishes a DBIRTH message relevant tags are set to enable: True and it all works great in MQTT Engine 4.0.16 and Ignition 8.1.26.
When I use the same code to publish sparkplug messages to MQTT Engine 4.0.18 and Ignition 8.1.31 it does not work. The tags in the UDTs are enabled: False but the MQTT Engine does not care about enabled: True in the DBIRTH message.
Bellow are snippets from the NBIRTH and DBIRTH messages.
{'datatype': 19,
'name': '_types_/Flow_v1_optimus',
'templateValue': {'isDefinition': True,
'metrics': [{'datatype': 9,
'floatValue': 0.0,
'name': 'VOL',
'properties': {'keys': ['engUnit',
'enabled'],
'values': [{'stringValue': 'm3',
'type': 12},
{'booleanValue': False,
'type': 11}]},
'timestamp': '1746523599049'},
{'datatype': 9,
'floatValue': 0.0,
'name': 'FLO',
'properties': {'keys': ['engUnit',
'enabled'],
'values': [{'stringValue': 'm3/h',
'type': 12},
{'booleanValue': False,
'type': 11}]},
'timestamp': '1746523599049'},
{'datatype': 9,
'floatValue': 0.0,
'name': 'FEEDT',
'properties': {'keys': ['engUnit',
'enabled'],
'values': [{'stringValue': 'C',
'type': 12},
{'booleanValue': False,
'type': 11}]}
{'isDefinition': False,
'metrics': [{'datatype': 9,
'floatValue': 601.692,
'name': 'VOL',
'properties': {'keys': ['enabled'],
'values': [{'booleanValue': True, 'type': 11}]},
'timestamp': '1745324626000'},
{'datatype': 9,
'floatValue': 0.195,
'name': 'FLO',
'properties': {'keys': ['enabled'],
'values': [{'booleanValue': True, 'type': 11}]},
'timestamp': '1745324626000'},
{'datatype': 9,
'floatValue': 9.9,
'name': 'FEEDT',
'properties': {'keys': ['enabled'],
'values': [{'booleanValue': True, 'type': 11}]},
'timestamp': '1745324626000'},