Sometimes serial (PySerial) stops receiving data. Cause is unclear.
Handle this by exiting the program after a timeout so that it will be restarted by systemd.
As in a working setup data will arrive at least every 10 sec (LaCrosse send interval is pretty short) this timeout should be only a few minutes.
Sometimes serial (PySerial) stops receiving data. Cause is unclear.
Handle this by exiting the program after a timeout so that it will be restarted by systemd.
As in a working setup data will arrive at least every 10 sec (LaCrosse send interval is pretty short) this timeout should be only a few minutes.
Sometimes serial (PySerial) stops receiving data. Cause is unclear. Handle this by exiting the program after a timeout so that it will be restarted by systemd. As in a working setup data will arrive at least every 10 sec (LaCrosse send interval is pretty short) this timeout should be only a few minutes.
implemented with
c46dc31293
with 5 min timeout