diff --git a/CHANGELOG.md b/CHANGELOG.md index a8022faa8..bba30ffc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ All notable changes to this project will be documented in this file. - ESP32 Ethernet Phy Type information to IDF v3+ - Allow buttons to work in AP normal mode (#12518) - Enable Ping and rule features for any device compiled with more than 1M flash size (#12539) +- ESP32 internal sensor driver id moved from 87 to 127 +- Extended supported sensor driver range to 128 ### Fixed - ESP32-C3 settings layout for configuration backup and restore diff --git a/RELEASENOTES.md b/RELEASENOTES.md index dc46ac674..e5a1c487a 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -116,6 +116,8 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo - ESP32 Ethernet Phy Type information to IDF v3+ - Speed up initial GUI console refresh - Enable UFILESYS, GUI_TRASH_FILE and GUI_EDIT_FILE for any device compiled with more than 1M flash size +- ESP32 internal sensor driver id moved from 87 to 127 +- Extended supported sensor driver range to 128 - Simplified configuration for ir-full and removal of tasmota-ircustom [#12428](https://github.com/arendst/Tasmota/issues/12428) - Refactor platformio [#12442](https://github.com/arendst/Tasmota/issues/12442) - Allow buttons to work in AP normal mode [#12518](https://github.com/arendst/Tasmota/issues/12518) diff --git a/tasmota/settings.h b/tasmota/settings.h index 8635eacf4..7a18fcfb2 100644 --- a/tasmota/settings.h +++ b/tasmota/settings.h @@ -648,8 +648,7 @@ typedef struct { int ex_adc_param3; // 79C Free since 9.0.0.1 uint32_t monitors; // 7A0 - uint32_t sensors[3]; // 7A4 Normal WebSensor, Debug SetSensor - uint32_t displays; // 7B0 + uint32_t sensors[4]; // 7A4 Normal WebSensor, Debug SetSensor uint32_t energy_kWhtotal_time; // 7B4 unsigned long weight_item; // 7B8 Weight of one item in gram * 10 uint16_t ledmask; // 7BC diff --git a/tasmota/tasmota.h b/tasmota/tasmota.h index 8adb7da07..0fc1b662c 100644 --- a/tasmota/tasmota.h +++ b/tasmota/tasmota.h @@ -69,9 +69,8 @@ const uint8_t MAX_DOMOTICZ_SNS_IDX = 12; // Max number of Domoticz sensors in const uint8_t MAX_KNX_GA = 10; // Max number of KNX Group Addresses to read that can be set const uint8_t MAX_KNX_CB = 10; // Max number of KNX Group Addresses to write that can be set const uint8_t MAX_XNRG_DRIVERS = 32; // Max number of allowed energy drivers -const uint8_t MAX_XDSP_DRIVERS = 32; // Max number of allowed display drivers const uint8_t MAX_XDRV_DRIVERS = 96; // Max number of allowed driver drivers -const uint8_t MAX_XSNS_DRIVERS = 96; // Max number of allowed sensor drivers +const uint8_t MAX_XSNS_DRIVERS = 128; // Max number of allowed sensor drivers const uint8_t MAX_I2C_DRIVERS = 96; // Max number of allowed i2c drivers const uint8_t MAX_SHUTTERS = 4; // Max number of shutters const uint8_t MAX_SHUTTER_RELAYS = 8; // Max number of shutter relays