Rebooting/Shutdown the Raspberry PI from Node-Red

Any suggestions on how it can be done ?

/Boja

In node-red you install the bigssh node. You create the configuration node (user/passwd or certificate). If you want to reboot the Pi where NR is running you can use 127.0.0.1 for the @IP. And then through this ssh node you call “shutdown -r now”. If you can’t ssh to root directly you may have to use sudo or something like that.
You Pi will reboot…

1 Like

You could probably use this flow or the node below.

1 Like
systemctl reboot

But never noticed the Node rpi-shutdown. Nice