Skip to content

amariwan/opc-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Proxy OPC-UA to MQTT Broker

This forwards URI-based OPC-UA subscriptions to a MQTT Broker.

Usage

python3

python3 gateway.py -h

docker

docker run -it amariwan/opc-mqtt:latest -h

Example:

python gateway.py \
  --opc-host 'opcuaserver.com' --opc-port 48484 \
  --mqtt-host 'test.mosquitto.org' --mqtt-topic-prefix '/idatase' \
  --proxy-uri 'urn:unconfigured:application:Countries.AR.CENTENARIO.Temperature' \
  --proxy-uri 'urn:unconfigured:application:Countries.AR.CENTENARIO.WindSpeed' \
  --proxy-uri 'urn:unconfigured:application:Countries.AR.CENTENARIO.WindBearing'