We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb3e974 commit f3bb155Copy full SHA for f3bb155
libs/reset_device/connection_monitor.py
@@ -16,11 +16,9 @@
16
if reset_lib.is_wifi_active() == False:
17
no_conn_counter += 10
18
consecutive_active_reports = 0
19
- os.system('echo no conn counter: ' + str(no_conn_counter) + ' seconds >> /home/pi/connlog')
20
else:
21
consecutive_active_reports += 1
22
23
- os.system('echo consecutive_active_reports: ' + str(consecutive_active_reports) + ' >> /home/pi/connlog')
24
if consecutive_active_reports >= 2:
25
no_conn_counter = 0
26
0 commit comments