Closed jwillmer closed 3 months ago
I had the same problem. add timeout to the serial connection: SERIAL_SLAVES_INSTANCE = serial.Serial(port='/dev/ttyUSB0', baudrate=19200, timeout=0.501750)
I had the same problem. add timeout to the serial connection: SERIAL_SLAVES_INSTANCE = serial.Serial(port='/dev/ttyUSB0', baudrate=19200, timeout=0.501750)
Only for the slave or in general?
also: is there any specific reason for this timeout value?
@Privatecoder I guess it does not heart. If we run into a timeout the app stops and will be restarted. If we do not set it we might end up in a deadlock. I updated my pull request with it.
I was just wondering about the 0.501750
– if that value was chosen for any specific reason..?
same question but i guess not. I did not use any specific time.
can we close this now or is this still a problem for anyone?
Already pulled last release. Awesome teamwork this night :)
The docker container stops transmitting data every couple of days. A simple restart of the docker container resolves it. The last log output from the container today (before I restarted it) was the following: