Commit Graph

317 Commits

Author SHA1 Message Date
Theo Arends
a922d6609f Fix ESP32-P4 unique MQTT Client based on hosted MCU MAC address 2025-12-15 12:37:12 +01:00
SteWers
58e608b383
Update BLE MI and TRV (#24188)
- Changed RSSI display format to 'xx% (-yy dBm)' in EQ3 TRV and MI BLE sensor WebUI
- Show BLE data in WebUI only when BLE is enabled
- Disable BLE when device is in boot loop
2025-12-06 11:44:37 +01:00
Jason2866
3eb6bf6c8e
Add initial c5 support (#23804) 2025-08-20 21:51:23 +02:00
Theo Arends
220c8dca56 Change Hosted MCU code to driver 2025-07-27 15:36:23 +02:00
Theo Arends
fee8198e64 Unify HostedOTA with Upgrade experience 2025-07-20 12:51:50 +02:00
Theo Arends
4efc2d6ce6 Add ESP32 switch to safeboot on 10 fast_reboots 2025-07-12 23:20:09 +02:00
Jason2866
9e25fc0f30
basic P4 support (#23663) 2025-07-10 16:47:30 +02:00
Theo Arends
7fb8654c6c Add Support for LoRaWan Rx1 and Rx2 profiles (#23394) 2025-05-13 16:53:02 +02:00
Theo Arends
f660ba7e04 Add function SleepSkip(<millis> to handle imminent interrupt outside interrupt handler 2025-05-11 17:32:55 +02:00
s-hadinger
ff5b4956c8
Berry 'tasmota.defer()' (#22976) 2025-02-09 17:56:38 +01:00
anishsane
5ac1fdb8fe
Added "cam":1 in the discovery message, so that we can create a home assistant camera (#22818)
* Added "cam":1 in the discovery message, so that we can create a home assistant camera.

* Update tasmota/tasmota_xdrv_driver/xdrv_12_discovery.ino

Co-authored-by: Erik Kunze <eku@users.noreply.github.com>

* Rearrange the newly added field by size, for better packing.

---------

Co-authored-by: Erik Kunze <eku@users.noreply.github.com>
2025-01-16 16:40:37 +01:00
Theo Arends
90e0595b7f Change ESP32 disable PSRAM check (and on restart some relay toggles) with #define DISABLE_PSRAMCHECK (#21266) 2024-12-15 17:36:37 +01:00
Jason2866
099c68678a
prepare WPA Enterprise compile (#22497)
* prep for WPA eap
2024-11-17 13:15:36 +01:00
Theo Arends
5de16c1cca Add settingsminimum 2024-11-16 15:02:01 +01:00
Theo Arends
789c990c19 Fix ESP8266 I2C 2024-10-31 10:41:18 +01:00
s-hadinger
b89909991c
i2c_enabled refactored as array (#22387) 2024-10-30 22:23:13 +01:00
Theo Arends
e14f014c96 Final fix. 2024-10-28 12:18:42 +01:00
Theo Arends
e731738385 Fix safeboot compilation (#22367) 2024-10-28 12:03:27 +01:00
Theo Arends
4f2c1f3499 Fix Ethernet on -DFRAMEWORK_ARDUINO_ITEAD framework regression from v14.3.0 (#22367) 2024-10-28 11:51:27 +01:00
Theo Arends
8e7c7c3af6 Final fix ethernet malfunction on idf5.3 2024-10-10 12:30:51 +02:00
Theo Arends
f8fbe15300 Fix ESP32 Ethernet using EthClockMode 3 (#22248) 2024-10-09 17:31:33 +02:00
Theo Arends
9238ee73d6 Add ESP8266 experimental support for second I2C bus 2024-09-19 14:47:18 +02:00
Theo Arends
09b2670c45 Add command `Backlog3` to execute commands without response but rule processing (#21740) 2024-07-08 15:53:15 +02:00
Jason2866
7e8bcd896a
include SD_MMC.h only when supported (#21611) 2024-06-11 13:25:47 +02:00
Theo Arends
a4c7add8df Prep ESP32 SPI bus 2 support 2024-05-21 15:58:16 +02:00
s-hadinger
2865630309
Prepare for ESP32 WDT (#21383)
* Prepare for ESP32 WDT

* make `sleep()` reset WDT
2024-05-12 21:12:08 +02:00
s-hadinger
e6e15a214f
Seriallog set to SERIAL_LOG_LEVEL at boot (#21363)
* Seriallog set to `SERIAL_LOG_LEVEL` at boot

* Ensure seriallog has at least LOG_LEVEL_INFO at boot
2024-05-05 21:08:24 +02:00
Theo Arends
c41f18a9b6 Fix calloc allignment 2024-05-05 18:26:21 +02:00
Theo Arends
53073b374d Fix initial default settings 2024-05-05 18:21:03 +02:00
Jason2866
3be5f630e1
fix s2cdc serial console (#21344) 2024-05-04 15:14:51 +02:00
Jason2866
117cee9e6e
Update esp32 platform to 2024.04.14 (#21299)
* use new HWCDC Arduino code
2024-04-30 17:58:30 +02:00
s-hadinger
c4431eb6fe
Fixed IPv6 support in safeboot (#21233) 2024-04-20 22:15:54 +02:00
Theo Arends
cb0e2938e5 Start clean-up code 2024-04-15 15:12:17 +02:00
Theo Arends
1fe18cf7b6 Fix Core3 ESP32S2 compile 2024-04-15 13:00:09 +02:00
Theo Arends
5cb3ea2114 Update changelogs 2024-04-12 16:01:00 +02:00
Christian Baars
1721de0b76
use new API for check of USB cable connection (#21135) 2024-04-10 11:31:18 +02:00
s-hadinger
541f3630a1
Wifi provide Mac Address on Core3 (#21117) 2024-04-07 10:55:53 +02:00
s-hadinger
2128dfbade
Refactored Wifi for ESP32 to allow for Core3 (#21106)
* Refactored Wifi for ESP32 to allow for Core3

* Fix case in include

* Grrr

* Fix compilation

* Fix Ethernet IPv6

* Fix wrong hostname due to mac address unknown at start
2024-04-05 23:44:21 +02:00
Theo Arends
ed7909f23f Removed unused #define MQTT_DATA_STRING support 2024-04-04 17:03:08 +02: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
Jason2866
2cc87b086b
latest Arduinon 3.0.0. needs HWCDC (#20905) 2024-03-10 15:20:43 +01:00
Theo Arends
3bbc33f554 Add support for Github SED inserted SHA_SHORT 2024-02-29 13:03:41 +01:00
Theo Arends
bfd44d06f9 Refactor GPIO Viewer 2024-01-29 17:16:38 +01:00
Theo Arends
1ffbbc914d Refactor backlog from LinkedList to TasmotaLList 2024-01-21 22:07:49 +01:00
Theo Arends
95f76d623f Changed command `TimedPower` refactored from String to LList 2024-01-21 14:29:44 +01:00
Theo Arends
9608b7513a Refactor backlog by removing some str copies 2024-01-20 22:45:24 +01:00
Theo Arends
05014d48cf Refactor backlog from String to char 2024-01-20 17:18:03 +01:00
s-hadinger
6c3f70589a
Core3 reset GPIOs 16/17 when PSRAM is not used (#20547)
* Core3 reset GPIOs 16/17 when PSRAM is not used

* clean
2024-01-19 23:19:56 +01:00
Theo Arends
c9d0106007 Removed max number of 30 backlog entries 2024-01-18 16:32:28 +01:00
Theo Arends
789fd1e055 Add command `TimedPower`
Add command ``TimedPower<index> <milliseconds>[,ON|OFF|TOGGLE|BLINK]`` executes ``Power<index> [ON|OFF|TOGGLE|BLINK] `` and after <millisecond> executes ``Power<index> [OFF|ON|TOGGLE|OFF]``
2024-01-15 23:58:33 +01:00