Commit Graph

458 Commits

Author SHA1 Message Date
s-hadinger
599526a90c
`Publish3` to send binary data encoded as Hex, disabled in safeboot (#21345) 2024-05-04 15:26:07 +02:00
Marius Bezuidenhout
545cc27ca8
Fixed HexToBytes function. Added Publish3 command. (#21329) 2024-05-04 14:42:35 +02:00
Jason2866
9168f7b198
More shrink of safeboot (#21333)
* remove crash recorder from safeboot

* small refactor

* safeboot more shrink
2024-05-03 15:01:31 +02:00
Jason2866
9b8cd42e5f
remove crash recorder from safeboot (#21332)
* remove crash recorder from safeboot

* small refactor
2024-05-03 14:47:14 +02:00
s-hadinger
041540c80c
Changed internal macro APP_SLEEP to TASMOTA_SLEEP to specify default sleep in ms (#21324) 2024-05-03 09:03:45 +02:00
s-hadinger
18bdf07903
Reduced safeboot size by 2.9KB (#21322)
* Reduced safeboot size by 2.9KB

* remove leftover
2024-05-02 23:09:56 +02:00
Jason2866
fb78c3a796
Fix PIO Inspect
Solo1 framework does not support PSRAM
2024-05-02 13:31:34 +02:00
sfromis
311a9f18e6
Wrong feature bit for USE_SPL06_007 (#21286)
Obvious "typo" in setting the feature bit for this recently added sensor. Already mentioned in https://github.com/arendst/Tasmota/pull/21185#issuecomment-2071122611
2024-04-27 16:30:57 +02:00
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
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
s-hadinger
9045a7da83
IP stack compatible with new Core3 IPv6 implementation (#20509)
* IP stack compatible with new Core3 IPv6 implementation

* Fix compilation

* Forece CI
2024-01-15 21:05:40 +01:00
Theo Arends
c2d6bbf2c1 Code admin 2024-01-10 11:13:19 +01:00
Theo Arends
0d300aebff Update GPIOViewer
- Add ESP8266 PWM state logging
- Add ADC state functions
2024-01-07 15:10:19 +01:00
Theo Arends
13a9c3b5b2 Add delays to wifi init code
Add delays to wifi init code to fix some edge power cases.
2023-12-27 17:29:03 +01:00
Theo Arends
e5abd47c86 More syslog explaining 2023-12-21 14:49:37 +01:00
Theo Arends
2f824b1976 Document different syslog layouts 2023-12-21 14:30:49 +01:00
Theo Arends
a445c7f23a Fix syslog server warning
Fix syslog server warning caused by lack of <PRI> field and hostname starting with 'z' (#14689)
2023-12-20 16:00:27 +01:00
Theo Arends
b81eaf5bc8 Support syslog updates every sleep
Support syslog updates every sleep or every second if `#define SYSLOG_UPDATE_SECOND` (#20260)
2023-12-19 12:45:13 +01:00
budulinek
23b4cd08d4
Realtime syslog (#20260)
* Realtime Syslog

* Update tasmota.ino

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2023-12-19 12:29:39 +01:00
stefanbode
f19d15654c
Restart 9 support deepsleep with TIMER based wakeup (#20165)
* Allow restart 9 to use TIMERS for wakeup

* support for restart 9

allow restart 9 to use any defined TIMER to restart a a specific time.
2023-12-05 13:47:53 +01:00
Theo Arends
728f91b602 Update changelogs 2023-12-05 10:07:02 +01:00
Theo Arends
14793c2594 Shorten code and add more comments 2023-12-04 11:44:59 +01:00
Theo Arends
7a6cca6d20 Add command `WebCanvas`
Add command ``WebCanvas linear-gradient(#FF0018 7%,#FFA52C,#FFFF41,#008018,#0000F9,#86007D 93%)`` to set GUI canvas
2023-12-03 15:52:44 +01:00
Theo Arends
28c8f8cf47 Fix PowerOnState on ESP32 (#20144) 2023-12-02 17:49:02 +01:00
Theo Arends
b7819bcfac ESP32 show LHBT background if `WebColor2` bit0 is not set. Bit0 is default set using #252525 2023-12-02 16:59:04 +01:00
Theo Arends
ad831418e5 Fix SO51 2023-11-24 11:36:20 +01:00
s-hadinger
1c60527099
Berry scale_int, equivalent of scale_uint for signed integers (#20090) 2023-11-23 11:31:26 +01:00
s-hadinger
1cd13d7f66
Fixed changeUIntScale for linearity when expanding range (#20089) 2023-11-23 10:57:47 +01:00
Theo Arends
74aa056650 Final fix ESP32C3 relay toggle
Final fix ESP32C3 relay toggle on restart (#20030)
2023-11-17 16:17:29 +01:00
Theo Arends
5297bab041 Revert "Final fix ESP32C3 relay toggle"
This reverts commit 4489dba8dd.
2023-11-17 16:06:45 +01:00
Theo Arends
4489dba8dd Final fix ESP32C3 relay toggle
Final fix ESP32C3 relay toggle on restart (#20030)
2023-11-17 15:43:42 +01:00
Theo Arends
b02a66a1b6 Fix ESP32C3 relay toggle on restart
Fix ESP32C3 relay toggle on restart (#20030)
2023-11-17 13:02:19 +01:00
Theo Arends
f0162377e2 Fix ESP32-C3 gpio hold
Fix ESP32-C3 gpio hold on non-relay gpios (#20030)
2023-11-16 10:26:21 +01:00
Theo Arends
c1fa07dd51 Fix ESP32C3 ledlink 2023-11-13 10:54:25 +01:00
Theo Arends
098e29d7e0 Update support_esp32.ino 2023-11-10 12:42:13 +01:00
Theo Arends
ede5e398a6 Refactor hardware specific code 2023-11-10 12:24:20 +01:00
Theo Arends
7febc11b8c Fix C2/C6 exception 2023-11-10 11:20:41 +01:00
Theo Arends
211da12342 Update feature list 2023-11-09 15:32:43 +01:00
Theo Arends
c6ca0ff10f Squeeze some bytes out of it 2023-11-09 14:59:31 +01:00
Theo Arends
9b5945a117 Add feature10 bitmap 2023-11-09 14:25:24 +01:00
Jason2866
361c15d63b
Delete homekit.c (#19923) 2023-11-04 13:05:48 +01:00
s-hadinger
46df036b51
Cosmetic changes (#19920) 2023-11-04 11:46:25 +01:00
Theo Arends
63297ec5c9 Start using constexpr in featurelist
Saves 128 bytes.
2023-11-02 17:44:29 +01:00
Theo Arends
6410e72b6c Add max size 2023-10-30 21:52:58 +01:00
Theo Arends
09f473b734 A future proof solution ;-) 2023-10-30 21:47:49 +01:00
Theo Arends
444f4fcd62 Fix ESP32 32MB program flash size 2023-10-30 15:29:01 +01:00
Theo Arends
0ae793a8d4 Save some bytes 2023-10-21 17:37:31 +02:00
Theo Arends
57860b692d Fix GpioRead (#19810) 2023-10-21 17:20:55 +02:00
s-hadinger
356de1a16a
Add command `GpioRead` (#19814)
* Add command ``GpioRead``

* change output
2023-10-21 15:56:40 +02:00
Theo Arends
b6811b2f4e Prep ESP32 I2C bus2 support 2023-10-19 16:59:53 +02:00
Theo Arends
0984c01828 Update changelogs 2023-10-13 14:50:51 +02:00