implement ota updater plus minor fixes

This commit is contained in:
2019-11-10 20:51:26 +01:00
parent f00091ec99
commit 65a1a3027b
3 changed files with 19 additions and 14 deletions

View File

@@ -13,7 +13,7 @@
// Implement versioning so that new firmware can be done OTA
// Todo:
// Split the wifi and mqtt code in order to support http interface
// maybe: loading settings on SPIFFS or similar so we can create more generic firmware? https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html#flash-layout
// Stay on the lookout for watchdog crashes, see also https://www.sigmdel.ca/michel/program/esp8266/arduino/watchdogs_en.html#ESP8266_WDT_RECOV
// Keeps crashing after a few days. Dunno why. https://www.pieterverhees.nl/sparklesagarbage/esp8266/130-difference-between-esp-reset-and-esp-restart
// More on this subject https://github.com/esp8266/Arduino/issues/1017
@@ -34,7 +34,7 @@
// v12: Refactored inbound commands to hook in to the modules (module_message function), completed assimilation of (never-published) Moon_Connected sketch
// v11: Simplified scheduler, back to cooperative looping
// v10: First 'production' run. MQTT over TLS, but no OTA support.
const int FW_VERSION = 13;
const int FW_VERSION = 14;
//
// Configuration settings