#2 handle serial stops receiving data

Suljettu
1 vuosi sitten avasi Flo · 1 kommenttia
Flo Kra kommentoitu 1 vuosi sitten

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 kommentoitu 1 vuosi sitten
Omistaja

implemented with c46dc31293 with 5 min timeout

implemented with c46dc31293 with 5 min timeout
Kirjaudu sisään osallistuaksesi tähän keskusteluun.
Ei merkkipaalua
Ei osoitettua
1 osallistujaa
Ladataan...
Peruuta
Tallenna
Sisältöä ei vielä ole.