From 09ab09f06e8c6acf20e3671c0468c45793b174bd Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Wed, 28 Oct 2020 21:20:21 +0000 Subject: [PATCH 1/1] chore(exec/temp):Slow temp log period to 10s --- exec/temperature/DS18B20..temp_poll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/temperature/DS18B20..temp_poll.py b/exec/temperature/DS18B20..temp_poll.py index 524bc96..ce2c710 100755 --- a/exec/temperature/DS18B20..temp_poll.py +++ b/exec/temperature/DS18B20..temp_poll.py @@ -45,4 +45,4 @@ while True: nowTimeUE = strftime("%s") nowTemp = read_temp() print(str(nowTimeIso8601) + ',' + str(nowTimeUE) + ',' + str(myHostname) + ',' + str(nowTemp), flush=True) # flush to stdout continuously (e.g. without buffer) https://stackoverflow.com/a/14729823 - time.sleep(1) + time.sleep(10) -- 2.30.2