Since a few weeks I updated my OpenHAB server to OH3.
With that update, I reconnected my Smart Meter (DSMR) via a inverter and voltage regulator to the serial port of my raspberry pi 3B+.
This works great, until a few days after startup.
The binding states an error: “No data received from Smart Meter” and after restarting the DSMR binding “Serial port does not exist”.
Only a restart of OpenHAB fixes the problem. And then it can run for like 4 to 7 days.
I already checked my logging and searched for problems with serial communication, but unfortunately I couldn’t find anything usefull.
Comment: there is a issue for some people with Modbus binding and serial ports. It seems that when error recovery is invoked due to a transient error, the port can get locked out due to some issue in the common serial library. Might be something similar here.
It’s nothing to do actually with using Modbus binding. I am saying that some modbus users have trouble with the serial port. Investigations there have indicated a problem with a core serial library, that is not a part of the modbus binding. I would expect other bindings that use the serial ports to also use the same library.
I already thought that it would be something with the serial library instead of the DSMR binding in this case.
So I hope the problem in the Serial library will be found and solved soon then.