/
Enable network access to "revpi-single-node"

Enable network access to "revpi-single-node"

There exists a Node-RED button called “revpi-single-node”.

Currently, you can access this node just from your local network, i.e. via 127.0.0.1. That means via an HDMI monitor, a browser and connection to your local Node-RED server.

This is an experimental feature, be sure to protect your network access and make an image of your system as a backup

There is the original discussion in the Revolution Pi Forum:

Instructions

Remote connections are currently disabled in RevPi Nodes for Node-RED because HTTPS support is not added yet, and no user authentication is in place. If you are on a local network and willing to take the safety risk, try the following:

Download the latest server code from the GitHub repo on the remote RevPi:

wget https://raw.githubusercontent.com/erminas/noderedrevpinodes-server/master/revpi-server.py

Edit the file and disable the external connection blocking, by changing the line 237 to block_external_connections = False

nano revpi-server.py

Overwrite existing server

sudo cp revpi-server.py /usr/share/noderedrevpinodes-server/revpi-server.py

Remove temporary file

Restart python server

Related articles

Related content

Revolution Pi Python Introduction
Revolution Pi Python Introduction
Read with this
Node-RED Checklist
Node-RED Checklist
More like this
Revolution Pi Questions And Answers
Revolution Pi Questions And Answers
Read with this
Revolution Pi SOS Report
Revolution Pi SOS Report
More like this
RTC in RevolutionPi
RTC in RevolutionPi
Read with this