Skip to content

Local OPC UA server & MQTT broker ​

Everything ConnectMQ Edge collects is also available on the plant network, without going through the cloud: one OPC UA endpoint and one MQTT broker instead of many protocols.

Local OPC UA server ​

Endpointopc.tcp://<pc-name>:48010/ConnectMQ (port, path and host names can be changed)
Address spaceObjects/ConnectMQ/<Enterprise>/<Site>/.../<Device>/<Tag>, plus a _State variable per device
Node IDsns=<urn:connectmq:edge>;s=<ISA-95 topic>
SecurityNone, or Sign and SignAndEncrypt with Basic256Sha256, Aes128_Sha256_RsaOaep, Aes256_Sha256_RsaPss
UsersAnonymous, or user name and password (the password is encrypted even on the None endpoint)
WritingWritable tags can be written over OPC UA; Edge passes the write to the device
CertificatesCreated automatically in %ProgramData%\ConnectMQ\Edge\pki

The OPC UA server is off after installation. Turn it on in Settings › Windows Service Settings › Start with the service, and watch sessions and values on the Local OPC UA Server page.

Local MQTT broker ​

An MQTT broker runs inside the Edge service on port 1883. HMIs, scripts and other gateways on the plant network connect to it.

  • Tag values are published here too, on the same ISA-95 topics (optionally retained).
  • Messages that local clients publish and that match the forward filters (for example plant/#) are sent on to ConnectMQ Cloud through the bridge, with the topic prefix and the offline buffer.
  • Anonymous access can be turned off and local users added in Settings › Local MQTT Settings, which also shows connected clients and lets you publish a test message.
  • When disabled, local clients are refused; the broker keeps listening only on 127.0.0.1 for the desktop app.
  • MQTT 3.1.1 clients must send a client ID; MQTT 5 clients with an empty client ID get one assigned.

Messages forwarded from local clients count towards your ConnectMQ plan's message and traffic limits like tag values do. Topics under $cmq/ are reserved for the desktop app.

To read Sparkplug B or other MQTT sources into Edge as tags, see MQTT Client & Sparkplug B.

Fully managed MQTT broker for connected devices.