Commit Graph

8958 Commits

Author SHA1 Message Date
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
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
SteWers 040e25a92c
Label of upload button (#20036)
As the label of the upload button is concatenated at runtime, this does not match in all languages. To solve this, there is now a full label text for `Start upgrade` and `Start restore`.
2023-11-17 10:35:29 +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
SteWers c3674bd08f
Enhance de_DE.h (#20027)
* Enhance de_DE.h

* Update de_DE.h
2023-11-16 10:17:58 +01:00
s-hadinger bc8dd8894e
Fix compilation for Audio Core3 ESP32C3 (#20023) 2023-11-14 22:20:26 +01:00
stefanbode dd9e2a7409
regression of MAX_SHUTTERS for stepper motors (#20019)
maximize on 4 stepper shutters due to limits in number of counter
2023-11-14 17:54:01 +01:00
Jason2866 7abf8c469b
Align arduino3 firmware build to Tasmota32 (#20015)
* step1 of phase out Arduino30 firmware variant

* rm duplicate Matter define
2023-11-14 17:02:00 +01:00
Jason2866 58f50045d9
Add the possibility to set global compile time settings (#20013) 2023-11-14 16:36:09 +01:00
SteWers 52a0d5b365
[Thermostat] Fix JSON index (#20011)
* [Thermostat] Fix JSON index

* Fix index in debug log
2023-11-14 10:00:55 +01:00
Christian Baars 0b54b7df40
fix compilation without PARTITION_WIZARD (#20009) 2023-11-14 08:52:09 +01:00
Theo Arends 7e384ebff8 Add image name to GUI footer 2023-11-13 14:41:49 +01:00
Theo Arends c1fa07dd51 Fix ESP32C3 ledlink 2023-11-13 10:54:25 +01:00
SteWers 84249ca32f
Update de_DE.h (#19995) 2023-11-13 10:32:39 +01:00
bovirus fa34338476
Update Italian language (#20002) 2023-11-13 10:31:37 +01:00
s-hadinger 65e07e8387
Fix Berry `gpio.dac_voltage()` broken in 13.2.0 (#19997) 2023-11-12 22:17:17 +01:00
Jason2866 44ef425b89
disable warning only for specific compiler version (#19994) 2023-11-12 19:01:41 +01:00
SteWers 64f0520b23
[Thermostat] Change to language files (#19982)
* [Thermostat] Change to language files

* [Thermostat] Gradient display

Enhance display of gradient temperature
2023-11-12 11:26:45 +01:00
s-hadinger de1b5929b8
Partition Wizard can be loaded dynamically (#19980)
* Partition Wizard can be loaded dynamically

* Centralize config

* Don't display duplicate buttons

* Fix test
2023-11-11 23:52:41 +01:00
Norbert Richter c88b773dd3
Neopool enhancements (#19973)
* Add NeoPool sensor delta trigger

* Add NeoPool store settings in unified file system

* Add NeoPool command NPBoost
2023-11-11 11:49:40 +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
Christian Baars cf6de0ce31
add AES_CBC to crypto module (#19964) 2023-11-09 14:27:17 +01:00
Theo Arends 9b5945a117 Add feature10 bitmap 2023-11-09 14:25:24 +01:00
Christian Baars 06bacdf48b
refactoring, use ringbuffer for server too (#19953) 2023-11-07 20:27:43 +01:00
gemu 1e4f069c3f
can bus read and write support, esp32 native twai (#19934) 2023-11-07 16:15:14 +01:00
s-hadinger 9cfe78a8a0
Audio refactoring of DAC (#19939) 2023-11-06 08:52:11 +01:00
s-hadinger 3207d542c1
Fix Zero-Cross Dimmer for ESP32 with Core3 (#19929)
* Fix Zero-Cross Dimmer for ESP32 with Core3

* Remove left-over

* Fix esp8266
2023-11-04 19:19:48 +01:00
Norbert Richter 5d4330611a
Add NeoPool NPHydrolysis percent and unit (#19924) 2023-11-04 15:42:01 +01:00
Jason2866 361c15d63b
Delete homekit.c (#19923) 2023-11-04 13:05:48 +01:00
s-hadinger fbe31ab294
Fix Core3 warnings when compiling LVGL (#19921) 2023-11-04 12:22:44 +01:00
s-hadinger 46df036b51
Cosmetic changes (#19920) 2023-11-04 11:46:25 +01:00
protectivedad 11e9b7375d
The webserver for the esp32-cam stream doesn't get started automatically. (#19905)
This ensures that it does start when the WcStream (or WcInterrupt) are run.

Co-authored-by: Anthony Sepa <protectivedad@gmail.com>
2023-11-03 16:02:42 +01:00
stefanbode b83516970f
fix #19911 tilt position is not restored with command: shutterposition 0,-45 (#19916)
* fix shutterposition 0,-45 does not keep tilt

allow , on different config settings

* fix shutterposition 0,-45 does not maintain tilt

allow , on different config settings.
2023-11-03 16:01:57 +01:00
Theo Arends f78c195945 Update changelogs - Bump version v13.2.0.2 2023-11-03 14:20:36 +01:00
gemu 2d05bd2597
add tcp client, fix timer issue (#19914) 2023-11-03 10:39:18 +01:00
s-hadinger 217c568301
HASPmota add styling properties (#19912) 2023-11-02 22:11:48 +01:00
Theo Arends 63297ec5c9 Start using constexpr in featurelist
Saves 128 bytes.
2023-11-02 17:44:29 +01:00
Christian Baars 580c46177f
MI32: fix restart on C6 (#19909) 2023-11-02 13:55:15 +01:00
Jason2866 6a86576dac
add MI env (#19902)
* rename odroid ard3 env to tasmota32-psramfix_ard3
* add inbuilt JTAG debugger
* rm Homekit leftovers
* add MI env
2023-11-02 12:03:14 +01:00
Jason2866 3da80e9144
Enable IR Remote (#19908) 2023-11-02 11:33:07 +01:00
Christian Baars c238d8d4d1
several updates (#19893) 2023-11-01 17:30:22 +01:00
stefanbode 2e95f45458
continuous improvement (#19897)
- servo fix on movement during operation. position did not behave as expected if position change before stop
- enhanced minimum change on stepper shutter depending on motordelay
2023-11-01 14:15:52 +01:00
Barbudor f9717ceb7f
fix compile USE_PID (#19890) 2023-10-31 20:42:42 +01:00
stefanbode 24927f17c9
enhancement servo shutter (#19888)
allow on servo also very small changes of position. need to do similar with steppers later
2023-10-31 20:41:41 +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
Jason2866 b0d5cffe16
Add flash mode `OPI` to Tasmota info page (#19881)
* add OPI mode to info page
2023-10-30 18:27:25 +01:00
Theo Arends 444f4fcd62 Fix ESP32 32MB program flash size 2023-10-30 15:29:01 +01:00
stefanbode 8540ee37fc
fix on servo and ESp32 (#19878)
servo did not react same on ESP32 than ESP8266. Changed to TASMOTA pwmapply  capabilities
2023-10-30 14:48:32 +01:00
anishsane be94a6cac8
Fix for CmndHDMIAddr function. (#19866)
* Fix for CmndHDMIAddr function.
1. Typical values for XdrvMailbox.payload are 0x1000...0x4000. Hence the
   check should be (value > 0).
2. Don't overwrite the user supplied value with value read from the hardware.

* Correct the condition in CEC_Device::OnReady.
We should check for _on_ready_cb before calling _on_ready_cb.
2023-10-29 17:14:44 +01:00
Alexander Nagy b3b0ffd6b0
Adding display.ini for 1.44 inch 128x128 red SPI display (#19862) 2023-10-29 13:16:32 +01:00
Theo Arends 26f14caee9 Fix S2 core3 compiles 2023-10-28 16:20:44 +02:00
Norbert Richter b65f32c5f3
Neopool enhancements for HA (#19857)
* Add NeoPool hydrolysis setpoint and max

* Add NeoPool command ``NPFiltrationSpeed``

* Change NeoPool topic ``Power`` to ``Powerunit``

* Add ``SO157`` for NeoPool output sensitive data
2023-10-28 14:07:49 +02:00
Jason2866 75ec9da8a2
Refactoring of storing safeboot bin (#19858)
* Folder for storing safeboot is now configurable
* Platform 2023.10.06
* Platform 2023.10.12
2023-10-28 13:15:31 +02:00
FransOv 0130ce972a
Support of Winsum ZH03B sensor Dust particle sensor in xsns_18_pms5003.ino (#19850)
* Update xsns_18_pms5003.ino

The Winsum ZH03B sensor is quite similar to the Plantower PMS3003 sensor. The main difference is the response in passive mode. With these changes xsns_18_pms5003.ino can support the ZH03B sensor when PMS_MODEL_ZH03X is defined in the configuration file.

* Update xsns_18_pms5003.ino
2023-10-27 17:34:49 +02:00
Theo Arends 84eaae572c Fix core 3 S2 USB 2023-10-24 17:00:11 +02:00
Theo Arends 5c395ffc06 Fix core 3 S2 USB 2023-10-24 16:41:36 +02:00
Theo Arends 84ced0fcab Add ESP32 core v3 auto TasConsole USB or Serial connection by @staars 2023-10-24 16:32:39 +02:00
Barbudor 1d5f55d374
increase MAX_HUE_DEVICES to 32 (#19820) 2023-10-23 09:36:39 +02:00
s-hadinger 4f9c7ada04
Fix audio Arduino 3 (#19819) 2023-10-22 21:30:36 +02: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 6efe2ab514 Add I2C bus2 support to LM75AD temperature sensor 2023-10-21 15:42:32 +02:00
Theo Arends bec0c27750 Add I2C bus2 support to SI1145/6/7 Ultra violet index and light sensor 2023-10-21 15:31:54 +02:00
Theo Arends bd90363565 Update changelogs 2023-10-21 14:48:12 +02:00
Theo Arends c91882daeb Add ADS1115 I2C bus2 support 2023-10-20 17:39:00 +02:00
Theo Arends 7238d857e9 Add SHT3x I2C bus2 support 2023-10-20 14:52:21 +02:00
Theo Arends f05470bf81 Add HYT I2c bus2 support 2023-10-20 13:35:24 +02:00
Norbert Richter 1f8cd6a259
Fix NeoPool filtration mode display (#19801) 2023-10-19 18:01:56 +02:00
Theo Arends e3253fea8f Add I2C bus2 support to BH1750 2023-10-19 18:01:12 +02:00
Theo Arends b39adacc41 Fix HTU21 bus number 2023-10-19 17:44:59 +02:00
Theo Arends 49709807c7 Add I2C bus2 support to HTU temperature sensor 2023-10-19 17:37:19 +02:00
Theo Arends b6811b2f4e Prep ESP32 I2C bus2 support 2023-10-19 16:59:53 +02:00
Theo Arends 70287d90ad Bump v13.2.0.1 2023-10-19 11:45:12 +02:00
stefanbode d5f506b1e3
reverted back some function and fix frequency storage (#19791)
* optimize disc write delay during shutter movement

changed to dynamic write delay to ensure no disc write on multiple shutter movement with stepper shutters.

* optimize disc write delay

ensure disc write will be postponed until all shutters stopped

* reverted back to simple version

* removed duplicate obsolete compiler options
2023-10-18 23:41:52 +02:00
Theo Arends 58324da242 Final fix ;-) (#19763) 2023-10-18 16:19:13 +02:00
Theo Arends 1fa036f176 Fix unsorted DS18Alias (#19763) 2023-10-18 16:12:02 +02:00
Theo Arends 13c6bc91cc Fix empty name if no DSAlias defined (#19763) 2023-10-18 15:15:49 +02:00
stefanbode 2daaa367ff
stepper shutter channel fix (#19784) 2023-10-18 11:29:35 +02:00
Christian Baars 17143cea44
remove HomeKit remnants from mi32 legacy driver (#19782) 2023-10-17 21:00:46 +02:00
sfromis ab420b6cc1
DS18x20_USE_ID_AS_NAME in my_user_config.h (#19777)
Add mention of #define DS18x20_USE_ID_AS_NAME
2023-10-17 11:00:39 +02:00
Christian Baars b98ad59d11
Delete xsns_62_esp32_mi_homekit.c (#19778) 2023-10-17 11:00:02 +02:00
s-hadinger 82858616f6
Zigbee fix timezone when device reads LocalTime attribute (#19772) 2023-10-17 09:02:14 +02:00
Barbudor 8e9299ec97
fix mis-order (#19769)
* fix mis-order

* fix mis-order on esp32 too
2023-10-16 21:47:31 +02:00
bovirus 5a9da83997
Update Italian language (#19754) 2023-10-16 16:07:37 +02:00
s-hadinger 367768b00e
Re-enable features for Arduino 3 (#19761) 2023-10-16 12:44:05 +02:00
Norbert a04995a3f4
Update xdrv_63_modbus_bridge.ino, brackets not needed. (#19759) 2023-10-16 09:42:55 +02:00
JeroenSt 91ba05ac3b
ModbusBridge write memleak fix (19733) (#19758)
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-10-16 08:26:26 +02:00
s-hadinger 8467b41290
Teleinfo use Apparent Power as Active Power approximation (#19756) 2023-10-16 08:20:07 +02:00
s-hadinger d3784a26ab
Audio Core3 compilation for ESP32C3 (#19755) 2023-10-15 22:46:01 +02:00
stefanbode 124fbf8dcb
fix shutterfrequency change on mutiple channels (#19737)
* fix shutterfrequency change on mutiple channels

* LEDC channel management for stepper shutter

LEDC channels dynamically assigned to ensure up to 16 shutters can be defined. Number of simultaneous moving shutters is limited by number of LEDC channels.

* bugfix  >=
2023-10-15 18:40:26 +02:00
Jason2866 56314e5423
Update de_DE.h 2023-10-15 14:51:11 +02:00
Saentist 715b64dc28
RU Translation fix (#19746) 2023-10-15 11:57:53 +02:00
Eduardo Spremolla b63a061aeb
Update xsns_02_analog.ino for calibrated values on ESP32 (#19732)
ESP32  ADC has variables errors, but calibrations values are put in eFuses at factory test.
analogReadMilliVolts() from api correct the ADC reading with tata values.
Since now the value are mV and not ADC numbers, the fast solution is to revert it back to ADC numbers:
divide by Vcc  => ANALOG_V33*1000  and multiply by ANALOG_RANGE
Other way is to modify all sensor cases to account for the different unit.
2023-10-15 11:57:13 +02:00
s-hadinger 16307bc4b8
More audio refactoring for core3 (#19749) 2023-10-15 11:22:20 +02:00