Thanks. I don't know how I missed that one.
I absolutely agree that I need to figure out why the Pi is failing. I do have a Pi4 with the official Pi4 power supply. I am also using a SSD instead of a SD card. So the issue might still be the power as I am powering the SSD through the Pi. I just received a different USB-SSD adapter that has a separate power supply. I will see if that helps.
One thing that makes my setup more difficult is the MQTT. I have many devices in my network that communicate via MQTT. So I need to handle the broker changes as well as the NR changes for redundancy purposes. I just installed the aedes node so now the broker is part of NR. I can eliminate the separate mosquitto broker.
I have also figured out how to dynamically change the broker address in my switches via NR. That will be my final solution and will make the whole setup fail safe. Well, except for WiFi which I have a mesh for.