vogler75 / automation-gateway

A OPC UA gateway which gives you access to your OPC UA values via MQTT or GraphQL (HTTP). If you have an OPC UA server in your PLC, or a SCADA system with an OPC UA server, you can query data from there via MQTT and GraphQL (HTTP). In addition, the gateway can also log value changes from OPC UA nodes in an InfluxDB, IoTDB, Kafka, and others.
GNU General Public License v3.0
222 stars 34 forks source link

MQTT subscribe response is done with the origin topic-name which may includes wildcards. #2

Closed vogler75 closed 10 months ago

vogler75 commented 2 years ago

If you use wildcards in MQTT subscribe (OPC UA browse path and wildcards, for example: opc/test/path/Objects/Test/Test00003/+) the result for the resolved tags is delivered with the origin topic. It is not published wit the resolved topic/tag name. So you have to use the JSON format to find out which tag the value belongs to. Is this correct from the MQTT specification point of view?

vogler75 commented 10 months ago

fixed with v1.21.1