diff --git a/Code/data/index.html b/Code/data/index.html
index cc3175b..49f2873 100644
--- a/Code/data/index.html
+++ b/Code/data/index.html
@@ -670,7 +670,8 @@
Totals
var obj = {};
obj["CMD"] = cmdMap[cmd];
obj["VALUE"] = value;
- obj["XTIME"] = Math.floor(Date.now() / 1000);
+ // obj["XTIME"] = Math.floor(Date.now() / 1000);
+ obj["XTIME"] = 0;
obj["INTERVAL"] = 0;
obj["TXT"] = "";
var json = JSON.stringify(obj);
diff --git a/Code/lib/BWC_unified/FW_VERSION.h b/Code/lib/BWC_unified/FW_VERSION.h
index b6b2503..c21dc98 100644
--- a/Code/lib/BWC_unified/FW_VERSION.h
+++ b/Code/lib/BWC_unified/FW_VERSION.h
@@ -1 +1 @@
-#define FW_VERSION "2024-07-15-2330"
+#define FW_VERSION "2024-07-18-0900"
diff --git a/Code/src/main.cpp b/Code/src/main.cpp
index a057e0c..a114261 100644
--- a/Code/src/main.cpp
+++ b/Code/src/main.cpp
@@ -29,8 +29,8 @@ void gotIP()
BWC_LOG_P(PSTR("Soft AP > closed\n"), 0);
BWC_LOG_P(PSTR("Connected as station with localIP: %s\n"), WiFi.localIP().toString().c_str());
startNTP();
- startOTA();
- startMqtt();
+ // startOTA();
+ // startMqtt();
BWC_LOG_P(PSTR("end of gotip millis = %d\n"), millis());
bwc->print(WiFi.localIP().toString());
if(mqtt_info->useMqtt) enableMqtt = true;
@@ -91,6 +91,8 @@ void setup()
if(wifi_info.enableWmApFallback) startSoftAp(); // not blocking anymore so no use case should exist for this to be turned off.
startHttpServer();
startWebSocket();
+ startOTA();
+ startMqtt();
if(bwc->hasTempSensor)
{
HeapSelectIram ephemeral;
@@ -120,6 +122,8 @@ void loop()
server->handleClient();
// Serial.print(".");
}
+ // listen for OTA events
+ ArduinoOTA.handle();
// web socket
if (newData || sendWSFlag)
{
@@ -130,8 +134,6 @@ void loop()
/* MQTT, OTA & NTP is not relevant in softAP mode */
if (WiFi.status() == WL_CONNECTED)
{
- // listen for OTA events
- ArduinoOTA.handle();
// MQTT
if (enableMqtt && mqttClient->loop())
diff --git a/bwc-manual.pdf b/bwc-manual.pdf
index 5f1cc91..6bd82db 100644
Binary files a/bwc-manual.pdf and b/bwc-manual.pdf differ