diff --git a/CHANGELOG.md b/CHANGELOG.md index 1608a6987..53b5473c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,21 @@ All notable changes to this project will be documented in this file. ## [Unreleased] - Development -## [9.3.1.2] +## [9.3.1.3] +### Added +- Optional GUI file editor enabled with define ``GUI_EDIT_FILE`` by barbudor (#11668) +- Initial support for universal display driver UDisplay by Gerhard Mutz (#11665) + +### Changed +- In tasmota-sensors.bin enabled support for VL53L0X and disabled TSL2561 (#11711) +- Add HLW8012/BL0937 average pulse calculation by Alex Lovett (#11722) +- Redesigned initial GUI wifi configuration by Adrian Scillato (#11693) + +### Fixed +- Telegram chat id incorrect size (#11660) +- KNX energy yesterday (#11718) + +## [9.3.1.2] 20210413 ### Added - Commands ``MqttKeepAlive 1..100`` to set Mqtt Keep Alive timer (default 30) and ``MqttTimeout 1..100`` to set Mqtt Socket Timeout (default 4) (#5341) - Commands ``DisplayType`` to select sub-modules where implemented and ``DisplayInvert`` to select inverted display where implemented @@ -32,8 +46,10 @@ All notable changes to this project will be documented in this file. ### Fixed - HC-SR04 on ESP32 release serial interface if not used (#11507) - Teleinfo, if raw mode selected also always update total energy calculations +- Alexa discovery for ZBBridge (#11576) +- Alexa discovery in hue emulation (#11415) -## [9.3.1.1] +## [9.3.1.1] 20210320 ### Added - Support for CSE7761 energy monitor as used in ESP32 based Sonoff Dual R3 Pow (#10793) - Command ``Sensor80 1 <0..7>`` to control MFRC522 RFID antenna gain from 18dB (0) to 48dB (7) (#11073) @@ -75,7 +91,7 @@ All notable changes to this project will be documented in this file. ## [9.3.1] 20210223 - Release Kenneth -## [9.3.0.1] +## [9.3.0.1] 20210223 ### Added - Animate PWM dimmer brightness LEDs during transitions and with variable brightness (#11076) - Commands ``StateRetain`` and ``InfoRetain`` (#11084) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index f61d91dcb..3c7f6c798 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -78,7 +78,7 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota [Complete list](BUILDS.md) of available feature and sensors. -## Changelog v9.3.1.2 +## Changelog v9.3.1.3 ### Added - Command ``Sensor80 1 <0..7>`` to control MFRC522 RFID antenna gain from 18dB (0) to 48dB (7) [#11073](https://github.com/arendst/Tasmota/issues/11073) - Command ``SerialBuffer 256..520`` to change hardware serial receive buffer size from default (256) to max local buffer size (520) [#11448](https://github.com/arendst/Tasmota/issues/11448) @@ -100,11 +100,13 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota - Allow MCP230xx pinmode from output to input [#11104](https://github.com/arendst/Tasmota/issues/11104) - Berry improvements [#11163](https://github.com/arendst/Tasmota/issues/11163) - Extent compile time SetOptions support [#11204](https://github.com/arendst/Tasmota/issues/11204) +- Tasmota discovery as alternative to Home Assistant discovery using define ``USE_TASMOTA_DISCOVERY`` +- Optional GUI file editor enabled with define ``GUI_EDIT_FILE`` by barbudor [#11668](https://github.com/arendst/Tasmota/issues/11668) +- Initial support for universal display driver UDisplay by Gerhard Mutz [#11665](https://github.com/arendst/Tasmota/issues/11665) - ESP32 Extent BLE [#11212](https://github.com/arendst/Tasmota/issues/11212) - ESP32 support for WS2812 hardware driver via RMT or I2S - ESP32 support for secondary I2C controller - ESP32 support for internal Hall Effect sensor connected to both GPIO36 and GPIO39 only -- Tasmota discovery as alternative to Home Assistant discovery using define ``USE_TASMOTA_DISCOVERY`` ### Changed - TasmotaSerial library from v3.2.0 to v3.3.0 @@ -117,6 +119,9 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota - Limit number of relay/button columns in GUI to 8 [#11546](https://github.com/arendst/Tasmota/issues/11546) - ADC range result from int to float using command ``FreqRes`` for decimal resolution selection [#11545](https://github.com/arendst/Tasmota/issues/11545) - Removed overtemp detection on external energy monitoring devices [#11628](https://github.com/arendst/Tasmota/issues/11628) +- Redesigned initial GUI wifi configuration by Adrian Scillato [#11693](https://github.com/arendst/Tasmota/issues/11693) +- In tasmota-sensors.bin enabled support for VL53L0X and disabled TSL2561 [#11711](https://github.com/arendst/Tasmota/issues/11711) +- Add HLW8012/BL0937 average pulse calculation by Alex Lovett [#11722](https://github.com/arendst/Tasmota/issues/11722) ### Fixed - PN532 on ESP32 Serial flush both Tx and Rx buffers [#10910](https://github.com/arendst/Tasmota/issues/10910) @@ -130,4 +135,8 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota - ESP32 flash script for Odroid and Core2 [#11227](https://github.com/arendst/Tasmota/issues/11227) - ESP32 WS2812 bitbang support [#11248](https://github.com/arendst/Tasmota/issues/11248) - DS18x20 driver timing issue [#11270](https://github.com/arendst/Tasmota/issues/11270) +- Alexa discovery in hue emulation [#11415](https://github.com/arendst/Tasmota/issues/11415) - HC-SR04 on ESP32 release serial interface if not used [#11507](https://github.com/arendst/Tasmota/issues/11507) +- Alexa discovery for ZBBridge [#11576](https://github.com/arendst/Tasmota/issues/11576) +- Telegram chat id incorrect size [#11660](https://github.com/arendst/Tasmota/issues/11660) +- KNX energy yesterday [#11718](https://github.com/arendst/Tasmota/issues/11718) \ No newline at end of file diff --git a/tasmota/xdrv_01_webserver.ino b/tasmota/xdrv_01_webserver.ino index 342fd3f97..8cac58e71 100644 --- a/tasmota/xdrv_01_webserver.ino +++ b/tasmota/xdrv_01_webserver.ino @@ -805,6 +805,10 @@ void WSContentSendStyle(void) WSContentSendStyle_P(nullptr); } +void WSContentTextCenterStart(uint32_t color) { + WSContentSend_P(PSTR("
"), color); +} + void WSContentButton(uint32_t title_index, bool show=true) { char action[4]; @@ -897,9 +901,11 @@ void WebRestart(uint32_t type) WSContentSend_P(PSTR("
%s

"), (type==2) ? PSTR(D_TRYING_TO_CONNECT) : PSTR(D_CONFIGURATION_SAVED) ); } else { #if (AFTER_INITIAL_WIFI_CONFIG_GO_TO_NEW_IP) - WSContentSend_P(PSTR("
" D_SUCCESSFUL_WIFI_CONNECTION "

" D_REDIRECTING_TO_NEW_IP "

"), WebColor(COL_TEXT_SUCCESS) ); + WSContentTextCenterStart(WebColor(COL_TEXT_SUCCESS)); + WSContentSend_P(PSTR(D_SUCCESSFUL_WIFI_CONNECTION "

" D_REDIRECTING_TO_NEW_IP "

")); #else - WSContentSend_P(PSTR("
" D_SUCCESSFUL_WIFI_CONNECTION "

" D_NOW_YOU_CAN_CLOSE_THIS_WINDOW "

"), WebColor(COL_TEXT_SUCCESS) ); + WSContentTextCenterStart(WebColor(COL_TEXT_SUCCESS)); + WSContentSend_P(PSTR(D_SUCCESSFUL_WIFI_CONNECTION "

" D_NOW_YOU_CAN_CLOSE_THIS_WINDOW "

")); #endif } } @@ -1808,7 +1814,10 @@ void HandleWifiConfiguration(void) { uint32_t networksToShow = n; if ((limitScannedNetworks) && (networksToShow > MAX_WIFI_NETWORKS_TO_SHOW)) { networksToShow = MAX_WIFI_NETWORKS_TO_SHOW; } - if (WifiIsInManagerMode()) { WSContentSend_P(PSTR("
" D_SELECT_YOUR_WIFI_NETWORK "

"), WebColor(COL_TEXT)); } + if (WifiIsInManagerMode()) { + WSContentTextCenterStart(WebColor(COL_TEXT)); + WSContentSend_P(PSTR(D_SELECT_YOUR_WIFI_NETWORK "
")); + } #ifdef USE_ENHANCED_GUI_WIFI_SCAN //display networks in page @@ -1917,7 +1926,9 @@ void HandleWifiConfiguration(void) { if (WifiIsInManagerMode()) { #ifndef FIRMWARE_MINIMAL - WSContentSend_P(PSTR("

"), WebColor(COL_TEXT_WARNING)); + WSContentTextCenterStart(WebColor(COL_TEXT_WARNING)); + WSContentSend_P(PSTR("

")); + if (WIFI_TESTING == Web.wifiTest) { WSContentSend_P(PSTR(D_TRYING_TO_CONNECT "
%s

"), SettingsText(SET_STASSID1)); } else if (WIFI_TEST_FINISHED_BAD == Web.wifiTest) {