#2 handle serial stops receiving data

Slēgta
Flo atvēra 1 gadu atpakaļ · 1 komentāri

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 Kra komentēja 1 gadu atpakaļ
Īpašnieks

implemented with c46dc31293 with 5 min timeout

implemented with c46dc31293 with 5 min timeout
Pierakstieties, lai pievienotos šai sarunai.
Nav atskaites punktu
Nav atbildīgā
1 dalībnieki
Notiek ielāde...
Atcelt
Saglabāt
Vēl nav satura.