I'm running Domoticz on a Raspberry Pi for about 6 years without any hiccup, only shutting it down when upgrading the software, OS, and at one point reinstalling everything when replacing the Pi with a newer model. Other than that Domoticz is rock solid and just running year after year. Up to now, that is. Domoticz in primarily used to monitor my gas and electricity use. The data is retrieved from the P1 port on the smart meter via a USB-Serial converter that plugs into one of the USB ports of the Pi.
But suddenly I find that Domoticz is quits working every couple of days. The symptoms:
- I'm no longer able to connect with the web inteface.
- The Pi itself runs and I can connect to it (ssh). Uptime tells me that the Pi did not lose power (Pi fed by POE)
- A 'sudo service domoticz status' show that domoticz was started a couple of days ago and is running.
- A 'sudo service domoticz restart' brings back Domiticz. The web interface is functioning again, and I get new data in from the P1 port. But I do not have the data from the point where Domoticz stopped up until the restart.
This started some weeks ago, on an older version of Debian, and the previous version of Domoticz, so I thought, well, the SD card is maybe 3 years old and could potentially have developed a problem so let's replace that. I installed Debian Trixie lite and the latest version of Domoticz (2025.2) on a fresh SD card, restored my latest backup and was up and running again in no time. This process is quite simple these days
To my surprise however the initial problem is still there. The Pi keeps running, but Domoticz dies in a couple of days (1-4). I am about to order a new Pi and see if that solves the problem, but before I do that I would like to know if there is anything else I can take a look at?
Any suggestion is welcome.
Regards,
Paul