July-20th-2021, 12:42 PM
(This post was last modified: July-21st-2021, 07:20 AM by Armin@netPI.)
Well,
Node-RED supports a "http request" node ever since which is used to call RESTapi functions like GET,POST,DELETE etc.
There are many examples how to use it like this post here https://stevesnoderedguide.com/node-red-...-beginners. But don't hesitate to find your own web links.
So once you have the data available via the http request node in the context in Node-RED you can pass this data to an OPC UA client node which in turn sends this data to an OPC UA server. Since OPC UA is TCP/IP based protocol it doesn't matter if the connection goes across eth0 or the optional RTE port cifx0. Both will work.
For a minimum viable product test I recommend to run "Node-RED for windows" first and make simple plausibility pretests of the nodes "http request" and "OPC UA client" on a PC since both just need a LAN interface to run prior any netPI tests. If this works then it will run on netPI also with Node-RED running in a container.
Thx
Armin
Node-RED supports a "http request" node ever since which is used to call RESTapi functions like GET,POST,DELETE etc.
There are many examples how to use it like this post here https://stevesnoderedguide.com/node-red-...-beginners. But don't hesitate to find your own web links.
So once you have the data available via the http request node in the context in Node-RED you can pass this data to an OPC UA client node which in turn sends this data to an OPC UA server. Since OPC UA is TCP/IP based protocol it doesn't matter if the connection goes across eth0 or the optional RTE port cifx0. Both will work.
For a minimum viable product test I recommend to run "Node-RED for windows" first and make simple plausibility pretests of the nodes "http request" and "OPC UA client" on a PC since both just need a LAN interface to run prior any netPI tests. If this works then it will run on netPI also with Node-RED running in a container.
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)