mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Merge branch 'development' of https://github.com/arendst/Tasmota into development
This commit is contained in:
commit
89aa392a46
@ -35,6 +35,7 @@ All notable changes to this project will be documented in this file.
|
||||
- HASPmota fix and improve demo with pixel-perfect fonts (#20734)
|
||||
- NeoPool webUI pH alarms (4 & 5) completed (#20743)
|
||||
- Matter reduce memory usage when reading with wildcards (#20809)
|
||||
- Prevent shutter MQTT broadcast with activated ShutterLock
|
||||
|
||||
### Fixed
|
||||
- ESP32 PWM activity on unconfigured PWM GPIOs (#20732)
|
||||
|
@ -24,7 +24,7 @@
|
||||
"frameworks": [
|
||||
"arduino"
|
||||
],
|
||||
"name": "Espressif Generic ESP32 >= 4M Flash, Tasmota 2880k Code/OTA, 320k FS",
|
||||
"name": "Espressif Generic ESP32-solo1 >= 4M Flash, Tasmota 2880k Code/OTA, 320k FS",
|
||||
"upload": {
|
||||
"arduino": {
|
||||
"flash_extra_images": [
|
||||
@ -43,6 +43,6 @@
|
||||
"download": {
|
||||
"speed": 230400
|
||||
},
|
||||
"url": "https://en.wikipedia.org/wiki/ESP32",
|
||||
"url": "https://www.espressif.com/sites/default/files/documentation/esp32-solo-1_datasheet_en.pdf",
|
||||
"vendor": "Espressif"
|
||||
}
|
||||
|
@ -294,7 +294,7 @@ bool ShutterButtonHandlerMulti(void)
|
||||
|
||||
// reset button to default
|
||||
Button.press_counter[button_index] = 0;
|
||||
|
||||
|
||||
CmndShutterPosition();
|
||||
}
|
||||
|
||||
@ -303,7 +303,7 @@ bool ShutterButtonHandlerMulti(void)
|
||||
char scommand[CMDSZ];
|
||||
char stopic[TOPSZ];
|
||||
for (uint32_t i = 0; i < MAX_SHUTTERS_ESP32; i++) {
|
||||
if ((i==shutter_index) || (ShutterSettings.shutter_button[button_index].mqtt_all)) {
|
||||
if (((i==shutter_index) || (ShutterSettings.shutter_button[button_index].mqtt_all)) && 0 == (ShutterSettings.shutter_options[i] & 2) ) {
|
||||
snprintf_P(scommand, sizeof(scommand),PSTR("ShutterPosition%d"), i+1);
|
||||
GetGroupTopic_P(stopic, scommand, SET_MQTT_GRP_TOPIC);
|
||||
Response_P("%d", position);
|
||||
@ -318,7 +318,7 @@ bool ShutterButtonHandlerMulti(void)
|
||||
ResponseAppend_P(JSON_SHUTTER_BUTTON, shutter_index+1, Shutter[shutter_index].button_simu_pressed ? 0 : button_index+1, button_press_counter);
|
||||
ResponseJsonEnd();
|
||||
MqttPublishPrefixTopicRulesProcess_P(RESULT_OR_STAT, PSTR(D_PRFX_SHUTTER));
|
||||
|
||||
|
||||
// reset simu pressed record
|
||||
Shutter[shutter_index].button_simu_pressed = 0;
|
||||
|
||||
|
@ -1092,7 +1092,7 @@ bool ShutterButtonHandler(void)
|
||||
char scommand[CMDSZ];
|
||||
char stopic[TOPSZ];
|
||||
for (uint32_t i = 0; i < MAX_SHUTTERS; i++) {
|
||||
if ((i==shutter_index) || (Settings->shutter_button[button_index] & (0x01<<30))) {
|
||||
if ( ((i==shutter_index) || (Settings->shutter_button[button_index] & (0x01<<30))) && 0 == (Settings->shutter_options[i] & 2) ) {
|
||||
snprintf_P(scommand, sizeof(scommand),PSTR("ShutterPosition%d"), i+1);
|
||||
GetGroupTopic_P(stopic, scommand, SET_MQTT_GRP_TOPIC);
|
||||
Response_P("%d", position);
|
||||
|
Loading…
x
Reference in New Issue
Block a user