handle serial stops receiving data #2
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
flo/JeeLink2MQTT-InfluxDB#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
c46dc31293with 5 min timeout