How to Use Scripting Feature in Ignition Edge to Add Additional Key-Value Pairs When Transmitting Data to MQTT Transmitter?

Hello everyone,

I am currently working with Ignition Edge and using it to transmit data to an MQTT transmitter. I need to include additional key-value pairs in the data payload before it's sent out.

Could someone guide me on how to leverage the scripting feature in Ignition Edge to achieve this? Specifically, I'm looking for a way to modify the payload data by adding custom key-value pairs dynamically based on certain conditions.

Any examples or references to documentation would be greatly appreciated!

Thank you in advance for your help.

For such an unusual requirement, you probably should be asking this on Cirrus Link's own forum.

In case you haven't found this, yet.
MT: Python Scripting - MQTT Modules for Ignition 8.x - Confluence (chariot.io)

Does Ignition Edge support all gateway scripting functions of Ignition Standard edition?

Not any of the database functions. But everything else.

1 Like