From: Steven Baltakatei Sandoval Date: Wed, 28 Oct 2020 21:20:21 +0000 (+0000) Subject: chore(exec/temp):Slow temp log period to 10s X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/09ab09f06e8c6acf20e3671c0468c45793b174bd?ds=inline chore(exec/temp):Slow temp log period to 10s --- 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)