diff --git a/mqtt_publish_temp.py b/mqtt_publish_temp.py index eb3371a..a5004a3 100644 --- a/mqtt_publish_temp.py +++ b/mqtt_publish_temp.py @@ -58,9 +58,9 @@ while True: client.publish(humidity_topic, humidity) client.publish(time_topic, dt_string) - time.sleep(30) - #Output data to screen print dt_string print temperature - print humidity \ No newline at end of file + print humidity + + time.sleep(30) \ No newline at end of file