Commit Graph

740 Commits

Author SHA1 Message Date
Stephan Hadinger 871baa7f41 Berry remove warning when no debug 2021-11-21 23:08:54 +01:00
Stephan Hadinger cb0ad2c75b Berry tasmota.read_sensors() 2021-11-21 18:54:13 +01:00
Michael 532e506946 use LedMatrix 1234 2021-11-20 17:28:38 +01:00
Jason2866 f906c46392
Merge pull request #13738 from cociweb/ir_2_8_0
IRremoteESP8266 library from v2.7.20 to v2.8.0
2021-11-20 12:56:11 +01:00
s-hadinger 26dddb5b74
Berry animate also returns value (#13744)
* Berry animate also returns value

* Berry Animate make closure optional
2021-11-20 12:40:35 +01:00
Jason2866 fb41a57ae2
Delete scrape_supported_devices.py 2021-11-20 12:07:11 +01:00
s-hadinger 56f5584a46
Berry allow import in tapp (#13743)
* Berry allow import in tapp

* Avoid patching Berry
2021-11-20 11:29:04 +01:00
Stephan Hadinger cad8c179b5 Berry add gc objects metrics 2021-11-20 09:49:23 +01:00
@cociweb 0cbd6cff4a IRremoteESP8266 library from v2.7.20 to v2.8.0 2021-11-19 23:58:47 +01:00
s-hadinger 97ba91ca58
Merge pull request #13735 from s-hadinger/berry_no_debug
Berry disable debug features
2021-11-19 23:17:29 +01:00
Stephan Hadinger ae7104a9d0 Fix issue with module debug missing 2021-11-19 22:53:16 +01:00
Stephan Hadinger cbab510997 Berry disable debug features 2021-11-19 22:29:20 +01:00
Stephan Hadinger 8a8724763f Berry add animation framework 2021-11-19 22:09:35 +01:00
Stephan Hadinger 3f140b4b10 Berry support for neopixel (WS2812, SK6812) 2021-11-18 20:30:16 +01:00
Stephan Hadinger f3c235b8e9 Removed ILI9488 driver in favor of Unversal Display Driver 2021-11-17 22:48:48 +01:00
Stephan Hadinger c4091c575b Berry simplified preinit and autoexec 2021-11-16 21:46:42 +01:00
gemu2015 3885a19b57 enable all pins for cs and dc 2021-11-16 08:09:04 +01:00
gemu2015 1278682182 epaper area calls 2021-11-16 08:03:15 +01:00
Stephan Hadinger b3796c4adb Preliminary support for Tasmota Application (.tapp files) 2021-11-15 23:06:04 +01:00
Stephan Hadinger 87490c5e94 Renamed autoconf suffix 2021-11-15 22:11:04 +01:00
Stephan Hadinger a08b54b295 Fix Berry compound assignment 2021-11-15 19:14:35 +01:00
Jason2866 67a8380131
Merge pull request #13680 from Jason2866/comp_silence
fix compiler warnings
2021-11-15 12:52:32 +01:00
Jason2866 d3ba1dd5fc fix compiler warnings 2021-11-15 12:35:48 +01:00
Stephan Hadinger a584d77651 Berry fix unary not 2021-11-14 21:38:59 +01:00
Stephan Hadinger ac2634d8e7 Force Berry and Autoconf to use internal Flash file-system 2021-11-14 18:32:17 +01:00
s-hadinger a9f0585429
Autoconf v1 (#13665)
* Fix compiler warning

* Autoconfiguration for ESP32 and variants
2021-11-13 20:45:27 +01:00
Theo Arends dbd7d29765 Fix CSE7761 comms
Fix CSE7761 and Sonoff Dual R3 comms
2021-11-12 14:39:14 +01:00
Stephan Hadinger a36331fe47 Improved for zigbee 2021-11-11 19:22:15 +01:00
Stephan Hadinger 75b749c67e Merge branch 'development' of https://github.com/arendst/Tasmota into serial_lowbitrate 2021-11-11 18:56:31 +01:00
Stephan Hadinger 9084e36978 Make serial more responsive at low bitrate 2021-11-11 14:44:54 +01:00
s-hadinger e69522f70b
Berry `tasmota.arch()` (#13635)
* Berry `tasmota.arch()`

* Fix typo
2021-11-10 20:58:06 +01:00
s-hadinger 1f229e7534
Support for ZIP fs and download (#13632)
* Support for ZIP fs and download

* Fix
2021-11-10 19:31:22 +01:00
Stephan Hadinger 23e562a058 TLS make ALPN configurable 2021-11-10 18:45:50 +01:00
Christian Baars 54acd8fad7
Delete bignum.c
forgot to delete this...
2021-11-08 18:22:55 +01:00
Christian Baars 7b687fc658
Port to ESP32-C3 2021-11-08 17:33:51 +01:00
Christian Baars 566f619235
Update esp_mfi_debug.h
Reduce logging for release builds
2021-11-08 17:31:25 +01:00
Stephan Hadinger b9b6531c7d Berry fix problem when stack resize 2021-11-07 20:02:56 +01:00
Jason2866 0c3e9a4751 correct and rename lib structure 2021-11-07 13:47:24 +01:00
Stephan Hadinger 1e5364ecef Berry make persist more robust 2021-11-07 11:10:01 +01:00
Stephan Hadinger 4f4b1f7658 Berry fix crash in solidify 2021-11-06 19:23:50 +01:00
Theo Arends 5549b5e108
Merge pull request #13583 from arlosi/fix-onewire-c3
Fix OneWire on ESP32-C3
2021-11-06 11:12:56 +01:00
Stephan Hadinger 9fcebb17ed Move LList to its own library 2021-11-06 09:37:40 +01:00
Arlo Siemsen d918eb1dff Fix OneWire on ESP32-C3 2021-11-05 23:41:35 -05:00
Stephan Hadinger 0c144fb748 Berry optimize GPIO constants 2021-11-05 19:25:50 +01:00
Stephan Hadinger 77a3d8670b LVGL add theme mono 2021-11-05 08:44:39 +01:00
Stephan Hadinger 765013cda9 Berry avoid crash when I2C is not configured 2021-11-04 20:21:59 +01:00
Stephan Hadinger 26d2f9821e Berry support for multiple rules with same prefix 2021-11-04 19:34:22 +01:00
Stephan Hadinger e45f25f59a Berry support for unishox compression 2021-11-04 08:17:42 +01:00
s-hadinger b9f47f93c9
Merge pull request #13559 from s-hadinger/berry_updates
Berry multiple updates
2021-11-03 21:03:59 +01:00
Stephan Hadinger 10b56dc1f6 Berry multiple updates 2021-11-03 20:46:49 +01:00
Stephan Hadinger 595f181dc0 LVGL fix event target 2021-11-03 18:16:29 +01:00
Jason2866 f47d044bc9
Epdiy Waveform update Lilly Go 4.7
* ED047TC2 waveform
2021-11-01 13:54:07 +01:00
Jason2866 70b1977d3c
Update library.json 2021-10-31 20:53:10 +01:00
Jason2866 1929cf27ce
LDF Platformio compile fix 2021-10-31 20:41:14 +01:00
Jason2866 da686d616f
Delete lib/libesp32_epdiy/hardware directory 2021-10-31 18:09:59 +01:00
Jason2866 003b367f2d
Delete lib/libesp32_epdiy/examples directory 2021-10-31 18:08:52 +01:00
Jason2866 344f929137
Delete lib/libesp32_epdiy/doc directory 2021-10-31 18:07:24 +01:00
Jason2866 c24694adab
correct entry in platforms 2021-10-31 17:47:10 +01:00
Jason2866 256c1ff08e del not needed code 2021-10-28 19:25:07 +02:00
Jason2866 8a764f86ee
fix compile with ESP32 2.0.x 2021-10-26 23:34:35 +02:00
s-hadinger 6158032723
Berry add stack increase observability (#13482)
* Berry add stack increase observability

* Berry stack increase in bytes
2021-10-26 23:13:16 +02:00
Stephan Hadinger cb27f53816 LVGL OpenHASP alpha 4 2021-10-26 21:58:21 +02:00
Christian Baars f4b6acf242
Fix ESP32-Homekit for IDF>4 2021-10-26 21:29:24 +02:00
Stephan Hadinger 07e848cd30 LVGL OpenHASP alpha 3 2021-10-25 22:20:48 +02:00
Stephan Hadinger 9fcd7c3ae4 Berry fix possible memory corruption 2021-10-24 10:23:36 +02:00
Theo Arends 2e87681612 BearSSL: support connect() without timeout on ESP32
BearSSL: support connect() without timeout on ESP32 (#13435)
2021-10-23 18:08:49 +02:00
Stephan Hadinger 03a3dd481e Missed one 2021-10-23 17:50:12 +02:00
Stephan Hadinger 1aa017a095 Roll back from #13435 2021-10-23 17:46:52 +02:00
Stephan Hadinger e047260158 LVGL add roboto condensed 2021-10-23 16:13:00 +02:00
Stephan Hadinger 6fa5aec939 LVGL OpenHASP alpha2 2021-10-23 15:08:33 +02:00
Theo Arends e6cc6dfcd1
Merge pull request #13435 from Leo-PL/fix_bearssl_connect_esp32
BearSSL: support connect() without timeout on ESP32
2021-10-22 09:33:49 +02:00
Lech Perczak b5730a9be9 BearSSL: support connect() without timeout on ESP32
Arduino-ESP32 supports both versions of 'connect' method, with and
without timeout argument. Since most users of
WiFiClientSecure_light class use version without this argument -
for example - Telegram, export both on ESP32 to fix build failure
with USE_TELEGRAM enabled on ESP32.

Fixes: 3d5c68b850 ("Berry class ``webclient`` for HTTP/HTTPS requests")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
2021-10-21 23:29:47 +02:00
Stephan Hadinger 0a5bccc8d9 Berry json dump for subclasses 2021-10-21 21:41:20 +02:00
Stephan Hadinger 85a0ba4b6d Change limit 2021-10-20 23:06:29 +02:00
Stephan Hadinger 13e8287554 Berry python compat for ranges 2021-10-20 22:59:16 +02:00
Stephan Hadinger 9f7a52633a Berry add module ``python_compat`` to be closer to Python syntax 2021-10-20 19:04:18 +02:00
Stephan Hadinger 3d3d634070 Berry support for tele rules 2021-10-19 22:38:54 +02:00
Stephan Hadinger 24afc50375 Berry add access to Settings 2021-10-19 21:47:48 +02:00
s-hadinger e7159c8c8c
Merge pull request #13410 from s-hadinger/berry_set_solidified_fix
Berry prevent crash when setting static variable for solidified class
2021-10-19 20:56:09 +02:00
Stephan Hadinger 3b90a68799 Berry prevent crash when setting static variable for solidified class 2021-10-19 20:32:41 +02:00
Stephan Hadinger 0fa343c447 Berry add a watchdog 2021-10-19 20:14:31 +02:00
Stephan Hadinger 58694c99e0 Berry fix tasmota.cmd result 2021-10-18 18:09:31 +02:00
Stephan Hadinger f3c11c6951 Berry return last message in tasmota.cmd() 2021-10-18 11:24:11 +02:00
Stephan Hadinger e49eadff4e Berry bytes() allow negative indices 2021-10-17 19:13:32 +02:00
Stephan Hadinger 149920e363 Berry fix string literal 2021-10-17 16:05:13 +02:00
Stephan Hadinger 560e676be3 LVGL Berry remove constants 2021-10-15 21:26:33 +02:00
Stephan Hadinger 164d14496b LVGL Berry namespace ``lv.*`` added and removed ``lv_*`` constants 2021-10-15 19:34:37 +02:00
Stephan Hadinger 8837ad6ff1 Berry stability fix 2021-10-14 09:15:19 +02:00
Stephan Hadinger 48410e9536 Berry safer rule management 2021-10-11 19:10:37 +02:00
s-hadinger 416b3f8e05
Berry add stack dump in case of exception (#13319)
* Berry add stack dump in case of exception

* Fix type in Berry

* More typo
2021-10-10 19:53:38 +02:00
s-hadinger 497d49b417
Merge pull request #13304 from s-hadinger/tls_dual_mode
TLS dual mode
2021-10-09 10:06:49 +02:00
Stephan Hadinger 1a96a39d3a TLS dual mode 2021-10-09 09:49:00 +02:00
Stephan Hadinger 0b69194134 Berry remove persist tosrting 2021-10-08 21:00:50 +02:00
Stephan Hadinger 59e5747301 Berry reduce pressure on gc 2021-10-07 21:35:56 +02:00
Stephan Hadinger fba096500e Berry fix heap size control in high memory pressure 2021-10-07 19:03:34 +02:00
Theo Arends a176778956 Fix Tasmota logging when NIMBLE is enabled 2021-10-07 14:15:20 +02:00
Stephan Hadinger aaec57db1c Berry fix Energy module 2021-10-05 21:28:34 +02:00
Stephan Hadinger 1077ce3db7 OpenHASP phase 1 2021-10-04 22:36:22 +02:00
Stephan Hadinger ddb1eb7fea Berry and LVGL fixes 2021-10-04 19:15:27 +02:00
Theo Arends 47a85d975a
Merge pull request #13271 from gemu2015/udisp_fix
fix rotate
2021-10-04 14:57:38 +02:00
Stephan Hadinger 22daee620a Fix ctypes for energy and lvgl 2021-10-04 13:42:09 +02:00
gemu2015 01ec66b7b6 fix rotate 2021-10-04 13:04:48 +02:00
Stephan Hadinger 4a18748f74 Berry improvements to `persist` 2021-10-03 16:34:45 +02:00
s-hadinger 6878bf9fbf
Berry add module ``import persist`` (#13264)
* Berry add module ``import persist``

* Call `persist.save()` before restart
2021-10-03 11:54:29 +02:00
Stephan Hadinger 98acc6fe2d LVGL updated to v8.0.2 **breaking changes** 2021-10-02 09:33:59 +02:00
Barbudor 6783f91566 prepend OPTH_ to conflicting symbols 2021-10-01 17:57:02 +00:00
Theo Arends 63f526972c
Merge pull request #13252 from gemu2015/multi_display
fix multi display issues
2021-10-01 16:12:57 +02:00
Stephan Hadinger a21e4a58fc Berry add `tasmota.global` 2021-09-30 19:51:40 +02:00
gemu2015 7e38e75116 fix multi display issues 2021-09-30 19:09:38 +02:00
Stephan Hadinger b5c58d0273 Berry support for NAN 2021-09-28 22:47:40 +02:00
Stephan Hadinger 2f494feb80 Berry smart compile to bytecode 2021-09-28 22:17:11 +02:00
Stephan Hadinger 27dbe91a1c Berry fix Energy mapping 2021-09-28 20:03:24 +02:00
Stephan Hadinger e5be88ad15 Berry print stack trace when exception, more detailed with line numbers if `#define USE_BERRY_DEBUG` 2021-09-27 13:39:12 +02:00
s-hadinger 70d46bf32a
Merge pull request #13226 from s-hadinger/berry_ctypes_accept_bool
Berry ctypes accepts `bool` as parameter
2021-09-27 13:17:37 +02:00
Stephan Hadinger 735aea937a Berry ctypes accepts `bool` as parameter 2021-09-27 12:53:28 +02:00
Stephan Hadinger 7e93d5c370 Berry fix flip 2021-09-27 12:13:11 +02:00
Theo Arends 939ac5da33 Satisfy security police 2021-09-25 13:19:14 +02:00
Stephan Hadinger 509daa24dc Berry revamped ``energy`` module to expose all C variables to Berry (read/write) 2021-09-24 18:05:16 +02:00
s-hadinger 883a9fb12c
Berry refactored bytes class (#13208)
* Berry refactored bytes class

* Fix
2021-09-24 08:04:55 +02:00
Theo Arends 16f9e2bd88
Merge branch 'development' into development+SCD40 2021-09-23 14:42:04 +02:00
Stephan Hadinger 28c65dd0c1 Berry simplification of `ctypes` 2021-09-22 13:54:20 +02:00
s-hadinger 176e2d8fac
Berry string range (#13194)
* Berry string range

* Fix regressions
2021-09-21 11:59:40 +02:00
s-hadinger 036430ec65
Berry improve `introspect.toptr()` (#13178)
* Berry improve `introspect.toptr()`

* Fix unwanted change
2021-09-19 23:27:51 +02:00
s-hadinger 74bd4cfd53
Berry add `tasmota.get_switch()` (#13173) 2021-09-19 15:52:13 +02:00
s-hadinger 5e2686407d
Berry introspect toptr (#13172)
* Berry introspect, add `toptr` and `fromptr`

* Remove warning
2021-09-19 15:35:51 +02:00
Stephan Hadinger 60d9b95ff4 Berry fix compiler bug in complex compound assignments 2021-09-18 16:00:56 +02:00
Jason2866 b02560fd8f
Webcam compile time optimization
* Optimize compile time (1)
2021-09-16 19:24:01 +02:00
Stephan Hadinger 9fa3cb4544 Berry add `path.last_modified()` 2021-09-15 22:25:36 +02:00
Stephan Hadinger 418ebf1e4e Berry update and global resolidify 2021-09-15 19:36:48 +02:00
Arnold Niessen 0fea60d8ee Add SCD40/41 support 2021-09-15 12:02:27 +02:00
s-hadinger e311001cd8
Merge pull request #13133 from s-hadinger/berry_serial_lowercase
Change berry class from `Serial` to `serial`
2021-09-14 22:45:51 +02:00
s-hadinger f4dadc625b
``DisplayDimmer`` has now range 0..100 instead of 0..15 (#13132)
* ``DisplayDimmer`` has now resolution of 8 bits instead of 4, and uses Gamma for LED

* Fix changelog
2021-09-14 22:40:26 +02:00
Stephan Hadinger f3592b1326 Change berry class from `Serial` to `serial` 2021-09-14 22:29:27 +02:00
Stephan Hadinger 55202aa7f5 Berry support for Serial 2021-09-14 22:07:20 +02:00
Stephan Hadinger 0c879ebe25 Berry solidified AXP192 driver 2021-09-14 08:44:54 +02:00
Stephan Hadinger 8ee3bae70d Support for ESP32/ESP32S2 DAC gpio via Berry 2021-09-13 13:44:39 +02:00
s-hadinger fb7a9a8970
Revert "lv_freetype patch #10" 2021-09-12 22:01:21 +02:00
s-hadinger 751234e05d
Revert "Berry move introspect.vcall to call" 2021-09-11 11:27:30 +02:00
Stephan Hadinger 840d9fdc2b Berry move introspect.vcall to call 2021-09-10 08:36:26 +02:00
Stephan Hadinger b2da0b2ed7 LVGL add lv_clock_icon 2021-09-09 20:32:19 +02:00
s-hadinger 5995724a49
LVGL updated enum parsing (#13099)
* LVGL updated enum parsing

* Fix
2021-09-09 20:24:08 +02:00
Stephan Hadinger 04c0f42981 Improved wifi widgets 2021-09-08 19:40:18 +02:00
Stephan Hadinger 71d97e72a8 Fix lv_signal_bars to avoid crash 2021-09-08 12:41:28 +02:00
s-hadinger 777661add3
Merge pull request #13089 from s-hadinger/wifi_bars_2
LVGL improve lv_wifi_bars
2021-09-07 20:06:40 +02:00
Stephan Hadinger 86602cc6f3 LVGL improve lv_wifi_bars 2021-09-07 19:34:18 +02:00
Stephan Hadinger 70e11bd6a5 Berry add `math.atan2()` and change `list.find()` 2021-09-07 19:27:57 +02:00
Jason2866 4a0788f33c
Improve documentation of protocol format 2021-09-07 17:44:02 +02:00
Stephan Hadinger f730c664c2 LVGL cleaning 2021-09-04 11:12:18 +02:00
s-hadinger aacf3ff2a9
Lvgl color names (#13056)
* LVGL Berry change in color names

* Minor fix

* Fix
2021-09-04 11:08:13 +02:00
Stephan Hadinger 5b29c261ca Berry fix for LVGL styles 2021-09-03 18:35:50 +02:00