Commit Graph

19292 Commits

Author SHA1 Message Date
s-hadinger 95f7d33c20
LVGL cleaning unused definitions (#20957) 2024-03-14 22:37:55 +01:00
Marcus Better 1a462c986c
[tuyamcu_v2] Fix suppressed dimmer updates from MQTT (#20950)
The driver tried to avoid loops when state updates from the MCU (eg
from physical button press) could be reflected back by Tasmota and
trigger another MCU command, followed by a state update. It did this
by tracking the source of the command in the last_source and
last_command_source variables, suppressing the command if either of
those was SRC_SWITCH.

However this logic is faulty: Since there are two last_source
variables to check, a command might reset one of them, but the other
would still suppress the update. As it turns out, MQTT commands would
only set last_source but not last_command_source. As a result, any
dimmer changes via MQTT would be dropped by the driver and not applied
to the MCU.

Switch functionality (on/off) was still working because those do not
rely on last_command_source, only last_source.

This change removes the loop detection logic altogether for dimmer
updates. This should be safe, because the driver already has the
latest dimmer value in its shadow state, and will not try to re-apply
a current value, thus breaking the loop.

This patch has been tested with several CE-WF500D dimmers which had
this problem.
2024-03-14 17:42:52 +01:00
Theo Arends cc8614da9c Add command ``RfTimeout`` to Sonoff RFBridge (#20937) 2024-03-14 17:21:09 +01:00
Theo Arends 0ac0dda5ba Update changelogs 2024-03-14 16:47:10 +01:00
Theo Arends 5ab7ebee9d Fix compilations 2024-03-14 16:40:22 +01:00
s-hadinger 5e8b116128
LVGL fix descriptors Berry mapping (#20946) 2024-03-13 22:19:42 +01:00
s-hadinger 26a3eacbd6
Berry update windows binary (#20940) 2024-03-12 23:10:07 +01:00
s-hadinger 0518bd6c64
Berry fix walrus with member or index (#20939) 2024-03-12 23:00:52 +01:00
s-hadinger 4d7036db3b
HASPmota solidify server-side (#20938) 2024-03-12 21:18:31 +01:00
s-hadinger f488ef922a
LVGL add `lv.draw_label_dsc` and `lv_bar.get_indic_area` (#20936) 2024-03-12 19:40:40 +01:00
fb-pilot f7ae60a9e4
expand xsns_100_ina3221 to optionaly calculate the charge and / or Energy per chanel (#20915)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update en_GB.h

* Update xsns_100_ina3221.ino

* Add files via upload

* Add files via upload

I hope I have all details now changed ;-))

* Add files via upload

I still found a little detail to beutify ;-)
2024-03-12 08:12:22 +01:00
s-hadinger 8b7cd2de44
HASPmota moved to a distinct library `lv_haspmota` (#20929) 2024-03-11 22:31:44 +01:00
Jason2866 309ac81e22
comment warning (#20907) 2024-03-11 08:22:28 +01:00
gemu 190493c747
fix regression from last commit (#20923) 2024-03-11 08:22:10 +01:00
s-hadinger 79d02e772c
HASPmota cleanup (#20920) 2024-03-10 23:03:40 +01:00
s-hadinger 9e8bd2156b
HASPmota add generic setter and getters for style attributes (#20919) 2024-03-10 22:54:55 +01:00
s-hadinger 268fad6d0d
LVGL remove `textarea` and `spinbox` from binaries (#20916) 2024-03-10 20:52:16 +01:00
s-hadinger 8ff9fffa0a
HASPmota use endswith (#20914) 2024-03-10 19:14:23 +01:00
s-hadinger bc9fd3cd92
Fix typo in CHANGELOG 2024-03-10 18:03:02 +01:00
Jason2866 2cc87b086b
latest Arduinon 3.0.0. needs HWCDC (#20905) 2024-03-10 15:20:43 +01:00
s-hadinger bb07ded475
Berry add `string.starstwith`, `string.endswith` and `%q` format (#20909)
* Berry add `string.starstwith`, `string.endswith` and `%q` format

* Fix typo

---------

Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
2024-03-10 14:31:15 +01:00
Jason2866 224a9fb717
Fix compile for upcoming Arduino Core 2.0.15 (#20908)
* Fix compile for Arduino Core > 2.0.14
* missing include `esp_arduino_version.h`
2024-03-10 14:08:29 +01:00
Theo Arends 14f976b8a4 Update xdrv_122_file_json_settings_demo.ino 2024-03-10 12:13:13 +01:00
Theo Arends e77a5f57ff Update changelogs 2024-03-10 12:08:30 +01:00
Theo Arends 8231a0429c Fix JSON Settings save 2024-03-10 12:04:57 +01:00
s-hadinger 3429ebd359
LVGL fix montserrat-10 and icons-10 (#20901) 2024-03-09 22:09:41 +01:00
s-hadinger 16afaf3c59
LVGL improved readability of montserrat-10 (#20900) 2024-03-09 21:15:30 +01:00
Theo Arends 6d82997fde Update changelogs 2024-03-09 13:32:53 +01:00
s-hadinger 93e27654e6
HASPmota improve arc and img (#20894) 2024-03-09 09:21:37 +01:00
gemu 99f4774e14
core3 fixes (#20895) 2024-03-09 09:19:04 +01:00
Jason2866 2544cf0305
Update esptool.py (#20890)
* Tasmota esptool.py  v4.7.1
* install only one esptool version
2024-03-07 14:46:22 +01:00
s-hadinger 9b2720c64d
HASPmota fix widgets line, btnmatrix, qrcode, bar, checkbox (#20881) 2024-03-06 09:20:04 +01:00
s-hadinger 804ee37098
Haspmota optim fonts (#20880)
* LVGL optimize fonts and add icons

* changelog
2024-03-05 23:09:53 +01:00
Marcus Better 47ae5bc9c8
[tuyamcu_v2] Send updates unconditionally (#20868)
Remove the logic that inhibits the sending of updates to the MCU until
the DP's state has been observed at least once in a status report from
the MCU. This logic was intended to ensure that a DP is not updated
with its current value, which reportedly crashes some very broken
devices.

However, other devices like the Feit DIM/WIFI dimmers do not reliably
report DPs that haven't been changed. So the required status report
would never arrive, resulting in the inability to control these
devices remotely, at least until their state had been changed by a
manual button press, something that is not always practical as it
requires physical device access and needs to be done after every
restart.

Removing this logic allows Tasmota to control the device state.
2024-03-04 13:23:12 +01:00
Marcus Better bb790efefd
[Tuya v2] Remove unused variable (#20869) 2024-03-04 13:22:35 +01:00
Marcus Better ee6863ffd9
Heartbeat every 15s as documented (#20867) 2024-03-04 13:21:41 +01:00
s-hadinger d4720d9378
LVGL remove embedded typicons font (#20872) 2024-03-04 13:04:11 +01:00
Theo Arends 24372207de Update changelogs
- Elevate some messages
2024-03-04 11:58:46 +01:00
Ryan Castellucci 10fff01c80
add failsafe for compiled in tls fingerprints (#20865) 2024-03-04 08:52:47 +01:00
s-hadinger 29a8f82421
HASPmota set Tasmota logo (#20860) 2024-03-03 22:06:59 +01:00
s-hadinger 9759cca4f4
HASPmota support for led (#20857) 2024-03-03 18:39:40 +01:00
s-hadinger 174caf2251
HASPmota fix chart range (#20856) 2024-03-03 17:48:12 +01:00
Theo Arends 9c4dfd28ef Add command `LoRaCommand` 2024-03-03 16:55:02 +01:00
s-hadinger 27ccf0490b
HASPmota support for spangroup (styled text) (#20852) 2024-03-03 10:53:21 +01:00
s-hadinger 6a35795178
Matter save fabrics more robust (#20847) 2024-03-02 08:32:10 +01:00
s-hadinger b06c310305
Berry update Windows binary (#20845) 2024-03-01 19:37:45 +01:00
Theo Arends d394eef7c8 Fix LoRa binary send 2024-03-01 18:07:10 +01:00
Theo Arends 715ca102c7 update changelogs 2024-03-01 16:52:28 +01:00
s-hadinger 54b1a94379
Drop support for old (insecure) fingerprint format (#20842) 2024-03-01 12:24:48 +01:00
Theo Arends 3162282f91 Update changelogs 2024-03-01 10:23:51 +01:00