Skip to content

Commit

Permalink
1.24 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
klausahrenberg committed Dec 19, 2021
1 parent 49dfb19 commit 972d171
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 21 deletions.
38 changes: 22 additions & 16 deletions WThermostat/.clang_complete
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
-I/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/include
-I/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/src
-I/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/include
-I/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266HTTPClient/src
-I/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/Time
-I/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/NTPClient
-I/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/Time
-I/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/NTPClient
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/EEPROM
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src
-I/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/PubSubClient/src
-I/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/PubSubClient/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266mDNS/src
-I/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/ESP Async WebServer/src
-I/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/ESP Async WebServer/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Hash/src
-I/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/ESPAsyncTCP/src
-I/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/ESPAsyncTCP/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src
-I/mnt/Daten/Users/klaus/Projects/Atom/WAdapter/WAdapter
-I/mnt/Daten/Users/klausahrenberg/Projects/Atom/WAdapter/WAdapter
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/tools/sdk/include
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/cores/esp8266
-I/home/klausahrenberg/.platformio/packages/toolchain-xtensa/include
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip2/include
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/variants/generic
-I/home/klausahrenberg/.platformio/lib/Adafruit MPR121
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ArduinoOTA
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266AVRISP/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266HTTPUpdateServer/src
Expand All @@ -30,7 +29,9 @@
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266httpUpdate/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Ethernet/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/GDBStub/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/I2S/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/LittleFS/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Netdump/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SD/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SDFS/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SPI
Expand All @@ -41,13 +42,16 @@
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Ticker/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Wire
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/esp8266/src
-I/home/klausahrenberg/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2
-I/home/klausahrenberg/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/xtensa-lx106-elf
-I/home/klausahrenberg/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/4.8.2/include
-I/home/klausahrenberg/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/4.8.2/include-fixed
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_PPP/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_enc28j60/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_w5100/src
-I/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_w5500/src
-I/home/klausahrenberg/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0
-I/home/klausahrenberg/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/xtensa-lx106-elf
-I/home/klausahrenberg/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/10.3.0/include
-I/home/klausahrenberg/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/10.3.0/include-fixed
-I/home/klausahrenberg/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include
-I/home/klausahrenberg/.platformio/packages/tool-unity
-DPLATFORMIO=50101
-DPLATFORMIO=50204
-DESP8266
-DARDUINO_ARCH_ESP8266
-DARDUINO_ESP8266_ESP01
Expand All @@ -63,3 +67,5 @@
-DLWIP_FEATURES=1
-DLWIP_IPV6=0
-DVTABLES_IN_FLASH
-DMMU_IRAM_SIZE=0x8000
-DMMU_ICACHE_SIZE=0x8000
6 changes: 3 additions & 3 deletions WThermostat/.gcc-flags.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"execPath": "/home/klausahrenberg/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++",
"gccDefaultCFlags": "-fsyntax-only -std=gnu99 -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -Os -mlongcalls -mtext-section-literals -falign-functions=4 -U__STRICT_ANSI__ -ffunction-sections -fdata-sections -fno-exceptions -Wall -DPLATFORMIO=50101 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP01 -DF_CPU=80000000L -D__ets__ -DICACHE_FLASH -DARDUINO=10805 -DARDUINO_BOARD=\"PLATFORMIO_ESP01_1M\" -DFLASHMODE_DOUT -DLWIP_OPEN_SRC -DNONOSDK22x_190703=1 -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DVTABLES_IN_FLASH",
"gccDefaultCppFlags": "-fsyntax-only -fno-rtti -std=c++11 -Os -mlongcalls -mtext-section-literals -falign-functions=4 -U__STRICT_ANSI__ -ffunction-sections -fdata-sections -fno-exceptions -Wall -DPLATFORMIO=50101 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP01 -DF_CPU=80000000L -D__ets__ -DICACHE_FLASH -DARDUINO=10805 -DARDUINO_BOARD=\"PLATFORMIO_ESP01_1M\" -DFLASHMODE_DOUT -DLWIP_OPEN_SRC -DNONOSDK22x_190703=1 -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DVTABLES_IN_FLASH",
"gccDefaultCFlags": "-fsyntax-only -std=gnu17 -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -Os -mlongcalls -mtext-section-literals -falign-functions=4 -U__STRICT_ANSI__ -D_GNU_SOURCE -ffunction-sections -fdata-sections -Wall -Werror=return-type -free -fipa-pta -DPLATFORMIO=50204 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP01 -DF_CPU=80000000L -D__ets__ -DICACHE_FLASH -DARDUINO=10805 -DARDUINO_BOARD=\"PLATFORMIO_ESP01_1M\" -DFLASHMODE_DOUT -DLWIP_OPEN_SRC -DNONOSDK22x_190703=1 -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000",
"gccDefaultCppFlags": "-fsyntax-only -fno-rtti -std=gnu++17 -fno-exceptions -Os -mlongcalls -mtext-section-literals -falign-functions=4 -U__STRICT_ANSI__ -D_GNU_SOURCE -ffunction-sections -fdata-sections -Wall -Werror=return-type -free -fipa-pta -DPLATFORMIO=50204 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP01 -DF_CPU=80000000L -D__ets__ -DICACHE_FLASH -DARDUINO=10805 -DARDUINO_BOARD=\"PLATFORMIO_ESP01_1M\" -DFLASHMODE_DOUT -DLWIP_OPEN_SRC -DNONOSDK22x_190703=1 -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000",
"gccErrorLimit": 15,
"gccIncludePaths": "/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/include,/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266HTTPClient/src,/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/Time,/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/NTPClient,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/EEPROM,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src,/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/PubSubClient/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266mDNS/src,/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/ESP Async WebServer/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Hash/src,/mnt/Daten/Users/klaus/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/ESPAsyncTCP/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src,/mnt/Daten/Users/klaus/Projects/Atom/WAdapter/WAdapter,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/tools/sdk/include,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/cores/esp8266,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip2/include,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/variants/generic,/home/klausahrenberg/.platformio/lib/Adafruit MPR121,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ArduinoOTA,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266AVRISP/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266HTTPUpdateServer/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266LLMNR,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266NetBIOS,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266SSDP,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266SdFat/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WebServer/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFiMesh/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266httpUpdate/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Ethernet/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/GDBStub/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/LittleFS/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SD/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SDFS/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SPI,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SPISlave/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Servo/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SoftwareSerial/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/TFT_Touch_Shield_V2,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Ticker/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Wire,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/esp8266/src,/home/klausahrenberg/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2,/home/klausahrenberg/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/xtensa-lx106-elf,/home/klausahrenberg/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/4.8.2/include,/home/klausahrenberg/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/4.8.2/include-fixed,/home/klausahrenberg/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include,/home/klausahrenberg/.platformio/packages/tool-unity",
"gccIncludePaths": "/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/include,/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266HTTPClient/src,/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/Time,/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/NTPClient,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/EEPROM,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src,/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/PubSubClient/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266mDNS/src,/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/ESP Async WebServer/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Hash/src,/mnt/Daten/Users/klausahrenberg/Projects/Atom/WThermostatBeca/WThermostat/.pio/libdeps/esp01_1m/ESPAsyncTCP/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src,/mnt/Daten/Users/klausahrenberg/Projects/Atom/WAdapter/WAdapter,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/tools/sdk/include,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/cores/esp8266,/home/klausahrenberg/.platformio/packages/toolchain-xtensa/include,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip2/include,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/variants/generic,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ArduinoOTA,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266AVRISP/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266HTTPUpdateServer/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266LLMNR,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266NetBIOS,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266SSDP,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266SdFat/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WebServer/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFiMesh/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266httpUpdate/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Ethernet/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/GDBStub/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/I2S/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/LittleFS/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Netdump/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SD/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SDFS/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SPI,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SPISlave/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Servo/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/SoftwareSerial/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/TFT_Touch_Shield_V2,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Ticker/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/Wire,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/esp8266/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_PPP/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_enc28j60/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_w5100/src,/home/klausahrenberg/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_w5500/src,/home/klausahrenberg/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0,/home/klausahrenberg/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/xtensa-lx106-elf,/home/klausahrenberg/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/10.3.0/include,/home/klausahrenberg/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/10.3.0/include-fixed,/home/klausahrenberg/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include",
"gccSuppressWarnings": false
}
7 changes: 6 additions & 1 deletion WThermostat/src/WClock.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class WClock: public WDevice {
this->addProperty(this->nightMode);
this->nightSwitches = network->getSettings()->setByteArray("nightSwitches", DEFAULT_NIGHT_SWITCHES);
}
this->wifiClient = nullptr;
}

void loop(unsigned long now) {
Expand Down Expand Up @@ -139,7 +140,10 @@ class WClock: public WDevice {
String request = timeZoneServer->c_str();
network->debug(F("Time zone update via '%s'"), request.c_str());
HTTPClient http;
http.begin(request);
if (this->wifiClient == nullptr) {
this->wifiClient = new WiFiClient();
}
http.begin(*wifiClient, request);
int httpCode = http.GET();
if (httpCode > 0) {
WJsonParser parser;
Expand Down Expand Up @@ -481,6 +485,7 @@ class WClock: public WDevice {
WProperty* dstRule;
WProperty* enableNightMode;
WProperty* nightSwitches;
WiFiClient* wifiClient;

void notifyOnTimeUpdate() {
if (onTimeUpdate) {
Expand Down
2 changes: 1 addition & 1 deletion WThermostat/src/WThermostat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "WThermostat_DLX_LH01.h"

#define APPLICATION "Thermostat"
#define VERSION "1.20n"
#define VERSION "1.24beta"
#define FLAG_SETTINGS 0x22
#define DEBUG false

Expand Down
Binary file removed WThermostat_1.20n_beta.bin
Binary file not shown.
Binary file added WThermostat_1.24_beta.bin
Binary file not shown.

0 comments on commit 972d171

Please sign in to comment.