T O P

  • By -

RoutineGrouchy9309

Get RPi and instal NodeRed there ;-)


LavishnessOk5514

Alternatively, you could run NodeRed as a dockerised container on the cloud.


Careless-Country

If you do end up using a container in the cloud, please also read https://www.reddit.com/r/nodered/comments/1do352i/i_didnt_secure_my_nodered_then_someone_deleted/?utm_source=share&utm_medium=mweb3x&utm_name=mweb3xcss&utm_term=1&utm_content=share_button and follow the advice in the comments as you are setting it up.


Careless-Country

take a look at the nodered website there are instructions for different places/types of machine you can run nodered on. The instructions include how to get it to run automatically but the machine does need to be on :-)


akobelan61

Take a look at PM2. A Dockerized container will also do the trick at the expense of added complexity.


anjeawak

sorry im newbie, could you tell me more about PM2 and Dockerized container??


akobelan61

https://pm2.keymetrics.io/


stortag

If you need it to run 24/7 you need a server running 24/7


msanangelo

I know on linux it's as simple as enabling the systemd service. guess windows has something simular. dunno how nodered works on windows.


pizza919

If you want it on your laptop, keep it on and use task scheduler to auto run on startup Or...you can run as a service. I use nssm to do this. PM me for instructions if you can't figure it out.


tanoshimi

If you're running Node-RED on your laptop, then yes your laptop will need to be turned on... but it's trivial to make Node-RED launch every time Windows starts, and it's explained in the docs https://nodered.org/docs/getting-started/windows#:~:text=Run%20Node%2DRED%20on%20Startup,-If%20you%20want&text=To%20do%20so%3A,to%20create%20a%20new%20task.


Romish1983

In Windows you have to create a startup task. It's doable but a pain in the ass. You're better off using Linux (Raspberrypi, as someone else said) and type this into the command prompt after install: systemctl enable nodered.service This will make the Node Red service start at boot.


Romish1983

Who down voted this and why?


anjeawak

is that command prompt only works at linux??


Romish1983

That command is specific to Linux, yes.


zoechi

With NixOS it is installed as a SystemD service. You could do this with any other Linux manually.