Changed update time to 5 minutes
This commit is contained in:
@@ -90,6 +90,6 @@ while True:
|
||||
temp, humidity = getValues(sensor)
|
||||
getValues(sensor)
|
||||
publish(client, temp, humidity)
|
||||
time.sleep (60.0)
|
||||
time.sleep (300.0)
|
||||
client.loop_stop() #Stop loop
|
||||
client.disconnect() # disconnect
|
||||
|
||||
Reference in New Issue
Block a user