Raspberry pi watchdog
Having run a raspberry pi as part of my custom weather station set up for many years, I got sick of having to manually restart the pi when it fritzed out, which seemed to happen every few weeks of so.
I did some googling and found out that I wasn’t the only one who was annoyed by this and found that hardware solution had been developed.
Hardware solution
I found the PiWatcher by a company called Omzlo - https://www.omzlo.com/articles/the-piwatcher
I used this without issue for a good few years and it seemed to work with no problems at all. I then when looking for something unrelated came across an article that discussed a secret built in hardware watchdog that all the pi’s had!
Inbuilt software solution
To set up the hardware watchdog, follow these steps. This assumes you are using Raspberry pi OS.