Skip to content

MQTT driver

This driver allows the communication between Simumatik and a MQTT brocker to subscribe and modify the different variables.


  • ip: IP address of the MQTT broker. Default = ''.

  • port: Port number used by the MQTT broker. Default = 1883.

  • retain: Retain published topics by the driver in the MQTT Broker. Default = True.

Setup data

The setup data will give values to the parameters required and will specify the I/O variables info.

    "parameters": {
        "ip": "1921.168.1.23", 
        "port": 1883, 
        "retain": false,
    "variables": {
        "inputs": {
            "datatype": "byte", 
            "size": 1,
            "operation": "write"
        "outputs": {
            "datatype": "byte", 
            "size": 2, 
            "operation": "read"