This forwards URI-based OPC-UA subscriptions to a MQTT Broker.
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'