barnstee / UA-CloudPublisher

A cross-platform OPC UA cloud publisher reference implementation leveraging OPC UA PubSub over MQTT or Kafka. It runs in a Docker container on standard Docker hosts or on Kubernetes and comes with an easy-to-use web user interface.
Other
37 stars 10 forks source link

Method call via PubSub #4

Closed KirillFridman closed 1 year ago

KirillFridman commented 1 year ago

Feature request

Call OPC UA methods by publishing MQTT messages with method uri and inputs. Get back method call execution results by subscribing corresponding topic.

Steps to reproduce / suggestion

  1. Add OPC UA method to publish nodes
  2. Publish method meta data to MQTT
  3. Publish method call message to MQTT according meta model
  4. Subscribe to MQTT topic to get methods outputs after call
barnstee commented 1 year ago

This is already implemented in the separate app UA Cloud Commander: https://github.com/barnstee/UA-CloudCommander.

KirillFridman commented 1 year ago

This is already implemented in the separate app UA Cloud Commander: https://github.com/barnstee/UA-CloudCommander.

If I got it right, UA Cloud Commander is a MQTT/JSON to OPC UA gateway, but not OPC UA PubSub node accroding to specs.

barnstee commented 1 year ago

Correct, the method execution result JSON is not in PubSub format, but this is by design as publishing the method result as a dataset doesn't really make sense.

barnstee commented 1 year ago

Closing due in inactivity.