diff --git a/mqtt/tempSensor.py b/mqtt/tempSensor.py index 060755c..459bc28 100644 --- a/mqtt/tempSensor.py +++ b/mqtt/tempSensor.py @@ -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