Commit Graph

894 Commits

Author SHA1 Message Date
Stephan Hadinger 99037b1366 Berry int() converts comptr 2022-01-14 17:47:24 +01:00
gemu2015 f3b5201c67 fix esp8266 email 2022-01-14 10:00:32 +01:00
Theo Arends 97b27c504a
Merge pull request #14421 from Jason2866/rcswitch
Rcswitch Separation Limit changed
2022-01-14 09:07:08 +01:00
Theo Arends a3c31fdf76
Merge pull request #14422 from s-hadinger/udisplay_reduced_logs
Reduced logs for uDisplay
2022-01-14 09:06:27 +01:00
Stephan Hadinger 9958be83a8 LVGL moved Freetype embedded in LVGL8 2022-01-13 19:32:16 +01:00
Stephan Hadinger da4260641f Reduced logs for uDisplay 2022-01-13 19:20:10 +01:00
Jason2866 bd4b2b58d2 RCSWITCH_SEPARATION_LIMIT 4100 2022-01-13 18:26:25 +01:00
Jason2866 924ca0d30c
Update RCSwitch.cpp 2022-01-13 18:24:31 +01:00
Stephan Hadinger 5f6e4b7191 LVGL add missing functions move_foreground/background 2022-01-12 22:35:20 +01:00
Stephan Hadinger 636ac69a4b lvgl use native lv_png instead of library 2022-01-12 22:17:55 +01:00
Stephan Hadinger f7b9a9c324 IRremoteESP8266 library from v2.8.0 to v2.8.1 2022-01-12 21:34:40 +01:00
Jason2866 5b02250c5f
Revert "Revert "Prep for a custom minimal ESP32 variant"" (#274) 2022-01-12 19:44:42 +01:00
Jason2866 fd1fa993a3
Revert "Prep for a custom minimal ESP32 variant" 2022-01-12 12:55:40 +01:00
Jason2866 9f44b17b09
Merge pull request #14383 from Jason2866/cmini_esp32
Prep for a custom minimal ESP32 variant
2022-01-12 11:34:47 +01:00
Stephan Hadinger 4121eab041 Berry fix add for int+float 2022-01-11 17:29:08 +01:00
Jason2866 3b138e08a3
Custom Minimal esp32 2022-01-11 17:27:56 +01:00
Stephan Hadinger 2539f04007 Berry workaround for ESP32 Rev0 bug 2022-01-10 22:41:13 +01:00
Stephan Hadinger a1a98dc65d Reduce logging for Berry 2022-01-10 18:37:28 +01:00
Stephan Hadinger 9b0a5b89fe LVGL prepare for Touch Screen calibration 2022-01-10 13:48:40 +01:00
Stephan Hadinger 0fd168c6cf Berry fast loop 2022-01-09 19:22:23 +01:00
Jason2866 bbf81b5b5f c3 changes (silence warnings) 2022-01-09 14:55:39 +01:00
Stephan Hadinger 3f6701a8bd Berry fix crash when superfluous parameter is sent 2022-01-08 10:55:05 +01:00
Theo Arends 479b378707 Fix Modbus serial config 2022-01-06 14:06:56 +01:00
Stephan Hadinger 6755b754e0 Berry stores compiled bytecode into IRAM, freeing space in heap 2022-01-06 13:41:51 +01:00
Stephan Hadinger 4406eb9f3b Berry specific moved to berry_tasmota 2022-01-05 09:50:38 +01:00
Stephan Hadinger 421a2ce1fb LVGL full support for grid layout 2022-01-02 16:16:10 +01:00
Stephan Hadinger 53bf9cf11f LVGL add enums and prepare support for native arrayx 2022-01-01 19:17:55 +01:00
Stephan Hadinger 4091719bd7 LVGL add enums for layouts 2021-12-31 17:05:03 +01:00
Theo Arends 5a73aa1e1f Refactor serial config
Refactor serial config removing specific stopbit count and only support serial config constants (#14212)
2021-12-30 14:19:24 +01:00
Theo Arends 3890237a5f Add ESP32 dedicated DHT driver
- Add ESP32 dedicated DHT driver using standard Adafruit library.
- Extent DHT probe interval time from 2 to 4 seconds solving some misreadings
2021-12-29 14:57:56 +01:00
s-hadinger c032878fd6
Revert "Berry add `tasmota.random_byte()`" 2021-12-28 22:37:02 +01:00
Stephan Hadinger 44189186e9 Berry add `tasmota.random_byte()` 2021-12-28 21:29:04 +01:00
Theo Arends 41d958020e Fix possible heap corruption due to PubSubClient memmove
Fix possible heap corruption due to invalid PubSubClient memmove parameters (#13700)
2021-12-28 16:05:38 +01:00
s-hadinger 89e3851903
Merge pull request #14188 from s-hadinger/berry_string_format
Berry fix string.format crash
2021-12-28 12:23:51 +01:00
Stephan Hadinger c1e3d88f2f Berry fix string.format crash 2021-12-28 12:09:00 +01:00
Theo Arends fedf60e963
Merge pull request #14172 from Jason2866/audio_new
update Audio libs
2021-12-28 11:17:58 +01:00
Stephan Hadinger 0acabbb56e LVGL add layouts 2021-12-28 09:43:05 +01:00
Stephan Hadinger dca794dbf1 LVGL update from 8.0.2 to 8.1.0 2021-12-27 23:03:49 +01:00
Stephan Hadinger a4cd168681 LVGL modularization 2021-12-27 18:12:38 +01:00
Jason2866 b1b026f4c3
Fixed in upstream repo 2021-12-27 14:30:12 +01:00
Jason2866 e84124f035
updated Audio libs 2021-12-27 14:24:58 +01:00
Theo Arends aaa87a037a Revert "Merge pull request #14153 from wir3z/development"
This reverts commit d9ab90a2f9, reversing
changes made to 7bf6e5a773.
2021-12-25 11:34:58 +01:00
Theo Arends 4b539f9b94 Revert "Bump TasmotaSerial version to 3.4.0"
This reverts commit f2dfcb3f40.
2021-12-25 11:34:43 +01:00
Stephan Hadinger fd47406d11 LVGL add support for lv_chart_series 2021-12-24 10:06:30 +01:00
Stephan Hadinger c343896760 Berry udp remote ip and port 2021-12-24 09:48:40 +01:00
Stephan Hadinger a51d32747a Berry add support for udp client/server 2021-12-23 18:35:10 +01:00
Theo Arends f2dfcb3f40 Bump TasmotaSerial version to 3.4.0 2021-12-23 10:45:18 +01:00
wir3z 30d35b8c15 Moved kTasmotaSerialConfig to TasmotaSerial.h from Tasmota.h. 2021-12-22 12:23:17 -07:00
wir3z 3c8cda25fb Added linux safe path. 2021-12-22 10:28:55 -07:00
wir3z 223314804d Removed external function call, referenced header. 2021-12-22 10:22:16 -07:00
wir3z 4554a5ba9e Revert "Added back missing external."
This reverts commit b8e9d9401e.
2021-12-22 09:53:06 -07:00
wir3z b8e9d9401e Added back missing external. 2021-12-22 09:50:35 -07:00
wir3z ee39f84bc2 Rolled out parity changes due to potential timing issues. 2021-12-22 09:47:20 -07:00
wir3z b8752b7272 TasmotaSerial:
- Added transmit parity to software TX.  Software RX just consumes in the incoming parity bit with no error checking.
- Fixed issue where Serial.begin for the ESP8266 was not passing the UART SerialConfig compatible values.

support.ino
- Cleanup to use already present ConvertSerialConfig API.

tasmota.ino:
- Force the baudrate + serial config settings after boot.  Previously, the baudrate would change, but any non 8N1 settings were not applied.

xdrv_08_serial_bridge.ino:
- Increased the software serial bridge buffer size and changed type to prevent overflow.
- Added missing serial config settings to the serial begin.  Previously was forcing 8N1.

xdrv_10_scripter.ino
- Cleanup to use already present ConvertSerialConfig API.
2021-12-22 09:23:15 -07:00
Theo Arends 8943656729 Fixed ESP32 LedPwmMode exception
Fixed ESP32 LedPwmMode exception (#14073)
2021-12-22 16:50:29 +01:00
Jason2866 c554a70b23
fix redefine warning
with Arduino Core 3.0.x
2021-12-21 12:19:32 +01:00
Stephan Hadinger 0589a28ec8 Change more platform definitions 2021-12-20 21:05:00 +01:00
Stephan Hadinger 85662ec728 Set framework and platform for lv_berry 2021-12-20 18:29:47 +01:00
s-hadinger e239bf7b0f
Lv berry manifest (#14129)
* Update manifest for lv_berry

* Update license
2021-12-20 18:14:39 +01:00
Stephan Hadinger 1239f2d825 Fix link 2021-12-20 17:55:36 +01:00
Stephan Hadinger 8f24aa5e05 Update berry_mapping doc 2021-12-20 17:41:36 +01:00
s-hadinger 4b2ea37360
Merge pull request #14111 from s-hadinger/lib_lv_berry
Berry created separate library `lv_berry` to isolate LVGL-Berry mapping
2021-12-20 16:43:41 +01:00
Stephan Hadinger 38e6a9fdf0 Berry created separate library `lv_berry` to isolate LVGL-Berry mapping 2021-12-20 11:17:11 +01:00
Theo Arends d4b9381ab0
Merge pull request #14091 from sternegugger/PR2_MAX7219_dot_matrix
PR2 max7219 dot matrix, less memory
2021-12-20 11:15:08 +01:00
Jason2866 416cadd229
Webcam reduce lib 2021-12-19 13:52:50 +01:00
Michael 7b7913e8f3 merged, ready for PR2 2021-12-18 15:14:47 +01:00
Michael 77f0024f99 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2021-12-18 14:07:53 +01:00
Jason2866 3d716866b1 fix compiler warning webcam 2021-12-18 13:26:16 +01:00
Stephan Hadinger e5479cdc96 Berry move LVGL mapping to its own library 2021-12-18 11:47:03 +01:00
Michael e3fe445df4 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2021-12-18 11:11:12 +01:00
Stephan Hadinger 26a7fad65b Berry C mapping moved to a separate ``berry_mapping`` library 2021-12-17 19:41:36 +01:00
Theo Arends 8bad0115b0 Fix ESP32 webcam WDT
Fix ESP32 webcam WDT (#13882)
2021-12-17 18:01:27 +01:00
Stephan Hadinger 5cd2c22730 Use htlm `°` entity 2021-12-16 18:40:46 +01:00
Stephan Hadinger fe682ea97f Berry fix memory corruption due to unicode character 2021-12-16 16:43:13 +01:00
Stephan Hadinger 6d9e427970 Fix Berry I2C driver lib with latest changes 2021-12-16 13:57:12 +01:00
Stephan Hadinger ef764fcc70 Put back map.has (deprecated) 2021-12-16 08:50:35 +01:00
Stephan Hadinger c152838e25 Berry yet another fix 2 2021-12-15 23:32:49 +01:00
Stephan Hadinger 38331dc35e Berry yet another fix 2021-12-14 23:23:56 +01:00
Stephan Hadinger 2b97a03d4c Latest Berry fixes 2021-12-14 21:51:12 +01:00
Jason2866 b8ac8ceae8
check if _GNU_SOURCE is defined already 2021-12-14 21:29:50 +01:00
Jason2866 b7230f394c
check if NDEBUG
is already defined
2021-12-14 21:15:19 +01:00
s-hadinger 9c9421a084
Merge pull request #14048 from s-hadinger/re15_warnings
Berry remove re1.5 compilation warnings
2021-12-14 20:57:50 +01:00
Stephan Hadinger b1162a8e1c Berry remove re1.5 compilation warnings 2021-12-14 20:08:27 +01:00
Stephan Hadinger bcc970b559 Berry use ROM MD5 2021-12-14 19:56:28 +01:00
Stephan Hadinger 7f0e4944ac Berry rename step 2/2 2021-12-14 15:10:03 +01:00
Stephan Hadinger 7dddbc40ab Berry rename step 1/2 2021-12-14 14:46:55 +01:00
s-hadinger 011b8ac769
Revert "Rename Berry to berry" 2021-12-14 13:52:36 +01:00
Stephan Hadinger 560e769485 Rename Berry to berry 2021-12-14 09:37:15 +01:00
Stephan Hadinger 63b9c64603 Fix warning 2021-12-13 19:33:16 +01:00
Stephan Hadinger 2841734465 Berry remove conversion from comptr to int 2021-12-13 19:19:32 +01:00
s-hadinger 0386a0d74b
Merge pull request #14022 from s-hadinger/berry_fix_exceptions
Berry fix exceptions
2021-12-12 21:08:43 +01:00
Stephan Hadinger 47deea04ce Berry fix exceptions 2021-12-12 19:58:14 +01:00
Stephan Hadinger b4e9468bbb Berry mapping step 1 2021-12-12 18:56:11 +01:00
Theo Arends 63d8d5ff2e
Merge pull request #14011 from jeroenvermeulen/fix_touch_buttons_without_ufilesys
Fix for #14006: can't USE_TOUCH_BUTTONS without USE_UFILESYS
2021-12-12 11:29:08 +01:00
Jeroen Vermeulen - MageHost 3bb71f154d Fix for #14006.
Without USE_UFILESYS you can't draw picture buttons.
2021-12-11 19:34:17 +01:00
Stephan Hadinger d0806d33c6 Berry fix webclient 2021-12-11 16:36:29 +01:00
Stephan Hadinger dbd321291e Berry strptime 2021-12-10 23:18:49 +01:00
Stephan Hadinger 5242165520 Berry allow instance functions 2021-12-10 22:23:59 +01:00
Stephan Hadinger c4d7a5eab2 Berry `string.tr` accepts removing chars 2021-12-09 23:33:05 +01:00
Stephan Hadinger 4168421590 Remove flush 2021-12-09 22:15:15 +01:00
Stephan Hadinger 9faadaca67 Berry added `tcpclient` 2021-12-09 22:00:24 +01:00
Stephan Hadinger 4cd926e008 Berry pycoc optimization 2021-12-09 19:37:00 +01:00
gemu2015 ba3ca8f905 dma default off 2021-12-08 16:34:00 +01:00
Stephan Hadinger 888cbb999d Rename be_map_release to be_map_compact 2021-12-04 13:49:06 +01:00
Stephan Hadinger bcbef695ce Berry sync with upstream 2021-12-04 13:46:43 +01:00
Michael 34ad6a736c Merge branch 'development' of https://github.com/arendst/Tasmota into development 2021-12-03 17:07:48 +01:00
Michael 306ed0d2dd max7219 dot matrix ready for pull request 2021-12-03 16:50:55 +01:00
s-hadinger a3f5d0df58
Merge pull request #13890 from s-hadinger/leds3
Berry leds improvements
2021-12-01 22:59:55 +01:00
Stephan Hadinger 5d91392ae8 Berry leds improvements 2021-12-01 22:44:58 +01:00
s-hadinger ed094301a5
Merge pull request #13888 from s-hadinger/berry_no_crash_setsuper
Berry prevent crash when setting superclass of solidified class
2021-12-01 22:02:36 +01:00
Stephan Hadinger a147e00f6d Berry prevent crash when setting superclass of solidified class 2021-12-01 21:54:00 +01:00
Stephan Hadinger b409377068 MQTT TLS dual mode (CA or fingeprint) in same firmware, ``SetOption132 1`` to force fingerprint 2021-12-01 21:38:28 +01:00
Jason2866 768335e1f0
Update nimble 2021-11-30 21:58:40 +01:00
Michael 09974f8873 Command for all Modules at once 2021-11-30 14:18:26 +01:00
s-hadinger d70a549e1e
Merge pull request #13859 from s-hadinger/berry_tapp_log
Berry avoid TAP message in console
2021-11-29 22:32:22 +01:00
s-hadinger ca04ac381e
Merge pull request #13858 from s-hadinger/ws2812_neopixel_fix
Final fix for ESP32 WS2812
2021-11-29 21:48:40 +01:00
s-hadinger 11eb618994
Merge pull request #13857 from s-hadinger/berry_solidify_fix
Berry fix stack corruption in solidify.dump
2021-11-29 21:44:55 +01:00
Stephan Hadinger 82aae68cce Berry avoid TAP message in console 2021-11-29 21:44:44 +01:00
Stephan Hadinger dbe0cdeaa3 Final fix for ESP32 WS2812 2021-11-29 21:35:20 +01:00
Stephan Hadinger 7bbd6bddfe Berry fix stack corruption in solidify.dump 2021-11-29 21:32:39 +01:00
Stephan Hadinger 0d4b12e5ac Berry fix bool() 2021-11-29 21:30:06 +01:00
Michael 5b3266e7ca Support for more than 8 matrix devices 2021-11-29 15:27:55 +01:00
Stephan Hadinger 84e9f2263d Fix WS2812 crash 2021-11-29 09:57:10 +01:00
s-hadinger 1cdc1578f7
Merge pull request #13841 from s-hadinger/berry_auto_path
Berry auto path when loading archive
2021-11-28 20:42:13 +01:00
Stephan Hadinger 079f50cc20 Berry auto path when loading archive 2021-11-28 20:13:03 +01:00
s-hadinger 1580e52fa1
Merge pull request #13840 from s-hadinger/berry_list_range_neg
Berry fix ranges with negative indices
2021-11-28 19:53:19 +01:00
Stephan Hadinger 0fad84fe06 Berry fix ranges with negative indices 2021-11-28 19:41:26 +01:00
Stephan Hadinger b4cbeac215 Berry avoid LittleFS issue with persist 2021-11-28 18:10:18 +01:00
s-hadinger 3eb6c550e1
Merge pull request #13832 from s-hadinger/berry_leds_serpentine
Berry Leds support for serpentine matrix
2021-11-27 19:42:54 +01:00
Stephan Hadinger 85472e1be4 Berry Leds support for serpentine matrix 2021-11-27 19:33:11 +01:00
Stephan Hadinger 94a0a6bd3d Berry add `bool()` function 2021-11-27 18:47:24 +01:00
s-hadinger 62a1911d4e
Merge pull request #13824 from s-hadinger/berry_list_concat_fix
Berry fix list.concat
2021-11-27 11:24:30 +01:00
Stephan Hadinger f60bd05eed Berry fix list.concat 2021-11-27 11:20:02 +01:00
Stephan Hadinger 185116aea0 Remove autoconf warning from Berry console 2021-11-27 11:01:24 +01:00
s-hadinger 5d7a57babc
Merge pull request #13819 from s-hadinger/berry_list_concat
Berry list.concat takes a delimiter
2021-11-26 21:31:38 +01:00
Stephan Hadinger ba4b98f773 Berry list.concat takes a delimiter 2021-11-26 20:56:40 +01:00
Stephan Hadinger 7808a58ffa Berry improved re.split 2021-11-26 19:03:21 +01:00
Stephan Hadinger c34656daec Berry list.keys() 2021-11-26 11:41:44 +01:00
Stephan Hadinger ba09129398 Berry renumber internal types to allow for extensions 2021-11-26 08:44:37 +01:00
Stephan Hadinger 2ae03c6e43 Berry add ``import re`` regex module 2021-11-25 22:57:37 +01:00
s-hadinger 33383d1ce4
Merge pull request #13797 from s-hadinger/ota_github_redirect
OTA follows redirects
2021-11-25 20:14:45 +01:00
Stephan Hadinger 498aa9b2b3 Update static functions, test and grammar 2021-11-25 20:09:04 +01:00
Stephan Hadinger 711ca5a277 OTA follows redirects 2021-11-25 20:00:07 +01:00
Stephan Hadinger 8faa144d04 Berry static methods 2021-11-25 19:46:02 +01:00
Michael f2f6eba009 ready for ESP32 2021-11-24 17:24:40 +01:00
Theo Arends f5a86f4b88
Merge pull request #13779 from hallard/teleinfo_fix
Teleinfo use hardware energy counters
2021-11-24 09:45:36 +01:00
Michael c4a4bb0ff8 scroll works 2021-11-23 23:08:05 +01:00
Stephan Hadinger 5315ccb2c4 OTA over HTTPS 2021-11-23 22:15:08 +01:00
Charles 58b4ee6542 makes labelCount public 2021-11-23 17:30:36 +01:00
Michael 917777d2c5 first scroll 2021-11-23 14:46:19 +01:00