Skip to main content

MQTT

The MQTT North Connector enables OIBus to publish data to MQTT brokers, allowing seamless integration with IoT platforms, message queues, and MQTT-compatible systems.

Example Use Cases

  • IoT Platform Integration: Publish sensor data to cloud IoT platforms
  • Real-time Notifications: Send alerts and events to subscribed systems
  • Edge Device Control: Send commands to edge devices via MQTT topics

Specific Settings

Connection Configuration

SettingDescriptionExample Value
URLURL of the MQTT broker.mqtt://broker.example.com:1883
QoSQuality of Service level: 0 (at most once), 1 (at least once), 2 (exactly once).0, 1, 2
Reject unauthorized connectionReject connections that cannot be authorized.Enabled/Disabled
Reconnect periodTime interval between reconnection attempts (in milliseconds).5000
Connect timeoutMaximum time to wait for a connection (in milliseconds).30000
PersistentEnable for persistent sessions that survive broker restarts.Enabled/Disabled

Authentication

SettingDescriptionExample Value
AuthenticationAuthentication method.None, Username/Password, Certificate
UsernameUsername for broker authentication. Required for Username/Password.mqtt_user
PasswordPassword for broker authentication. Required for Username/Password.••••••••
Cert file pathPath to the signed certificate file. Required for Certificate authentication./path/to/cert.pem
Key file pathPath to the private key file. Required for Certificate authentication./path/to/key.pem
CA file pathPath to the certificate authority file. Required for Certificate authentication./path/to/ca.pem