diff --git a/CHANGELOG.md b/CHANGELOG.md index bc71df150..058b54ef1 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ All notable changes to this project will be documented in this file. - BLE EQ3-TRV code refactoring (#24978) - BLE MI32 display icons instead of data lines. disable by removing `#define USE_SENSOR_ICON` - MiELHVAC accepts `fan_only` as an alias for fan mode in `HVACSetMode` / `HVACSetHAMode` (Home Assistant) (#24992) +- Command `SetOption46 201..255` init wait 1 to 55 seconds instead of 2010 to 2550 msec (#25035) ### Fixed - MiELHVAC Modbus and CC1101 GPIO names shown as `MbsRelay ...` due to a duplicate entry in the GPIO name table (#24992) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index a1d85daf7..4a11dc824 100755 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -130,6 +130,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm ### Breaking Changed ### Changed +- Command `SetOption46 201..255` init wait 1 to 55 seconds instead of 2010 to 2550 msec [#25035](https://github.com/arendst/Tasmota/issues/25035) - MiELHVAC accepts `fan_only` as an alias for fan mode in `HVACSetMode` / `HVACSetHAMode` (Home Assistant) [#24992](https://github.com/arendst/Tasmota/issues/24992) - BLE MI32 display icons instead of data lines. disable by removing `#define USE_SENSOR_ICON` - BLE EQ3-TRV code refactoring [#24978](https://github.com/arendst/Tasmota/issues/24978) diff --git a/tasmota/tasmota_support/support_tasmota.ino b/tasmota/tasmota_support/support_tasmota.ino index 96b71e767..713b18391 100644 --- a/tasmota/tasmota_support/support_tasmota.ino +++ b/tasmota/tasmota_support/support_tasmota.ino @@ -2332,8 +2332,12 @@ void GpioInit(void) } if (Settings->param[P_POWER_ON_DELAY]) { // SetOption46 - Allow Wemos D1 power to stabilize before starting I2C polling for devices powered locally - uint32_t init_delay = Settings->param[P_POWER_ON_DELAY] * 10; - AddLog(LOG_LEVEL_DEBUG, PSTR("INI: SO46 Wait %d msec"), init_delay); + uint32_t init_delay = Settings->param[P_POWER_ON_DELAY] * 10; // 1 .. 200 = 10 .. 2000 msec delay + if (Settings->param[P_POWER_ON_DELAY] > 200) { + init_delay = (Settings->param[P_POWER_ON_DELAY] - 200) * 1000; // 201 .. 255 = 1 .. 55 seconds delay for devices like DALI gear to become ready + } + float fdelay = (float)init_delay * 0.001f; + AddLog(LOG_LEVEL_DEBUG, PSTR("INI: SO46 Wait %3_f sec"), &fdelay); delay(init_delay); }