Commit Graph

400 Commits

Author SHA1 Message Date
Jason2866
41970f7d62
Disable psram check to avoid "blinking" of GPIO 16/17 at startup (#21282)
* add `DISABLE_PSRAMCHECK`

* remove code before IDF 5

* add no psram env
2024-04-25 20:19:20 +02:00
s-hadinger
466652549a
Fix faulty printing of IPv4 2024-04-25 11:23:27 +02:00
s-hadinger
2a35f325b8
Put back wifi IPv6 workaround (#21274) 2024-04-25 10:28:42 +02:00
s-hadinger
c4431eb6fe
Fixed IPv6 support in safeboot (#21233) 2024-04-20 22:15:54 +02:00
Rai
13cbf26b87
Adds support for SPL06_007 Temperature & Pressure I2C (+10k2 code) (#21185)
* Adds support for SPL06_007 (+10k2 code)

* removes not so used methods.

Removes -2kb

* change doubles to floats

* fixes a name

* change sns idx to 25
2024-04-18 11:20:02 +02:00
s-hadinger
87f5fbd5fd
safeboot: don't publish sensor valies (#21193) 2024-04-15 22:20:28 +02:00
s-hadinger
d9895a0fcb
SSD1351, ST7789 drivers replaced with uDisplay (#21184) 2024-04-15 19:52:57 +02:00
s-hadinger
a006e5fc53
SSH1106 driver replaced with uDisplay (#21183) 2024-04-15 10:57:14 +02:00
s-hadinger
0b4cddff72
SSD1331 driver replaced with uDisplay (#21177) 2024-04-14 18:06:17 +02:00
s-hadinger
05f4011491
SSD1306 driver replaced with uDisplay (#21176) 2024-04-14 16:46:58 +02:00
s-hadinger
ff43dc29b2
ILI9341 driver replaced with uDisplay (#21169) 2024-04-14 10:26:37 +02:00
Theo Arends
d678666ef0 Fix MQTT heatindex calculation 2024-04-08 14:58:31 +02:00
Theo Arends
9cacf2f609 Fix Power off due to overtemp and/ot overload 2024-04-08 12:03:11 +02:00
s-hadinger
541f3630a1
Wifi provide Mac Address on Core3 (#21117) 2024-04-07 10:55:53 +02:00
stefanbode
b9a0ae98df
Bugfix: power0 if power_lock is used (#21102)
* Bug Fix: power_lock with Power0 command

Power0 changed power regardless of the new lock state of power. New implementation respect the LOCK also on global change

* simplify

* readded the all_on filter to power_lock change

readded the all_on to ensure new defined relays always start with power off ass intended.
2024-04-06 17:21:54 +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
Theo Arends
db92a843fc Change Wifi 5 to Wifi 6 2024-04-04 14:59:32 +02:00
Theo Arends
6558414e2b Add PowerLock to status
- Change Power format in status to bitmap
2024-04-03 15:02:11 +02:00
Theo Arends
7c36029ec2 Add command `Wifi 5` to enable 11ax on ESP32 Core3 2024-04-03 14:36:52 +02:00
Theo Arends
fe89774fe0 Bump version v13.4.0.4
- Add command ``PowerLock`` to disable power control of selected outputs (#21081)
2024-04-03 11:47:38 +02:00
Theo Arends
7774ce5ad8 Update TXPowerBasedOnRssi() 2024-03-29 14:30:31 +01:00
Theo Arends
4b44d2fa32 Change ESP32 WiFi phy modes 11n and 11ax represented as HT20, HT40 and HE20 (#19350) 2024-03-29 13:04:44 +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
ce419cce81 Add LoRa to ESP8266 2024-02-29 17:12:08 +01:00
s-hadinger
a2bb0afea2
IR support data larger than 64 bits (#20831) 2024-02-28 22:42:29 +01:00
Theo Arends
77cba87994 Update changelogs 2024-02-27 14:16:13 +01:00
Theo Arends
9a5217bf90 Add heatindex to BMP driver (#4771) 2024-02-19 14:17:40 +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
Theo Arends
1abaf146b5 Fix ESP32 PWM activity on unconfigured PWM GPIOs (#20732) 2024-02-17 15:19:12 +01:00
Theo Arends
080cdb4f0d Add core3 ethernet support on SPI for all ESP32 models 2024-02-14 16:19:51 +01:00
Jason2866
2f32e3c2ee
Fix C2 compile error 2024-02-09 13:53:19 +01:00
Theo Arends
715914bdd0 Add internal support for persistent JSON settings using single file 2024-02-07 22:55:39 +01:00
Fulvio Spelta
ab8676d865
SetOption158 publish/suppress ModbusReceived MQTT messages (#20678) 2024-02-07 15:57:09 +01:00
Andrey Osin
478bd0ce17
Fix Wi-Fi scan results process when scanning fails. (#20631) 2024-02-03 12:35:13 +01:00
Theo Arends
95b03592dc Add ISR logging failsafe 2024-01-30 16:57:45 +01:00
Theo Arends
886b453e69 Fix ESP8266 eFuseMac result 2024-01-28 17:34:15 +01:00
Theo Arends
af9d4cadd8 GPIO Viewer update from 1.0.7 to 1.5.0 2024-01-27 23:58:00 +01:00
Theo Arends
5d06a25915 Add ESP32-C3 support for GPIO11 (#18350) 2024-01-26 12:13:23 +01:00
Theo Arends
10885fe60d Refactored rules `Subscribe` using LList allowing full message size and enabled by default 2024-01-22 16:57:59 +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
Theo Arends
c9d0106007 Removed max number of 30 backlog entries 2024-01-18 16:32:28 +01:00
Theo Arends
0f541a963b Fix TimedPower blink off 2024-01-18 10:38:22 +01:00
Theo Arends
2832ed914b Change command `TimedPower`
Change command ``TimedPower`` from erasing all timers to showing remaining timers
2024-01-17 15:55:25 +01:00
Theo Arends
9d00897cb4 Fix TimedPower using state names 2024-01-16 15:07:23 +01:00
Theo Arends
2c5508ee96 Add TimedPower update before end 2024-01-16 12:40:35 +01:00
Theo Arends
77d54985d0 Tune TimedPower 2024-01-16 11:02:24 +01:00