Hi, I couldn’t install “node-red-contrib-iiot-opcua”. Because the package was deprecated as following URL; https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/issues/128 But It seems that the new package “node-red-contrib-opcua-server” is available instead of “node-red-contrib-iiot-opcua”. Could you let me know how to use Node-RED as an OPC UA client with the new package? Best regards, Haruka
Hello, please have a look at this (scroll to the bottom): https://www.plcnext-community.net/en/discussions-2-offcanvas/node-red-and-opc-ua-connection-client-not-open-on-read-write.html or here: https://www.plcnext-community.net/en/discussions-2-offcanvas/node-red-stops-working-when-i-want-to-connect-to-opc-ua.html There is a description of how to install OPC UA for node-red. This works fine for me.
Hello, I know that the OC UA nodes cause a lot of problems during the installation. Thus I would highly recommend to use Docker aka Balena Engine with the node-red image as described in the makers blog. Here the installation of the OPC UA nodes via the manage palette menu works like a charm.
Hi, Depend on the makers blog “Node-RED and getting started with Docker”, I installed “node-red-contrib-opcua-server”. But it does not seem to replace “node-red-contrib-iiot-opcua”. Could you tell me how to use Node-RED as OPC UA client after installing Node-RED with Docker? “node-red-contrib-iiot-opcua” is not available in the manage palette. Best regards, Haruka
Hi Maybe this image is what you need, it has the node-red node-red-contrib-iiot-opcua nodes pre-installed https://hub.docker.com/repository/docker/pxcbe/node-red balena-engine run -it -p 1880:1880 --name nodered --restart always pxcbe/node-red:opcua Hope this helps! Dries
Thank you for your information. I added node-red:opcua image to balena-engine . But, I cannot preinstall “node-red-contrib-iiot-opcua”. it is not available in node-red installed with Doker. I cannnot find it in the manage palette. Could you let me know any other solutions? Best regards,
Hi Hue Make sure that you use the right image.
It might be that the following command didn’t work as there was already a port 1880 bound or the name nodered was already used. balena-engine run -it -p 1880:1880 --name nodered --restart always pxcbe/node-red:opcua
Can you show me what your terminal prompts right after you execute the command? Kind regards Dries
After resetting F2152 several times in order to try to erase unrelated applications, /etc/nftables/balena.nft is no longer created. Since I could not confirm Inet adress in the file, I executed the command after “./setup.sh” and attached the image file. Please take a look. Should I set any network setting? I also executed df command and attached the image file. It seems that the strage of SD card is almost full. How can I free up the SD card? Best regards,
Dear Dries, Depend on your response, now I installed node-red with node-red-contrib-iiot-opcua nodes. I manually deleted some directories in the SD card, because some directories of Docker and Balena Engine left even after PLCnext factory reset. I also need node-red-dashboard on the image. But I cannot install it with attached massage. Could you let me know how to install it? Best regards,
Hi Hue Maybe you can try a factory reset type 2 ?
I’m not sure but maybe this will clear all the storage on the device. I successfully used node-red-opc-ua and node-red dashboard on a 2 gB SD card without a problem in the same way. Can you show us the output of the following commands? ifconfig
cat /etc/nftables/balena.nftKind regards Dries
Dear Dries, Thank you for your kind help. I have already tried a factory reset type 2. But it cannot be cleared. Product type : F2152, HW: 02, FW: 2020.0.1 LTS Anyway, I attached the outputs of these commands. I installed balena engine as following maker’s blog; https://www.plcnext-community.net/en/hn-makers-blog/481-node-red-and-getting-started-with-docker.html The balena.nft was not created after command “./setup.sh”. Best regards,
Hi Hue I think you might be expierencing the problem described in: https://www.plcnext-community.net/en/discussions-2-offcanvas/balena-firewall-config-problem.html Can you try to Jan’s solution to the problem? Dries
Dear Dries, Thank you for your kind reply. I can installed it correctly after updating PLCnext firmware to 2020.3. Best regards,




