Changed timer to 60 seconds
This commit is contained in:
@@ -79,7 +79,7 @@ def publish(client, temp, humidity):
|
|||||||
else:
|
else:
|
||||||
print(f"Failed to send message to topic {humidTopic}")
|
print(f"Failed to send message to topic {humidTopic}")
|
||||||
|
|
||||||
time.sleep(5.0)
|
time.sleep(60.0)
|
||||||
|
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
|||||||
Reference in New Issue
Block a user