Any suggestions on how it can be done ?
/Boja
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…
systemctl reboot
But never noticed the Node rpi-shutdown. Nice
Unfortunately none of them work on my hassio.
The flow linked to, generates error 127 and the two nodes in node-red-contrib-rpi-shutdown accepts input, but does absolutely nothing.
Can’t you simply call the service hassio.host_reboot or hassio.host_shutdown ?
New territory for me. Work perfectly.
Thanks.
These nodes only work for me if I start node-red from my user account,not when it starts from boot as a service.I believe this is a pemrissions issue. SO how do I give node-red the right permissions?
Which, the pi nodes? Are you looking to restart/stop home assistant, if so use a call service node.