diff --git a/Arduino_Sketch/HASwitchPlate.ino.d1_mini.bin b/Arduino_Sketch/HASwitchPlate.ino.d1_mini.bin index 99ca3f4..01d2b88 100644 Binary files a/Arduino_Sketch/HASwitchPlate.ino.d1_mini.bin and b/Arduino_Sketch/HASwitchPlate.ino.d1_mini.bin differ diff --git a/Arduino_Sketch/HASwitchPlate/HASwitchPlate.cpp b/Arduino_Sketch/HASwitchPlate/HASwitchPlate.cpp index 64277a7..1adc18c 100644 --- a/Arduino_Sketch/HASwitchPlate/HASwitchPlate.cpp +++ b/Arduino_Sketch/HASwitchPlate/HASwitchPlate.cpp @@ -76,7 +76,7 @@ bool shouldSaveConfig = false; // Flag to save json confi bool nextionReportPage0 = false; // If false, don't report page 0 sendme const unsigned long updateCheckInterval = 43200000; // Time in msec between update checks (12 hours) unsigned long updateCheckTimer = updateCheckInterval; // Timer for update check -unsigned long updateCheckFirstRun = 60000; // First-run check offset +unsigned long updateCheckFirstRun = 30000; // First-run check offset bool updateEspAvailable = false; // Flag for update check to report new ESP FW version float updateEspAvailableVersion; // Float to hold the new ESP FW version number bool updateLcdAvailable = false; // Flag for update check to report new LCD FW version @@ -166,13 +166,13 @@ MDNSResponder::hMDNSService hMDNSService; // mDNS EspSaveCrash SaveCrash; // Save crash details to flash // URL for auto-update check of "version.json" -const char UPDATE_URL[] PROGMEM = "https://haswitchplate.com/update/version.json"; +const char UPDATE_URL[] PROGMEM = "https://haswitchplate.com/update/dev/version.json"; // Additional CSS style to match Hass theme const char HASP_STYLE[] PROGMEM = ""; // Default link to compiled Arduino firmware image -String espFirmwareUrl = "http://haswitchplate.com/update/HASwitchPlate.ino.d1_mini.bin"; +String espFirmwareUrl = "https://haswitchplate.com/update/dev/HASwitchPlate.ino.d1_mini.bin"; // Default link to compiled Nextion firmware images -String lcdFirmwareUrl = "http://haswitchplate.com/update/HASwitchPlate.tft"; +String lcdFirmwareUrl = "https://haswitchplate.com/update/dev/HASwitchPlate.tft"; void setup(); void loop(); @@ -3223,7 +3223,7 @@ void webHandleFirmware() { webServer.sendContent(F("HASPone LCD update available!")); } - webServer.sendContent(F("
Update Nextion LCD from URL http only")); + webServer.sendContent(F("
Update Nextion LCD from URL")); webServer.sendContent(F("


")); diff --git a/Arduino_Sketch/debug/HASwitchPlate.ino.d1_mini.elf b/Arduino_Sketch/debug/HASwitchPlate.ino.d1_mini.elf index 52f6a49..1b2c37a 100644 Binary files a/Arduino_Sketch/debug/HASwitchPlate.ino.d1_mini.elf and b/Arduino_Sketch/debug/HASwitchPlate.ino.d1_mini.elf differ