Update enviro_all_mqtt.py
@@ -97,10 +97,11 @@ mqtt_time = 0
mqtt_success = False
e = "Wait a minute"
-while True:
# connect to wifi
uasyncio.get_event_loop().run_until_complete(network_manager.client(WIFI_CONFIG.SSID, WIFI_CONFIG.PSK))
+while True:
+
# read BME688
temperature, pressure, humidity, gas, status, _, _ = bme.read()
heater = "Stable" if status & STATUS_HEATER_STABLE else "Unstable"
