Commit Graph

8902 Commits

Author SHA1 Message Date
gemu aad917d060
Email32 more debug (#21010)
* more debug on esp32 mail

* Update xdrv_01_2_webserver_esp32_mail.ino
2024-03-22 08:09:16 +01:00
s-hadinger 3c70e63af8
LVGL library from v9.0.0 to v9.1.0 (#21008) 2024-03-21 18:47:41 +01:00
gemu a38e88422f
fix google char memory leak (#20995) 2024-03-21 15:11:40 +01:00
Theo Arends c18ed34685 Fix Lora watchdog
- Update file JSON settings demo
2024-03-20 18:18:31 +01:00
Christian Baars 46fae91e10
fix BTHome, prep BLE5 (#20989) 2024-03-20 11:22:35 +01:00
s-hadinger 9c34707401
Zigbee added for attributes of type `uint48` used by energy monitoring (#20992) 2024-03-19 22:21:10 +01:00
Theo Arends f18bbae23a Bump version v13.4.0.3 2024-03-18 11:11:12 +01:00
Frank Werner 70bce974b2
Add MCP23S08 support (#20971) 2024-03-18 10:18:14 +01:00
s-hadinger 130c3f83f1
LVGL add helper functions (#20968) 2024-03-16 23:50:03 +01:00
bovirus 899e637bda
Update Italian language (#20956) 2024-03-16 12:12:32 +01:00
fb-pilot 73a52945c2
Add files via upload (#20959) 2024-03-16 12:12:18 +01:00
gemu ca17be0e0b
fix regression (#20962) 2024-03-16 12:11:48 +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 5ab7ebee9d Fix compilations 2024-03-14 16:40:22 +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
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
Jason2866 2cc87b086b
latest Arduinon 3.0.0. needs HWCDC (#20905) 2024-03-10 15:20:43 +01:00
Theo Arends 14f976b8a4 Update xdrv_122_file_json_settings_demo.ino 2024-03-10 12:13:13 +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
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
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
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 9bb8d6e1ff Add hard fought spaces around image name 2024-03-01 10:15:37 +01:00
Theo Arends adfbf6508a Remove CAD from SX127X to fix intermittent reception 2024-02-29 17:23:37 +01:00
Theo Arends ce419cce81 Add LoRa to ESP8266 2024-02-29 17:12:08 +01:00
Theo Arends 89aa392a46 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2024-02-29 13:36:10 +01:00
Theo Arends daa24af6f6 Bump version to v13.4.0.2 2024-02-29 13:36:08 +01:00
Norbert Richter 9026b95f45
Prevent shutter MQTT broadcast with activated ShutterLock (#20827) 2024-02-29 13:16:33 +01:00
Theo Arends 3bbc33f554 Add support for Github SED inserted SHA_SHORT 2024-02-29 13:03:41 +01:00
s-hadinger a2bb0afea2
IR support data larger than 64 bits (#20831) 2024-02-28 22:42:29 +01:00
Theo Arends 24b59376bb Fix LoRa Config 2024-02-27 17:09:50 +01:00
Theo Arends 77cba87994 Update changelogs 2024-02-27 14:16:13 +01:00
s-hadinger a4397b26b8
HASPmota PSRAM memory leak (#20818) 2024-02-26 23:46:07 +01:00
Bastian Urschel bf91af0c07
add support for ams5915 and ams6915 temerature and pressure sensors (#20814)
* add support for ams5915 and ams6915 temerature and pressure sensors

* improved function namings

* optimized detection of sensor

* set verbosity level to debug

* minor code cleanings

* added seconds-counter to minimize i2c bus load, minor code cleanups

* add meas_valid in sensor struct to differentiate between sensor present (at tasmota boot) and measurement valid (if sensor was reattached) at runtime

* removed global struct and sensor_present, introduced dynamic memory allocation if sensor is present at startup, minor code changes

* fixes missing initialisation of variable

* corrected the amount of used memory if compiled with AMSX915 support

* Update my_user_config.h

disable AMSx915 by default

---------

Co-authored-by: baschdello <urschelb@rhrk.uni-kl.de>
Co-authored-by: Bastian <bastianurschel@gmail.com>
2024-02-26 23:04:25 +01:00
Theo Arends 8f1cb3431f Fix LoRa SX1262 user GPIO selection 2024-02-26 22:25:59 +01:00
Theo Arends d61c96a485 Add command LoRaConfig 2024-02-26 17:31:24 +01:00
s-hadinger 55be1866ad
Berry add explicit error log when memory allocation fails (#20807) 2024-02-25 21:17:08 +01:00
Theo Arends 389bf124bf Update comments 2024-02-25 17:58:38 +01:00
Theo Arends c9c1eee302 Add SX127x lora support 2024-02-25 17:03:46 +01:00
Theo Arends b218f6bff1 Allow lora on ESP8266 2024-02-25 14:29:56 +01:00
Theo Arends 9aff378ef8 Update LoRaSend 2024-02-24 18:25:40 +01:00
Artur Nowak 30dd5e6a55
Fix invalid constant description (#20796) 2024-02-24 15:27:58 +01:00
gemu 9608bc5799
Fix software serial on RISCV cpus. (#20793)
* fix software serial for riscv

* fix softwareserial on riscv
2024-02-24 09:45:13 +01:00
stefanbode ae01d4ccd5
Support for 3 pulse relay shutters OPEN/CLOSE/STOP (#20758)
* new option on dedicated STOP relay.

* added new stoprelay shutter

* fix

* new option stoprelay

* fix
2024-02-23 22:54:39 +01:00
Theo Arends 90b3f0f62b Add LoRa demo using LilyGo T3S3 on 868MHz (#17790) 2024-02-23 18:25:13 +01:00
Theo Arends d258b9a758 Prep LoRa 2 2024-02-23 16:20:09 +01:00
Theo Arends d4980b9957 Prep SPI LoRa 2024-02-23 14:58:39 +01:00
bovirus 06d7d3ba74
Update Italian language (#20769) 2024-02-21 09:48:50 +01:00
Jason2866 af7f2a02d1
"Hitzeindex" 2024-02-19 14:38:39 +01:00
Theo Arends 9a5217bf90 Add heatindex to BMP driver (#4771) 2024-02-19 14:17:40 +01:00
SteWers 5f07afab1b
[EQ3-TRV] Fix label `Valve Position` (#20757) 2024-02-19 11:29:14 +01:00
Theo Arends fb003e006e Add Show calculated heat index if temperature and humidity is available with ``#define USE_HEAT_INDEX`` (#4771) 2024-02-18 18:00:41 +01:00
Felipe Martínez d77cf7d2f0
Support LWT messages when using TASMESH (#20392)
* Send LWTs when nodes come online and offline

* Use string macro

* Add a TASMESH_HEARTBEAT config

* Add flags to config file

* Fix missing break in case

* Rename heartbeat feature define

* Comment out tasmesh settings

* Detect online peers on all packets, not just heartbeats
2024-02-18 15:28:00 +01:00
Theo Arends d8d1b1d131 Add QMC5883l check for overflow and scale reading (#20643) 2024-02-18 15:24:21 +01:00
stefanbode c7894181b7
fix issue on inverted shutters with commands comming with shutterposition (#20752)
* fix INVERTED bug

fix shutterposition xxx commands do not work on inverted shutter

* fix INVERTED bug

* fix INVERTED bug

shutterposition UP/DOWN/... commands did not work as expected on inverted shutter
2024-02-18 12:36:03 +01:00
Norbert Richter 2068879c23
Update NeoPool webUI pH alarms (#20743) 2024-02-17 15:23:29 +01:00
Theo Arends 1abaf146b5 Fix ESP32 PWM activity on unconfigured PWM GPIOs (#20732) 2024-02-17 15:19:12 +01:00
Theo Arends 0faef8e4dd Fix PWM channels after restart (#20732) 2024-02-16 18:57:03 +01:00
s-hadinger d3093a13c2
HASPmota more attributes (#20744) 2024-02-16 17:23:24 +01:00
Fulvio Spelta c93d6676b9
Fix SetOption158 publish/suppress ModbusReceived MQTT messages (#20733)
Fixed a bug that let some mqtt messages be published anyway
2024-02-16 15:06:11 +01:00
s-hadinger a51b08b36c
typicons font to LVGL and HASPmota (#20742) 2024-02-16 12:42:11 +01:00
s-hadinger b91f93062a
HASPmota `p<x>b<y>.delete` to delete an object (#20735) 2024-02-15 23:16:12 +01:00
s-hadinger f05cb6d50b
HASPmota fix and improve demo with pixel-perfect fonts (#20734) 2024-02-15 19:46:50 +01:00
s-hadinger 1d1d785f51
LVGL make lv_touch_3_buttons more responsive (#20728)
* LVGL make lv_touch_3_buttons more responsive

* Changed instead of Fixed
2024-02-14 18:26:41 +01:00
Theo Arends bee3b5b66a Bump version v13.4.0.1 2024-02-14 17:57:17 +01:00
Theo Arends 4cb53fef06 Fix ethernet config chk 2024-02-14 17:01:31 +01:00
Theo Arends 080cdb4f0d Add core3 ethernet support on SPI for all ESP32 models 2024-02-14 16:19:51 +01:00
Theo Arends 70a4fbd800 Add command ``SetOption159 1`` to enable counting on both rising and falling edge (#20712) 2024-02-14 11:22:41 +01:00
Theo Arends 00ea2a78d6 Revert "add json value for rules (#20718)"
This reverts commit 04cd8950a3.
2024-02-14 09:20:56 +01:00
Theo Arends 9aa5a6d7fb Fix compilation 2024-02-13 14:54:35 +01:00
Barbudor 04cd8950a3
add json value for rules (#20718) 2024-02-13 13:52:48 +01:00
Theo Arends 71ae3fb231 Prep release v13.4 2024-02-13 12:15:38 +01:00
Theo Arends 88f1e3593a Fix GPIO Viewer 2024-02-13 10:15:12 +01:00
Theo Arends 91237dff5b Fix AXP driver 2024-02-12 22:14:20 +01:00
Theo Arends bddd9a9caf Update AXP192_M5Stack_Core2.be 2024-02-12 21:47:46 +01:00
Theo Arends 280b71eb41 Fix M5Core2 audio when connecting ethernet 2024-02-12 21:25:19 +01:00
s-hadinger 710ed2e42c
Berry option to invert serial (#20707) 2024-02-11 17:27:40 +01:00