IOT2040 node-red-contrib-fred

I am new to node red and IOT2040 and I am trying to connect my process with node-red fred cloud via Siemens IOT2040.
I have installed node-red-contrib-fred on my IOT2040 using

npm install -g node-red-contrib-fred
I got the info that the packages have been installed but there is also an error
FRED host type is client { Error: EACCES: permission denied, open 'fred.html' errno: -13, code: 'EACCES', syscall: 'open', path: 'fred.html' }

and I don't have access to fred nodes in node-red window after opening <iot2040_ip>:1880 in my browser.

Do you have any ideas why it doesn't work?

By the looks of it, all this node does is setup a websocket between 2 instances of node-red.

You could easily achieve this using built-in nodes...

  • http endpoints & http request
  • web socket nodes
  • TCP nodes
  • MQTT (via a broker)

Thanks for your prompt reply. From what I understand it also enables connection with free cloud and this is exactly what I need.

Does using MQTT allows connection with free cloud?

I am just starting my adventure with IoT solutions and I am not familiar with MQTT.

What is "free cloud"

I mean the free access to cloud so I can monitor process values on other PC-like devices which are not connected directly to the process.

If the "cloud" is MQTT capable (e.g. if the cloud device is running node-red) then yes, it can use MQTT so long as the MQTT broker is accessible by both node-red devices (e.g. cloud based broker on same cloud device or other external MQTT broker)

BTW: MQTT is extremely simple.

Example of 2 Node-RED communicating over cloud broker

Correct me if I am wrong. So I can connect two instances of Node-RED (first running on my IoT2040, second running on my PC) using only MQTT broker?

Do you suggest any cloud solution for data storage and display to use with Node-RED?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.