From 31f1baa0c25ea710a021da32d722ecb0bb45cf2a Mon Sep 17 00:00:00 2001 From: jerick Date: Tue, 29 Nov 2022 15:33:49 -0500 Subject: [PATCH] Changed timer to 60 seconds --- mqtt/tempSensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqtt/tempSensor.py b/mqtt/tempSensor.py index 925f44e..f3d6af5 100644 --- a/mqtt/tempSensor.py +++ b/mqtt/tempSensor.py @@ -79,7 +79,7 @@ def publish(client, temp, humidity): else: print(f"Failed to send message to topic {humidTopic}") - time.sleep(5.0) + time.sleep(60.0) while True: