chore(exec/temp):Slow temp log period to 10s
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Wed, 28 Oct 2020 21:20:21 +0000 (21:20 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Wed, 28 Oct 2020 21:20:21 +0000 (21:20 +0000)
exec/temperature/DS18B20..temp_poll.py

index 524bc96accd8b10e51f2ccaef1eca039c8a964e9..ce2c71011df57b2a2fe5aa0c81c332ff180c3182 100755 (executable)
@@ -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)