handle serial stops receiving data #2

Closed
opened 2023-01-09 10:31:21 +01:00 by Flo · 1 comment
Flo commented 2023-01-09 10:31:21 +01:00 (Migrated from git.flokra.at)

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.
Flo commented 2023-01-27 11:41:56 +01:00 (Migrated from git.flokra.at)

implemented with c46dc31293 with 5 min timeout

implemented with c46dc31293 with 5 min timeout
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
flo/JeeLink2MQTT-InfluxDB#2
No description provided.