Commit Graph

8958 Commits

Author SHA1 Message Date
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
Theo Arends 238013ba90 Fix AXP192 register
- Fix AXP192 register use
- Add more delay to fix intermittent FT5206 init failure
2024-02-11 16:32:05 +01:00
Theo Arends 523a28c39f Fix Touch logging 2024-02-09 17:54:47 +01:00
Jason2866 2f32e3c2ee
Fix C2 compile error 2024-02-09 13:53:19 +01:00
Theo Arends 4e7e256892 Add ESP32 Core3 support for SPI ethernet on DM9051, W5500 and KSZ8851 2024-02-08 16:45:28 +01:00
Theo Arends 2f0b1e8edd Update example code 2024-02-08 14:42:58 +01:00
Christian Baars b02de6de6f
add BLE.info() (#20682) 2024-02-08 11:31:48 +01:00
Theo Arends 715914bdd0 Add internal support for persistent JSON settings using single file 2024-02-07 22:55:39 +01:00
Theo Arends 4fb9e10fcf Add SO158 2024-02-07 16:17:11 +01:00
Fulvio Spelta ab8676d865
SetOption158 publish/suppress ModbusReceived MQTT messages (#20678) 2024-02-07 15:57:09 +01:00
Theo Arends b31ff75f3c Revert "Add support for JSON settings file"
This reverts commit 9471a29ad9.
2024-02-07 14:25:38 +01:00
Theo Arends 9471a29ad9 Add support for JSON settings file 2024-02-07 13:10:26 +01:00
Christian Baars 0bc6f82a81
MI32 legacy: use disconnect reason as error code (#20676) 2024-02-07 10:30:30 +01:00
Theo Arends f88a8a6765 Add berry divider 2024-02-05 15:59:37 +01:00
Theo Arends 6cfe979f1b Enable GPIO viewer on ESP32 2024-02-05 15:09:49 +01:00
Theo Arends a408326326 Bump version to v13.3.0.5 2024-02-05 12:24:32 +01:00
s-hadinger ff6be70ce1
LVGL library updated to v9.0.0, some small breaking changes in C, none in HASPmota (#20659)
* LVGL library updated to v9.0.0, some small breaking changes in C, none in HASPmota

* fix compilation

* Move lvgl_berry to LVGL_assets
2024-02-05 12:07:41 +01:00
Theo Arends 4bdf1aafb5 Update xdrv_121_gpioviewer.ino 2024-02-04 16:49:35 +01:00
Theo Arends dec230c19f Update xdrv_121_gpioviewer.ino 2024-02-04 16:31:17 +01:00
Theo Arends 0f0a125cdb Update comments GPIOViewer 2024-02-04 16:19:59 +01:00
Theo Arends d29b3b2871 Tune GPIO Viewer 2024-02-04 12:52:50 +01:00
Theo Arends 92b8bb3c9b Update changelogs 2024-02-03 17:23:07 +01:00
SteWers 55259aa8c5
[Energy] Fix frequency handling (#20626)
* [Energy] Prepare MQTT subscribe

- Prepare energy driver for using MQTT subscribe
- Fix handling of frequency

* MQTT in xnrg

* Revert MQTT
2024-02-03 12:37:57 +01:00
Andrey Osin 478bd0ce17
Fix Wi-Fi scan results process when scanning fails. (#20631) 2024-02-03 12:35:13 +01:00
Mark Fickett 58816aa9a2
Lower the minimum temperature to 10C (50F) and make it pick up user-defined values. (#20628) 2024-02-03 12:34:24 +01:00
Christian Baars a95314ff96
fix build for Core 2 (#20645) 2024-02-02 15:17:45 +01:00
Christian Baars c24c0a53c0
fix compilation with newer Arduino framework (#20641) 2024-02-02 11:09:43 +01:00
sfromis a757447e6d
Update webserver_async.be (#20638) 2024-02-01 14:46:02 +01:00
Christian Baars 083ddad683
add BTHOME (#20625) 2024-01-30 17:50:03 +01:00
Theo Arends 95b03592dc Add ISR logging failsafe 2024-01-30 16:57:45 +01:00
Theo Arends bfd44d06f9 Refactor GPIO Viewer 2024-01-29 17:16:38 +01:00
kubedzero 274f75829e
Fix typos regarding reboots (#20615) 2024-01-29 16:58:15 +01:00
Theo Arends e15e131ca2 Update xdrv_121_gpioviewer.ino 2024-01-28 18:32:34 +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
gemu 04bb28bc20
fix email32 file system (#20603)
* fix file system

* fix email attachments

* Update MB_FS.h
2024-01-27 09:06:41 +01:00
Theo Arends 4bc7b4ec2f Add ESP32 support for DS18x20 on Shelly Plus Add-On (#20580) 2024-01-26 12:26:47 +01:00
Theo Arends 5d06a25915 Add ESP32-C3 support for GPIO11 (#18350) 2024-01-26 12:13:23 +01:00
Theo Arends 758549c4c3 Fix MLX90614 naming (#20592) 2024-01-25 14:29:12 +01:00
Barbudor ab49593f9f
Fix QMC5883 and HLC5883 drivers breaking sensor command (#20585)
* fix breaking sensor command

* fix hmc5883
2024-01-25 08:43:56 +01:00
s-hadinger 559789b4ec
HASPmota support for `min` and `max` attribute in `slider` (#20582) 2024-01-24 23:27:01 +01:00
Theo Arends cce5204177 Refactored rules USE_EXPRESSION and SUPPORT_IF_STATEMENT replacing LinkedList with arrays and enabled by default 2024-01-24 14:33:55 +01:00
SteWers 7f5e79415f
[SML] Fix decimal separator (#20573) 2024-01-24 08:27:54 +01:00
Theo Arends a74200d40d Refactored rules USE_EXPRESSION and SUPPORT_IF_STATEMENT replacing LinkedList with arrays 2024-01-23 23:52:18 +01:00
Theo Arends c6355e02fb Better bailout 2024-01-23 18:23:04 +01:00
Theo Arends dca33c10a3 Fix subscribe same topic, multiple events
And even smaller by unstringifying
2024-01-23 18:17:42 +01:00
Theo Arends a9a3f5638c Fix subscribe rule handling 2024-01-23 12:32:12 +01:00
ouinouin 669fc1ecfa
Create ST7735S_ATOM_S3_diplsay.ini (#20566)
inspired from code given by atom, and M5stick display.ini
tested and working in all rotations.
2024-01-22 19:27:44 +01:00
gemu a915fdec52
modify RA8876 display driver to use internal touch driver (#20562)
* integrate utouch driver

* modify for utouch driver

* touched is now int16
2024-01-22 18:21:58 +01:00
gemu 780940d5d0
Utouch update (#20561)
* toched return int16

* add XPT and more opcodes

* add guesture

* increase code buffer
2024-01-22 18:21:40 +01:00
Theo Arends 85c1413eb1 Bump version v13.3.0.4 2024-01-22 17:03:52 +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
s-hadinger de91133414
Zigbee ``ZbEmulation`` to selectively exclude some devices from Hue/Alexa emulation (#20552) 2024-01-21 11:42:04 +01:00
SteWers 76a7ab5131
[Energy] Decoupled `FREQUENCY` and `Energy->type_dc` (#20549) 2024-01-21 11:37:04 +01:00
Theo Arends 9608b7513a Refactor backlog by removing some str copies 2024-01-20 22:45:24 +01:00
stefanbode 8223777e4f
Improve init behavior (#20548)
Ensure filesystem init is executed after so80 1. The shutter command will check for proper init and if not done will do it.
2024-01-20 17:29:50 +01:00
Theo Arends 05014d48cf Refactor backlog from String to char 2024-01-20 17:18:03 +01:00
SteWers 47384e7057
[SolaxX1] Improve web presentation (#20535)
* [SolaxX1] Improve web presentation

* [SolaxX1] delay
2024-01-20 11:10:40 +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
s-hadinger 1eb1025c18
Berry/Zigbee auto `import zigbee` (#20543) 2024-01-19 13:28:12 +01:00
s-hadinger 860f3857d5
Berry/Zigbee add web hook per device for customized status display (#20542) 2024-01-19 08:24:17 +01:00
s-hadinger 30c3165b6f
Audio for Core3, MP3Stream and Shine (#20540) 2024-01-18 23:35:53 +01:00
Theo Arends 0595130fcf Update my_user_config.h 2024-01-18 16:52:24 +01:00
Theo Arends c9d0106007 Removed max number of 30 backlog entries 2024-01-18 16:32:28 +01:00
Theo Arends db70d9c8cb Fix GPIOViewer exception 3 2024-01-18 15:55:59 +01:00
Theo Arends 0f541a963b Fix TimedPower blink off 2024-01-18 10:38:22 +01:00
gemu 9ccc3f8fda
Universal touch driver (#20492)
* add universal touch

* add universal touch

* add universal touch

* add universal touch

* Update xdrv_10_scripter.ino

* utouch add word address support (gt911)

* optimizations

* add simple resistive touch
2024-01-18 10:23:21 +01:00
bovirus f2bcff346a
Update Italian language (#20526) 2024-01-18 10:23:04 +01:00
Theo Arends f28c9b6ea9 Slicing GUI information 2024-01-17 18:17:46 +01:00
SteWers 9d86ac8816
Rename "Konsolen" to "Werkzeuge" (#20523)
* Rename "Konsolen" to "Tools"

* Rename "Konsolen" to "Werkzeuge"
2024-01-17 17:11:41 +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
Simon Post 12ef60a3df
Modification of convert.py and preprocessor.py to add tabview, list and tileview. Plus fix lv.keyboard enum error (#20513)
* Modification of convert.py and preprocessor.py to add tabview, list and tileview.  Plus fix lv.keyboard enum error

* Amended my_user_config.h per request

---------

Co-authored-by: Simon Post <admin@SimonM3MacbookPro.theposts.me>
2024-01-17 13:24:43 +01:00
stefanbode c705c8f89c
Fixed DIV/0 (#20524) 2024-01-17 10:03:42 +01:00
Theo Arends 5545c82e68 Prep for generic use 2024-01-16 17:52:06 +01:00
Theo Arends 34b98f5527 Make it a smaller slice 2024-01-16 17:07:23 +01:00
Theo Arends c15ad066d0 Sync shutter drivers 2024-01-16 16:40:57 +01:00
SteWers 0ac559bf7f
[Shutter] Fix html table syntax (#20519)
* [Shutter] Fix html table syntax

The html code for the slider was placed in a `<table>` but not fenced with `<tr>` / `<td>` tags. So the browser placed it "randomly" outside of the table.

* [Shutter] revert date
2024-01-16 16:35:19 +01:00
SteWers eac5c69720
[SolaxX1] Adapting to multi column energy design (#20517)
* [SolaxX1] Adapting to multi column energy design

* [SolaxX1] optimize
2024-01-16 16:25:13 +01:00
SteWers 0cd3d3b003
[WebUI] Fix first line seperator (#20518)
The separator (request) flag has to be cleared before starting the output of sensors/drivers to ignore previous outputs. So there will no seperator in front of the list. This only appeared, when `WebTime` is off.
2024-01-16 16:14:40 +01:00
Theo Arends aa2053988a Skip slicing for Berry 2024-01-16 16:02:36 +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
Theo Arends 5e84d57c2a Fix compilation without webserver 2024-01-15 22:08: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
SteWers 4f436cdf73
Remove first separator (#20507) 2024-01-15 18:58:14 +01:00
SteWers ab2439f6c8
Modify shutter driver for GUI sensor separators (#20506) 2024-01-15 18:24:15 +01:00
SteWers f2800dd770
Modify drivers for GUI sensor separators (#20504) 2024-01-15 16:53:34 +01:00
Theo Arends 2c555cf15b Add thin line as sub-separator 2024-01-15 15:51:00 +01:00
Theo Arends 637fac5ae8 Add GUI sensor separators (#20495) 2024-01-15 15:36:59 +01:00
Theo Arends ee4bf86e6a Fix compilation when USE_ADC is not defined (#20498) 2024-01-15 10:34:14 +01:00
s-hadinger 8d83472c01
LVGL option to add `lv.keyboard` extra widget (#20496)
* LVGL option to add `lv.keyboard` extra widget

* Don't include keyboard by default
2024-01-14 22:37:07 +01:00
Christian Baars d5b4e96283
Berry example - FTP server (#20494) 2024-01-14 22:30:56 +01:00
SteWers f14ee6415b
[EQ3-TRV] View some values in WebUI (#20487)
* [EQ3-TRV] View some values in WebUI

- View some values in WebUI
- code cleanup

* [EQ3-TRV] Remove lines
2024-01-14 17:39:15 +01:00
Christian Baars be54104676
add remote_addr and _port to info() (#20485) 2024-01-14 11:31:04 +01:00
Theo Arends 25cadcbbdc Prefer using default GPIOViewer board repository 2024-01-13 22:13:27 +01:00
Theo Arends 1854b9a069 Free some more bytes from GPIOViewer 2024-01-13 16:11:40 +01:00
Theo Arends 9fc47b7d90 Tune GPIOViewer 2024-01-13 15:16:34 +01:00
SteWers e68a6fd078
Add `D_BATTERY` (#20478)
Add `D_BATTERY` to language files
2024-01-13 10:00:39 +01:00
s-hadinger c1f3561a3e
Fix random crash in Zigbee main page (#20481) 2024-01-12 22:34:42 +01:00
Theo Arends 61f6c26b03 Fix GPIO Viewer single instance 2024-01-12 16:54:24 +01:00
Theo Arends 3e3bfccb58 Bump version v13.3.0.3 2024-01-12 12:17:31 +01:00
Benjamin Nestler a13e83e1e6
FIX: Reset the 'upload_error' variable after web file upload error (#20340)
* FIX: Reset the 'upload_error' variable after signaling the error to enable the next upload action.

* ADD: Introduce HandleUploadUFSDone() to display information messages for uploaded files in UFS and handle errors.
ADD: Include '?fsz=' web-argument (filesize) in the upload button click function.
2024-01-12 10:08:05 +01:00
SteWers b69cc802db
[MI BLE] added support for LYWSD02MMC (#20381)
* [MI BLE] added support for LYWSD02MMC

- initial support for MI LYWSD02MMC
- code rework

* Update CHANGELOG.md

* Update CHANGELOG.md

* [MI BLE] add Mi32Time / bugfixes

* [MI BLE] plain read, debug enhanced

* [MI BLE] add LYWSD02MMC battery

* [MI BLE] improved debug log, code cleanup

* [MI BLE] improved debug log, code optimize
2024-01-12 10:06:55 +01:00
gemu 03cadd29f3
Sml update (#20474)
* add decryption flags

* add gcm crypto flags
2024-01-12 10:05:25 +01:00
gemu fa6d18a505
fix memory leak in >w x (#20473) 2024-01-12 10:04:19 +01:00
Jason2866 b881b55092
add FTP server to Tasmota-4M (esp8266) (#20465)
* add FTP server to esp8266 env > 1MB flash
* ftp server only 4M Tasmota
2024-01-11 12:35:24 +01:00
s-hadinger 20c54a3647
Fix compilation of Zigbee for Core3 (#20464) 2024-01-11 10:02:12 +01:00
Theo Arends 20c70d578e Remove padding between tool buttons 2024-01-10 17:17:56 +01:00
Theo Arends f30f3f8016 Add user control over GPIOViewer sampling interval 2024-01-10 15:51:19 +01:00
Theo Arends c2d6bbf2c1 Code admin 2024-01-10 11:13:19 +01:00
chefpro 0b509f60b4
Add support for pipsolar inverter (#20408)
* Add support for pipsolar inverter

* Fix CI-Warnings

* Remove unneeded define

* Pipsolar: Fix dat result

* Add support for the rules engine

---------

Co-authored-by: Peter Rustler <peter@rustlerit.de>
2024-01-10 09:21:02 +01:00
s-hadinger edda5ddc33
Berry `tasmota.webcolor` (#20454) 2024-01-10 09:08:11 +01:00
s-hadinger 453a3462b7
Fixed Zigbee Aqara attributes on ESP32 (#20452) 2024-01-09 22:30:38 +01:00
Gregory Holder 345de0aded
[Thermostat] Save and restore XdrvMailbox if output relay is switched off (#20405) 2024-01-09 22:07:30 +01:00
btsimonh fa959d9f47
Webcam v2 tweaks 2024 (#20451)
* suppress compiler warning about 'used' function

* don't stop and start cam webserver every time we save to flash.  Only stop the actual cam clock.

* change cmds WcMenuVideoon and wcmenuvideooff to be wcmenuvideodisable 0/1 to be more TAS like, and save a little.
2024-01-09 22:06:22 +01:00
s-hadinger 151e201048
Update debug_panel (#20449) 2024-01-09 19:59:21 +01:00
s-hadinger 69d4e323d6
Berry provide lightweight options for `tasmota.wifi/eth/memory/rtc` (#20448) 2024-01-09 19:49:30 +01:00
s-hadinger 85fb54fe8d
Berry `webserver.header` to read browser sent headers (#20447) 2024-01-09 19:34:19 +01:00
s-hadinger 8712aba3c5
Header `Host` is now collected by Webserver (#20446) 2024-01-09 19:34:07 +01:00
Theo Arends 52dd206fb7 Add GPIOViewer flow control
Add GPIOViewer flow control to reduce system load if not used
2024-01-09 17:08:13 +01:00
Theo Arends 451f9ba4ae Fix GPIOViewer init and event data 2024-01-09 14:58:33 +01:00
s-hadinger 935fa3519c
Fix display of source IP when restarting from UI button (#20443) 2024-01-09 13:43:26 +01:00
Christian Baars 81fac80859
MI32 legacy: add optional argument to BLE.run() (#20431)
* add optional argument to BLE.run()

* set default of scan response to NO
2024-01-09 09:10:45 +01:00
Andrew Klaus 2f6ab10146
Fixing logic for SGP4x Sgp4xShow() function (#20439) 2024-01-09 09:09:36 +01:00
s-hadinger 8a012452e8
Berry `debug_panel.tapp` to display real-time heap and wifi rssi (#20436) 2024-01-08 23:15:48 +01:00
Theo Arends 883d34d81e Update xdrv_121_gpioviewer.ino 2024-01-08 22:16:33 +01:00
gemu 92214ac633
ADD FTP server to filesystem (#20402)
* add ftp lib

* add ftp server
2024-01-08 16:44:49 +01:00
bovirus 22d2377442
Update Italian language (#20428)
* Update Italian language

* Update it_IT.h
2024-01-08 15:34:39 +01:00
Theo Arends ebe840eba5 Update changelogs 2024-01-08 09:40:10 +01:00
s-hadinger aa1dd392ca
Add Button to dynamically load GPIO Viewer with Berry backend (#20424) 2024-01-08 09:30:18 +01:00
Theo Arends d51340961f Rename "Consoles" to "Tools" 2024-01-08 09:29:02 +01:00
s-hadinger e5a0da06dc
Update GPIO Viewer (#20425) 2024-01-07 23:19:53 +01:00
s-hadinger f0d0cccee6
Berry GPIO Viewer fixes (#20423) 2024-01-07 19:03:56 +01:00
Theo Arends 5c521d300a Add gpioviewer startup delay 2024-01-07 18:10:30 +01:00
Theo Arends 82313c65b7 Add GPIO Viewer button 2024-01-07 16:06:31 +01:00
Theo Arends 0d300aebff Update GPIOViewer
- Add ESP8266 PWM state logging
- Add ADC state functions
2024-01-07 15:10:19 +01:00
s-hadinger 2947fd8b06
GPIO viewer fix size (#20417) 2024-01-06 22:46:16 +01:00
s-hadinger 08a769a720
GPIO viewer in Berry initial version using async webserver (#20416) 2024-01-06 22:36:42 +01:00
s-hadinger bd9a99caff
Berry `gpio.get_pin_type` and `gpio.ger_pin_type_index` (#20415) 2024-01-06 22:20:22 +01:00
Theo Arends ec75462905 Minor fixes 2024-01-06 21:57:09 +01:00
Theo Arends 8e06dcdcc3 Revert "Minor fixes"
This reverts commit aea3789f40.
2024-01-06 21:49:55 +01:00
Theo Arends aea3789f40 Minor fixes 2024-01-06 21:46:37 +01:00
Theo Arends 11da340c62 Revert "Minor fixes"
This reverts commit cee219a55f.
2024-01-06 21:35:08 +01:00
Theo Arends 4e361538bc Merge branch 'development' of https://github.com/arendst/Tasmota into development 2024-01-06 21:34:19 +01:00
Theo Arends cee219a55f Minor fixes 2024-01-06 21:34:15 +01:00
s-hadinger 324689ee53
Berry `gpio.read_pwm` and `gpio.read_pwm_resolution` (#20414) 2024-01-06 21:22:45 +01:00
Theo Arends 2f184b394f Add GPIO Viewer to see realtime GPIO states. Enable with define USE_GPIO_VIEWER 2024-01-06 17:54:23 +01:00
s-hadinger ea6b191378
Berry add `tasmota.urlbecload(url:string) -> bool` (#20412) 2024-01-06 17:32:50 +01:00
s-hadinger 15b40801d4
Fixes for tcpasync (#20411) 2024-01-06 17:03:51 +01:00
s-hadinger af2b90caac
Berry add support for `tcpclientasync` in `tcpserver` (#20401) 2024-01-05 09:54:18 +01:00
Theo Arends 0ed01c3b1d Revert "Add ESP32 experimental support GPIOViewer when ``define USE_ESP32_GPIO_VIEWER`` is enabled"
This reverts commit 9d27f395d8.
2024-01-04 22:50:41 +01:00
Theo Arends 9d27f395d8 Add ESP32 experimental support GPIOViewer when ``define USE_ESP32_GPIO_VIEWER`` is enabled 2024-01-04 18:28:37 +01:00
Theo Arends 03aea58a4c Bump version v13.2.0.2 2024-01-02 14:29:23 +01:00
s-hadinger 54e88c2926
HASPmota type `chart` (#20372) 2024-01-02 12:16:50 +01:00
gemu 9194ac6c94
max variables > 256 (#20358) 2023-12-30 13:20:33 +01:00
David Gwynne de0c39582f
don't send commands to the AC while reading data from the AC. (#20352)
on some units it can take around 250ms to reply to a request, by which
time we're shoving another command to the unit. if this happens, the
unit gives up and starts replying to the new command, which can again
take 250ms. in this situation effectively nothing gets through.

avoid this by checking if we're in the parser state machine. this also
gives us timeout handling.

tested on 4 different AC units. one which was unusable before is now
functioning as expected, and the other 3 appear just as functional as
they were before.
2023-12-30 09:14:56 +01:00
s-hadinger a0f6b7f1a3
Relax checks of Partition Wizard for newest Shelly (#20349) 2023-12-29 23:10:26 +01:00
Theo Arends 4393327bb9 Add support negative power on BL0942 using index 5..8 (#20322) 2023-12-29 22:54:32 +01:00
s-hadinger 1f662a6dad
HASPmota added `haspmota.page_show()` to change page (#20333) 2023-12-28 22:19:58 +01:00
Theo Arends 6d94d9e766 Cleanup 2023-12-28 17:53:21 +01:00
Theo Arends d5a4f8441b Fix Berry claiming UART0 if needed (#20324) 2023-12-28 17:25:01 +01:00
Jason2866 21de682f58
Fix compile (#20329) 2023-12-28 13:48:27 +01:00
Theo Arends 21c7edcb50 Add display of active drivers using command ``status 4`` 2023-12-27 22:03:56 +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
hk2k2 84fb3879c7
Update xdsp_15_tm1637.ino (#20317)
Displaydimmer command has not worked correctly on 2 daisy-Chained MAX7219 7-Segment Displays.
Only the first Module (8 Segments) changed their brightness.
2023-12-27 09:27:16 +01:00
Theo Arends c744612a29 Fix scripter buffer overflow (#20303) 2023-12-26 14:22:47 +01:00
smhc b7b83eaaaa
Only reduce sleep for lights if necessary (#20146)
Co-authored-by: Shane Hird <shane@email.com>
2023-12-26 12:41:55 +01:00
Theo Arends 77a58a3642 Fix domoticz topic edge case 2023-12-25 14:18:59 +01:00
DUPONCHEEL Sébastien d39896f6a2
HDMI CEC: Allow TV device type emulation. (#20310)
The previous check set device type default when HDMIType was set to CEC_Device::CDT_TV.
2023-12-25 12:42:20 +01:00
s-hadinger 2808653ad9
Moved Berry animate to its own `berry_animate` lib (#20309)
* Moved Berry animate to its own `berry_animate` lib

* Fix solidification

* fix compilation

* Fix compilation
2023-12-25 11:01:19 +01:00
UBWH bebffa040f
Update xdrv_58_range_extender.ino (#20295)
RESULT to RgxSSId command is not valid JSON

BEFORE:
RSL: RESULT = {"Rgx":{"Valid":"true","SSId":"solar_5BDBFC","Password":"MyPassword","IPAddress":"192.168.99.1","Subnetmask":"255.255.255.0"}

AFTER
RSL: RESULT = {"Rgx":{"Valid":"true","SSId":"solar_5BDBFC","Password":"MyPassword","IPAddress":"192.168.99.1","Subnetmask":"255.255.255.0"}}

Not extra terminating '}'
2023-12-25 09:13:32 +01:00
DUPONCHEEL Sébastien c13886e00d
HDMI CEC: Fix HDMIType command (#20308)
According to documentation HDMIType is from 0 to 5 but the actual check is lower than 1 and above or equal 6, so the function is never applied. Also note that setting the HDMIType to 0 use the default type value 4, that make impossible the emulation of a TV device.
2023-12-25 08:54:53 +01:00
Theo Arends a6a8214ea7 Fix support for Domoticz floor/room topics
Fix support for Domoticz floor/room topics. Regression from v12.0.1 (#20299)
2023-12-23 16:13:13 +01:00
s-hadinger fbc827d11d
Berry fix leds brightness (#20292) 2023-12-22 18:10:34 +01:00
lis0r 4ac93a4d1a
Add support for SJWS01LM BLE flooding sensor (#20288) 2023-12-22 15:31:14 +01:00
Bernhard Urban-Forster 5988e77f8c
as608: send mqtt message on non-matching finger (#20287) 2023-12-22 14:21:59 +01:00
Christian Baars 0e87096bad
allow Berry fast_loop for BLE module (#20281) 2023-12-21 20:28:08 +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
Marcus Better 04a8414217
Fix Tuya v2 module compilation (#20272) 2023-12-20 10:00:52 +01:00
Theo Arends 9e2ae391fc Fix ESP32 piezo ceramic buzzer
Fix ESP32 piezo ceramic buzzer doesn't buzz (#20118)
2023-12-19 15:38:12 +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
SteWers 81f90a251c
de_DE Fixes and typos (#20269)
* de_DE Fixes and typos

* Hyphen
2023-12-19 09:37:02 +01:00
Jason2866 d2690ef7c0
enable CST816S touch driver in firmware lvgl (#20264) 2023-12-18 14:02:00 +01:00
Theo Arends f65ae0694b Fix XSS phase 1 2023-12-18 12:31:14 +01:00
Norbert Richter c111bb963f
Add NeoPool hydrolysis FL1 and Redox flag (#20258) 2023-12-18 11:27:12 +01:00
Arne Meeuw 6b35fc8ddb
Add support for CST816S touch interface (#20213)
* Add initial version (prints coordinates)

* Add CST816S_found

* Revert formatting

* Add supported gestures (untested)

* Correct use of enums

* Remove library dependency

* Unification of methods

* Remove redundant variables and format
2023-12-18 11:03:18 +01:00
SteWers 2204ecdc51
Unify de_DE (#20257)
* Unify de_DE

Make de_DE more unify

* Update de_DE.h
2023-12-18 10:17:39 +01:00
bovirus d3a30681b2
Update Italian language (#20255) 2023-12-17 21:13:07 +01:00
s-hadinger dc98f6e190
Simplify animate (#20254)
* Simplify animate

* make add_ methods idempotent
2023-12-17 20:47:18 +01:00
Barbudor 7c290388d9
Sonoff Basic R4 Magic switch (#20247)
* magic switch take 1

* good to go

* good to go

* final, including in tasmota32c3
2023-12-16 18:23:51 +01:00
s-hadinger 3f4b69f91c
Improve animation (#20246) 2023-12-16 17:26:58 +01:00
Norbert Richter d10b30ef55
Update NeoPool register desc (#20245) 2023-12-16 14:40:18 +01:00
s-hadinger d6bf19190f
Small fixes to animate module (#20238) 2023-12-14 23:09:40 +01:00
s-hadinger c1f8ee5dbb
Refactoring of Berry `animate` module for WS2812 Leds (#20236) 2023-12-14 20:13:17 +01:00
Theo Arends 512d659d67 Bump version to v13.3.0.1 2023-12-12 16:20:06 +01:00
s-hadinger f796915fd1
HASPmota `bar` fixed `val` attribute (#20208) 2023-12-11 22:13:24 +01:00
s-hadinger f7cf94b929
Remove Berry `every_200ms` event which didn't work anyways (#20205) 2023-12-11 21:22:20 +01:00
Christian Baars 864a99d887
Berry ULP - API changes for IDF5.x (#20198)
* remove pointless dependencies

* add API changes for IDF5.x
2023-12-09 13:32:02 +01:00
s-hadinger d61adb0b0c
Leds animation refactoring stage 1 (#20197) 2023-12-08 21:13:44 +01:00
Barbudor 73268e4bb6
Fix TUYA state machine (in TUYA v1) (#20110)
* rework state machine

* some comments

* wip

* looks good now

* little updates
2023-12-08 20:33:40 +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 e00d5ff914 Update comments 2023-12-04 12:08:57 +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 70a082c8e5 ESP32 show colorful background if ``WebColor2`` bit0 is not set. Bit0 is default set using #252525 2023-12-03 11:59:16 +01:00
SteWers b4a54ae880
[Thermostat] Simplify code (#20141)
* [Thermostat] Simplify code

Simplify code of PR #20133

* [Thermostat] small code changes

- removed unused const
- replaced constant value
2023-12-03 08:08:24 +01:00
Theo Arends 28c8f8cf47 Fix PowerOnState on ESP32 (#20144) 2023-12-02 17:49:02 +01:00
Theo Arends 050fdbf5de Important fix 2023-12-02 17:04:43 +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
vtHydroponics 3d0ab2259c
Sensor57 TSL2591 Light Sensor Commands (#20039)
* Changes from 11/12/2023. Switches made, need debug

* Finalized gain/integration adjustment trees

* Fixed the bugs

* Outputs in JSON, hex displays as hex was decimal
2023-12-02 12:35:56 +01:00
stefanbode 45ba50bb2f
scripter compile error fix (#20140)
compile error if rules are disabled fixed
2023-12-01 17:14:09 +01:00
Christian Baars 8ee071b8b8
build process: simplify driver selection for BLE (#20138)
Co-authored-by: Radio Loge <radiologe@MacBook-Pro-von-Radio.local>
2023-12-01 14:59:59 +01:00
Theo Arends 5b13ece33e Bump version to v13.2.0.3 2023-12-01 14:10:13 +01:00
Christian Baars 673202120f
instantiate correct class Rainbow_stripes (#20135) 2023-12-01 10:52:00 +01:00
stegerfa a9a734ddba
fixed possible char array overflow (#20133)
* fixed possible char array overflow

the temporary char arrays size was fixed to 4 bytes before.
snprintf was set for the second char, so maximum size must be limited to 4-1, instead of 4 bytes.
to avoid further mistakes usage of a #define
(assuming that flaw made never problems as the number of attached sensors was usually <99)

* fixed possible char array overflow, optimization of preprocessor-constant name

instead using shortname TEMPLEN for the preprocessor-constant using a name specific to the thermostat-function to avoid interference with the rest of the project

* fixed possible char array overflow, no preprocessor constant neccessary

fixed possible char array overflow, without using preprocessor constant
2023-12-01 09:14:42 +01:00
stefanbode 9a010bdf7d
fix on undef TIMERS (#20123)
fix compilation error
2023-11-30 08:54:08 +01:00
stefanbode 47bc321ebb
Fix compile issue with rules and startup procedure of deepsleep (#20122)
* Fix compile issue with rules and startup procedure of deepsleep

* fix

* fix inc with old functionality

fix a side effect with the old behavior
2023-11-29 15:36:43 +01:00
stefanbode d0f47efae5
Integrate TIMERS into Deepsleep (#20117)
* Integrate Timers into Deepsleep

Added new functionality to controll the Deepsleep Wakeup process with TIMERS.

* added 60sec initial runtime
2023-11-28 11:38:46 +01:00
Christian Baars fb51d9df8a
MI32 GUI changes (#20115) 2023-11-27 19:08:44 +01:00
Theo Arends 62afe918f0 Add webquery message when empty response 2023-11-27 15:59:27 +01:00
Theo Arends 07031d5ebf Fix ``WebQuery`` response buffer corruption and format character ``%`` (#20111) 2023-11-27 15:22:30 +01:00
Barbudor 3273aaa9f9
Fix ESP32 webquery response (#20111)
* logging webreponse

* to test

* final

* simple
2023-11-27 12:38:52 +01:00
Theo Arends 22f50abf22 Fix compile error 2023-11-24 17:20:21 +01:00
Theo Arends 01e51b2c9d Fix undocumented use of Energy struct 2023-11-24 16:49:51 +01:00
Theo Arends 2cee622af8 ESP32 remove restart energy logging if no energy monitoring is selected 2023-11-24 16:36:41 +01:00
Theo Arends ad831418e5 Fix SO51 2023-11-24 11:36:20 +01:00
Steve 3568b559e4
Add Support for Avago Tech Bluetooth Buttons (#20088) 2023-11-23 12:00:34 +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
papax333 77081ad92b
corrected ebus crc check (#20081) 2023-11-22 11:57:10 +01:00
Daniel Kucera 7e2fbdea55
tuyamcu: allow sending arbitrary commands (#20077) 2023-11-22 11:37:01 +01:00
Theo Arends 433d69d4bc Fix serial resource checks
Fix serial resource checks (#20053)
2023-11-20 12:35:06 +01:00
gemu 7d30ab5929
support for kamstrup heat meters (#20057) 2023-11-20 09:05:54 +01:00
SteWers f4ad7586bb
Multilingual fixes (#20064)
* Multilingual fixes

Some fixes for a better user experience matching every language.

* Revert frag mem

Solved problem with regional decimal conversion in language file.
2023-11-20 09:05:40 +01:00
bovirus 1e7c2a9dd2
Update Italian language (#20050) 2023-11-18 14:20:45 +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