I am using a RPi 4 to monitor the air quality of rooms. I have built a Node-red flow that processes and sends the output via MQTT. I start the node-red flow by SSH. The problem is that although the RPi is connected to WiFi the MQTT connection is disturbed as soon as I change the WiFi or close the terminal in my Laptop.
Is there is way to activate the Node-red flow once via SSH and then keep the Node-red flow running even after closing the terminal in laptop.
Thank you very much for your replies.