So I have an issue with Zigbee2MQTT that I'm pretty sure isn't a bug, but it might be an oversight.
So, I have a SLZB-MRW10 connected to my network that deals with my Zigbee and Z-Wave stuff. It's all configured correctly and doing the things it needs to do.
However, my TPLink AX6000 reboots nightly at 2am, which causes Z2M to randomly just crash because it can't communicate with the MRW10 while the router is rebooting.
This doesn't happen every night though. it can go for a few weeks without any issues, but then randomly it'll just fail with flames and fireworks and then nothing on my zigbee network can communicate with my HA instance. Starting the addon fixes this issue.
I also have the watchdog enabled. However, because it fully crashes the addon, it can't recover and restart itself.
So I need to find a way to detect when Z2M crashes, and then reboot it. I did a bit of digging and I couldn't find anything that I would think would be useful to do this. I'm going to tinker with MQTT and see if I can't send pings and if I can and then don't get a response, try to start the addon somehow, but people here are smarter than I and hopefully have figured out how to fix this issue before I duct tape together something awful to "fix" it myself