diff --git a/CHANGELOG.md b/CHANGELOG.md index a03f301f6052..414b4e7e6ac3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,11 @@ All notable changes to this project will be documented in this file. ## [Unreleased] - Development -## [9.2.0.4] +## [9.2.0.5] +### Changed +- ESP32 increase number of relay GPIOs from 8 to 28 + +## [9.2.0.4] 20210204 ### Added - Function ``AddLog`` to provide logging for up to 128 (LOGSZ) characters to save stack space - Commands ``ChannelRemap``, ``MultiPWM``, ``AlexaCTRange``, ``PowerOnFade``, ``PWMCT``, ``WhiteBlend`` and ``VirtualCT`` as synonyms for ``SetOption37, 68, 82, 91, 92, 105`` and ``106`` diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 7f07058ff82a..e3a0cdd7393e 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -56,7 +56,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.2.0.4 +## Changelog v9.2.0.5 ### Added - Command ``CTRange`` to specify the visible CT range the bulb is capable of [#10311](https://github.com/arendst/Tasmota/issues/10311) - Command ``L1MusicSync <0|Off>|<1|On>|<2|Toggle>, 1..10, 1..100>`` to control Sonoff L1 Music Sync mode sensitivity and speed [#10722](https://github.com/arendst/Tasmota/issues/10722) @@ -120,6 +120,7 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota - Force initial default state ``SetOption57 1`` to scan wifi network every 44 minutes for strongest signal [#10395](https://github.com/arendst/Tasmota/issues/10395) - PubSubClient MQTT_SOCKET_TIMEOUT from 15 to 4 seconds - Domoticz fixed 2 decimals resolution by user selectable ``TempRes``, ``HumRes`` and ``PressRes`` resolutions +- ESP32 increase number of relay GPIOs from 8 to 28 ### Fixed - Redesign syslog and mqttlog using log buffer [#10164](https://github.com/arendst/Tasmota/issues/10164) diff --git a/tasmota/tasmota.h b/tasmota/tasmota.h index 77853258bf29..5869e248908d 100644 --- a/tasmota/tasmota.h +++ b/tasmota/tasmota.h @@ -48,9 +48,16 @@ const uint32_t POWER_MASK = 0xffffffffUL; // Power (Relay) full mask * Constants \*********************************************************************************************/ +#ifdef ESP8266 +const uint8_t MAX_RELAYS = 8; // Max number of relays +#endif // ESP8266 +#ifdef ESP32 +const uint8_t MAX_RELAYS = 28; // Max number of relays +#endif // ESP32 + // Changes to the following MAX_ defines will impact settings layout const uint8_t MAX_SWITCHES = 8; // Max number of switches -const uint8_t MAX_RELAYS = 8; // Max number of relays +const uint8_t MAX_SHUTTER_RELAYS = 8; // Max number of shutter relays const uint8_t MAX_INTERLOCKS = 4; // Max number of interlock groups (MAX_RELAYS / 2) const uint8_t MAX_LEDS = 4; // Max number of leds const uint8_t MAX_KEYS = 4; // Max number of keys or buttons diff --git a/tasmota/tasmota_version.h b/tasmota/tasmota_version.h index f0a110311d7c..a4a267a0f9d0 100644 --- a/tasmota/tasmota_version.h +++ b/tasmota/tasmota_version.h @@ -20,6 +20,6 @@ #ifndef _TASMOTA_VERSION_H_ #define _TASMOTA_VERSION_H_ -const uint32_t VERSION = 0x09020004; +const uint32_t VERSION = 0x09020005; #endif // _TASMOTA_VERSION_H_ diff --git a/tasmota/xdrv_01_webserver.ino b/tasmota/xdrv_01_webserver.ino index ed9efb56239b..2d4604128bfa 100644 --- a/tasmota/xdrv_01_webserver.ino +++ b/tasmota/xdrv_01_webserver.ino @@ -1447,8 +1447,8 @@ void HandleTemplateConfiguration(void) for (uint32_t i = 0; i < MAX_GPIO_PIN; i++) { if (!FlashPin(i)) { WSContentSend_P(PSTR("