Skip to end of banner
Go to start of banner

Enable network access to "revpi-single-node"

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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 a 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

This discussion describes how to enable access to the whole network.

https://revolution.kunbus.de/forum/viewtopic.php?f=6&t=1852&p=6988#p7015

Instructions

Rremote connections are currently disabled in noderedrevpinodes, because https/wss support is not added yet and no user authentification 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

rm revpi-server.py

Restart python server

sudo systemctl restart noderedrevpinodes-server.service

Verwandte Artikel

  • No labels