MQTT Videos

Six videos cover MQTT in OAS. Two are three minute introductions, one to the connector and one to the broker built into the engine. The other four are walkthroughs: connecting to a third party broker as a client, connecting a client to the OAS broker, publishing selected tags, and setting up a failover interface.

MQTT Connector

Open Automation Software: MQTT Connector video thumbnail2:56
Open Automation Software: MQTT Connector2:56 - April 2025

An introduction to the connector as a whole. OAS works as both an MQTT client and an MQTT broker: it publishes data to third-party brokers, receives data from them and parses the JSON payloads that arrive.

Watch it to decide whether the driver fits what you are building, then go to Getting Started to build it.

MQTT Broker

Open Automation Software MQTT Broker video thumbnail2:58
Open Automation Software MQTT Broker2:58 - May 2025

An introduction to the broker built into the OAS engine, which gives third-party MQTT clients access to the data OAS collects from Modbus, Allen Bradley PLCs, Siemens S7 controllers, OPC UA and OPC DA servers, MQTT, Sparkplug B, MTConnect, Kafka, AWS IoT Core and databases. The data is provided in JSON payloads or as a Sparkplug B EoN.

The broker is described under MQTT Broker on the overview page.

MQTT Client

MQTT Client video thumbnail7:03
MQTT Client7:03 - September 2020

How to connect to a third party MQTT broker - the driver that this section of the documentation covers. It sets up the MQTT client to subscribe to data from a broker and to publish data to it.

The written equivalent is Getting Started, which does the same against a public broker.

Info

The walkthrough was recorded in September 2020 and shows the driver screen as it was then. Options added to the driver since do not appear in the video; the Config Reference lists the current set.

OAS MQTT Broker

MQTT Broker video thumbnail7:21
MQTT Broker7:21 - August 2020

How to connect to the OAS MQTT broker for local and remote tag values. It explains what the broker is and where it is built in, checks the MQTT licence, sets OAS up as a broker, subscribes an MQTT client to it, and finishes by sending a JSON message from the client back to the broker.

Chapters

TimeChapterCovered in
0:00Introduction - OAS as MQTT BrokerMQTT Broker
0:15OAS as MQTT Client and MQTT BrokerMQTT Driver
0:20MQTT ClientSubscribe to external broker topics
0:40MQTT Protocol-
0:44What's MQTT Broker-
0:58Where is built MQTT BrokerMQTT Broker
1:07What MQTT Broker support and requiresMQTT Broker
1:29How to Interface MQTT Client with OAS as an MQTT Broker-
1:41How to verify if you have a valid license for MQTTMQTT Broker
2:07Set up OAS as a MQTT BrokerSet up the broker
3:23Set up to Subscribe to OAS MQTT BrokerConnect a client
5:54Sending a JSON message to the OAS MQTT Broker from MQTT ClientWrite to a tag
7:08More information-

Info

The walkthrough was recorded in August 2020 and shows the broker options as they were then. The broker is not set on the driver screen - its options, as they are today, are listed on the MQTT Broker page.

IoT Publish

How to Publish IIoT Data to Azure IoT, AWS IoT Gateway, and MQTT Brokers video thumbnail12:21
How to Publish IIoT Data to Azure IoT, AWS IoT Gateway, and MQTT Brokers12:21 - April 2022

How to publish data to Azure IoT Hub, AWS IoT Gateway and MQTT brokers. It configures Azure IoT first and goes through Publish Selected Tags there, then does a bulk publish to AWS IoT and a bulk publish to an MQTT broker.

The MQTT part starts at 9:33 and brings in MQTT Explorer at 10:29. If you only want MQTT, watch Publish Selected Tags at 1:53 for the options and then skip to it.

Chapters

TimeChapterCovered in
0:00Introduction-
0:23Set up Tags in OAS-
0:41Configure Azure IoT-
1:53Publish Selected TagsPublishing
5:31Visual Studio Code-
8:00Step by step instructions-
8:12Bulk Publish to AWS IOT-
9:21Step by step instructions / Publish Data to AWS IOT Gateway-
9:33Bulk Publish to mqtt brokerConfigure MQTT Publishing
10:29MQTT ExplorerVerify Messages are Published to MQTT Broker
11:20Step by step instructions / Getting Started MQTTGetting Started with MQTT
11:34Save button of the OAS Configuration toolSave the configuration
12:11Additional Questions-

Info

The walkthrough was recorded in April 2022 and shows the driver screen as it was then. Options added to the driver since do not appear in the video; Publishing lists the current set.

Driver Failover

IIoT Interface Failover video thumbnail10:17
IIoT Interface Failover10:17 - December 2020

How to set up a failover interface. It is not specific to MQTT - the same video covers Modbus, Allen Bradley, Siemens S7, OPC UA, Azure IoT, AWS IoT and MTConnect - but MQTT is one of the drivers it applies to. The MQTT failover options are listed under Failover.

Info

The walkthrough was recorded in December 2020 and shows the driver screen as it was then.

Where next