mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Fix Domoticz re-subscribe on MQTT reconnect. Regression from v13.4.0.3 (#21281)
This commit is contained in:
parent
f602470aeb
commit
6ba59385d4
@ -13,9 +13,10 @@ All notable changes to this project will be documented in this file.
|
||||
- ESP32 compiler option from `target-align` to `no-target-align` (#21407)
|
||||
|
||||
### Fixed
|
||||
- Domoticz re-subscribe on MQTT reconnect. Regression from v13.4.0.3 (#21281)
|
||||
|
||||
### Removed
|
||||
- Support of old insecure fingerprint algorithm - deprecated since v8.4.0 (#21417)
|
||||
- Support of old insecure fingerprint algorithm. Deprecated since v8.4.0 (#21417)
|
||||
|
||||
## [Released]
|
||||
|
||||
|
@ -128,6 +128,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
|
||||
- ESP32 compiler option from `target-align` to `no-target-align` [#21407](https://github.com/arendst/Tasmota/issues/21407)
|
||||
|
||||
### Fixed
|
||||
- Domoticz re-subscribe on MQTT reconnect. Regression from v13.4.0.3 [#21281](https://github.com/arendst/Tasmota/issues/21281)
|
||||
|
||||
### Removed
|
||||
- Support of old insecure fingerprint algorithm - deprecated since v8.4.0 [#21417](https://github.com/arendst/Tasmota/issues/21417)
|
||||
- Support of old insecure fingerprint algorithm. Deprecated since v8.4.0 [#21417](https://github.com/arendst/Tasmota/issues/21417)
|
||||
|
@ -232,7 +232,8 @@ void DomoticzMqttSubscribe(void) {
|
||||
Domoticz->subscribe = false;
|
||||
MqttUnsubscribe(stopic);
|
||||
}
|
||||
if (!Domoticz->subscribe && any_relay) {
|
||||
// if (!Domoticz->subscribe && any_relay) { // Fails on MQTT server reconnect
|
||||
if (any_relay) {
|
||||
Domoticz->subscribe = true;
|
||||
MqttSubscribe(stopic);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user