umati / Dashboard-OPCUA-Client

OPC UA gateway based on open62541 to subscribe to servers implementing umati endorsed companion specification and publish via MQTT to the broker for https://umati.app
Mozilla Public License 2.0
20 stars 9 forks source link

Client cannot Handle BaseObjectType with Addins #471

Open Kantiran91 opened 1 year ago

Kantiran91 commented 1 year ago

Log: 2023-05-17 11:09:17,327 [DashboardOpcUaClient] WARNING void Umati::Dashboard::DashboardClient::preparePlaceholderNodesTypeId(const std::shared_ptr<const ModelOpcUa::StructurePlaceholderNode> &, std::shared_ptr<ModelOpcUa::PlaceholderNode> &, std::list<ModelOpcUa::BrowseResult_t> &):395 Could not find a possible type for nsu=. Continuing without a candidate. 2023-05-17 11:09:17,328 [DashboardOpcUaClient] INFO void Umati::Dashboard::DashboardClient::preparePlaceholderNodesTypeId(const std::shared_ptr<const ModelOpcUa::StructurePlaceholderNode> &, std::shared_ptr<ModelOpcUa::PlaceholderNode> &, std::list<ModelOpcUa::BrowseResult_t> &):379 Updated TypeDefinition of ComputingDevice to nsu=o?? p?o?? p?? pH?? phB? p???? p> ?pD ??@0?? p?>? 0;?? p?? because the node implements an interface 2023-05-17 11:09:17,328 [DashboardOpcUaClient] WARNING void Umati::Dashboard::DashboardClient::preparePlaceholderNodesTypeId(const std::shared_ptr<const ModelOpcUa::StructurePlaceholderNode> &, std::shared_ptr<ModelOpcUa::PlaceholderNode> &, std::list<ModelOpcUa::BrowseResult_t> &):395 Could not find a possible type for nsu=. Continuing without a candidate.

SDK: Unified Automation Client Version: 2.0.0-rc6-11-g664326a-dirty Companion Specification: MV Part 2

An example Server can be used.

Kantiran91 commented 1 year ago

Thr Problem in this case is that the server has no HasInterfaceType references. @xenonforlife Is this a correct behaviour of the Spec that Components have not Interface but only Addins? @GoetzGoerisch @DasbachVDMA In this case we need to implement an solution for the Addins?

GoetzGoerisch commented 1 year ago

Which server is this? The node-opcua sample server with MV2 is not complete.

Kantiran91 commented 1 year ago

It is an example server from @xenonforlife based an Unified Automation

GoetzGoerisch commented 1 year ago

@xenonforlife how is this different from a instance perspective than the node-opcua server?