From 1c99b4d1ee3347476500ad66b98c4a3a4bb4b55b Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 22 Sep 2020 11:27:45 +0200 Subject: [PATCH] Fix HTTP status 0 message when using USE_MQTT_TLS Fix ``status 0`` message when using define USE_MQTT_TLS due to small log buffer (#9305) --- tasmota/CHANGELOG.md | 3 ++- tasmota/tasmota_globals.h | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/tasmota/CHANGELOG.md b/tasmota/CHANGELOG.md index 2af073b29..f50c57428 100644 --- a/tasmota/CHANGELOG.md +++ b/tasmota/CHANGELOG.md @@ -7,13 +7,14 @@ - Fix energy total counters (#9263, #9266) - Fix crash in ``ZbRestore`` - Fix reset BMP sensors when executing command ``SaveData`` and define USE_DEEPSLEEP enabled (#9300) +- Fix ``status 0`` message when using define USE_MQTT_TLS due to small log buffer (#9305) +- Change replace ArduinoJson with JSMN for JSON parsing - Add command ``SetOption110 1`` to disable Zigbee auto-config when pairing new devices - Add command ``SetOption111 1`` to enable frequency output for buzzer GPIO (#8994) - Add ``#define USE_MQTT_AWS_IOT_LIGHT`` for password based AWS IoT authentication - Add new shutter modes (#9244) - Add Zigbee auto-config when pairing - Add support for MLX90640 IR array temperature sensor by Christian Baars -- Change replace ArduinoJson with JSMN for JSON parsing ### 8.5.0 20200907 diff --git a/tasmota/tasmota_globals.h b/tasmota/tasmota_globals.h index edf933c12..40b04a99c 100644 --- a/tasmota/tasmota_globals.h +++ b/tasmota/tasmota_globals.h @@ -122,11 +122,11 @@ String EthernetMacAddress(void); #define WS2812_LEDS 30 // [Pixels] Number of LEDs #endif -#ifdef USE_MQTT_TLS - const uint16_t WEB_LOG_SIZE = 2000; // Max number of characters in weblog -#else +//#ifdef USE_MQTT_TLS // Set to 4000 on 20200922 per #9305 +// const uint16_t WEB_LOG_SIZE = 2000; // Max number of characters in weblog +//#else const uint16_t WEB_LOG_SIZE = 4000; // Max number of characters in weblog -#endif +//#endif #if defined(ARDUINO_ESP8266_RELEASE_2_3_0) || defined(ARDUINO_ESP8266_RELEASE_2_4_0) || defined(ARDUINO_ESP8266_RELEASE_2_4_1) || defined(ARDUINO_ESP8266_RELEASE_2_4_2) || defined(ARDUINO_ESP8266_RELEASE_2_5_0) || defined(ARDUINO_ESP8266_RELEASE_2_5_1) || defined(ARDUINO_ESP8266_RELEASE_2_5_2) #error "Arduino ESP8266 Core versions before 2.7.1 are not supported"