diff --git a/CHANGELOG.md b/CHANGELOG.md index b4b30c4e0..864eda1c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,10 @@ All notable changes to this project will be documented in this file. - ESP8266 experimental support for second I2C bus - Berry improve `int64` constructor (#22172) - MQTT warning if trying to connect without TLS on a port that normally uses TLS (#22175) +- Misubishi Electric HVAC Heat/Dry/Cool ISEE operation mode (#22216) +- Misubishi Electric HVAC Bridge to HomeBridge/Homekit locally (#22236) +- Misubishi Electric HVAC Air Direction Control (#22241) +- Misubishi Electric HVAC prohibit function (#22269) ### Changed - Refactored I2C drivers HTU21, BH1750, SHT3x, iAQ and HYT diff --git a/RELEASENOTES.md b/RELEASENOTES.md index ec8df8087..10e2f87c2 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -134,6 +134,10 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm - Support nexus protocol and calculation of separation limit to rc-switch library [#21886](https://github.com/arendst/Tasmota/issues/21886) - KNX additional KnxTx functions and define KNX_USE_DPT9 [#22071](https://github.com/arendst/Tasmota/issues/22071) - SML multi TRX line [#22056](https://github.com/arendst/Tasmota/issues/22056) +- Misubishi Electric HVAC Heat/Dry/Cool ISEE operation mode [#22216](https://github.com/arendst/Tasmota/issues/22216) +- Misubishi Electric HVAC Bridge to HomeBridge/Homekit locally [#22236](https://github.com/arendst/Tasmota/issues/22236) +- Misubishi Electric HVAC Air Direction Control [#22241](https://github.com/arendst/Tasmota/issues/22241) +- Misubishi Electric HVAC prohibit function [#22269](https://github.com/arendst/Tasmota/issues/22269) - Zigbee Koenkk firmware 20240710 for Sonoff Zigbee ZBPro [#22076](https://github.com/arendst/Tasmota/issues/22076) - Berry Zigbee improvements to prepare Matter [#22083](https://github.com/arendst/Tasmota/issues/22083) - Berry virtual Energy driver [#22134](https://github.com/arendst/Tasmota/issues/22134) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_75_dali.ino b/tasmota/tasmota_xdrv_driver/xdrv_75_dali.ino index da1fab749..f59478848 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_75_dali.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_75_dali.ino @@ -19,6 +19,7 @@ -------------------------------------------------------------------------------------------- Version yyyymmdd Action Description -------------------------------------------------------------------------------------------- + 0.1.0.4 20241013 update - Fix intermittent bad send timing 0.1.0.3 20241010 update - Change DaliDimmer range from 0..254 to 0..100 - Add command DaliWeb 0|1 to enable persistent Web light controls 0.1.0.2 20241008 update - Better receive error detection @@ -148,9 +149,7 @@ void DaliSendDataOnce(uint16_t send_dali_data) { bool pin_value = bit_value ? LOW : HIGH; // Invert bit digitalWrite(Dali->pin_tx, (pin_value == DALI_OUT_INVERT) ? LOW : HIGH); wait += Dali->bit_time; // Auto roll-over - while (ESP.getCycleCount() < wait) { - optimistic_yield(1); - } + while (ESP.getCycleCount() < wait); } } @@ -169,8 +168,10 @@ void DaliSendData(uint8_t firstByte, uint8_t secondByte) { DaliDisableRxInterrupt(); delay(3); // Settling time between forward and backward frame DaliSendDataOnce(send_dali_data); // Takes 14.5 ms - delay(14); // As used by Busch-Jaeger - DaliSendDataOnce(send_dali_data); // Takes 14.5 ms + if (DALI_BROADCAST_DP == firstByte) { + delay(14); // As used by Busch-Jaeger and suggested by DALI protocol (> 9.17 ms) + DaliSendDataOnce(send_dali_data); // Takes 14.7 ms + } delay(3); // Block response DaliEnableRxInterrupt(); }