Commit Graph

839 Commits

Author SHA1 Message Date
Stephan Hadinger 5e03066883 Resize FS to max at initial boot 2022-10-16 11:49:30 +02:00
Theo Arends 169e65a922 Add ESP32 non-persistent phy selection 2022-10-15 14:33:21 +02:00
s-hadinger 4032ac2354
Merge pull request #16788 from s-hadinger/berry_re_fix
Berry regex `re` fix
2022-10-13 07:10:04 -07:00
swing 066878da4d fix stack overflow vulnerability 2022-10-13 00:40:17 +08:00
Stephan Hadinger f4dee20d0a Berry regex `re` fix 2022-10-10 14:20:30 +02:00
sfromis 4a3a52cd3e
Epoch in Berry map for time
Inserts input epoch value directly into the output map, for consistently having epoch in this data structure
2022-10-09 16:12:16 +02:00
Stephan Hadinger fac1b89afa HASPmota support for TTF fonts 2022-10-08 15:19:38 +02:00
Stephan Hadinger 1fe07cbf7c Fix ccronexpr 2022-10-07 13:41:37 +02:00
Stephan Hadinger 7f33f0acf3 LVGL fix potential memory leak 2022-10-06 12:42:36 +02:00
Stephan Hadinger 2438ab959a lv_berry simplify solidification from laptop 2022-10-05 21:58:59 +02:00
Stephan Hadinger 51f4bae703 HASPmota support for switch `val` attribute 2022-10-04 18:03:11 +02:00
Stephan Hadinger 3f5baaa0c6 Berry add ``introspect.setmodule(name:string, value:any) -> nil`` 2022-09-25 15:33:31 +02:00
Jason2866 e7cf698b9f
memory leak and compile fix (debug mode) 2022-09-20 18:54:48 +02:00
Jason2866 990bbd01f6
Delete ccronexpr_test.c 2022-09-20 18:53:45 +02:00
Stephan Hadinger eb65038b6c Zigbee report unprocessed attributes 2022-09-19 22:03:46 +02:00
Stephan Hadinger 6c6031f0b3 Command ``UrlFetch <url>`` to download a file to filesystem 2022-09-19 19:20:11 +02:00
Stephan Hadinger d266e511ee Berry final auto-solidify 2022-09-19 09:02:39 +02:00
Stephan Hadinger 62fcba4b11 Berry more auto-solidification 2022-09-18 23:12:57 +02:00
Stephan Hadinger 2f81bfff21 Berry more automated solidification 2022-09-14 19:39:46 +02:00
Stephan Hadinger e0f9154986 Berry automated solidification of code 2022-09-12 22:02:25 +02:00
Theo Arends 5b7371d98f
Merge pull request #16492 from Staars/MI32
MI32 legacy: refactor MI32 functions to CTYPE_DECLARATION
2022-09-11 07:34:02 +02:00
Christian Baars 9ec5009c6d refactor MI32 functions to CTYPE_DECLARATION 2022-09-10 21:10:39 +02:00
Stephan Hadinger 7fee430e9f Berry has persistent MQTT subscriptions: auto-subscribe at (re)connection 2022-09-10 19:08:26 +02:00
Theo Arends 71ddc7e0a7
Merge pull request #16487 from Staars/MI32
MI32 legacy driver: refactor MI32 and BLE in Berry to module
2022-09-10 17:14:28 +02:00
Christian Baars d57a1cadc9 refactor MI32 and BLE in Berry to module 2022-09-10 16:38:12 +02:00
Theo Arends be544b4a96
Merge pull request #16483 from Jason2866/s3_webcam
Fix ESP32-S3 webcam bootloop
2022-09-10 14:24:19 +02:00
Jason2866 81bf1ef8b6 no config if no model set 2022-09-10 13:20:24 +02:00
Jason2866 8ff3438979
add more cams via `.h` file (#310) 2022-09-10 12:54:28 +02:00
Stephan Hadinger 13027cc623 Move out of mapping to increase performance 2022-09-10 12:05:48 +02:00
Stephan Hadinger 5c4aab6dc1 Berry improve operator detection in rules 2022-09-10 11:26:47 +02:00
Stephan Hadinger 8df2d10f52 HASPmota val_rule ignores non numeric matches 2022-09-09 22:23:43 +02:00
Stephan Hadinger e1e04d9525 HASPmota increase details for exceptions 2022-09-09 21:38:28 +02:00
Stephan Hadinger dc1221f709 More fixes 2022-09-06 23:02:08 +02:00
Stephan Hadinger 18a950f61c Berry fix for stricter mode 2022-09-06 22:54:24 +02:00
Christian Baars dc232059af add .keep to empty generate folder 2022-09-05 16:32:28 +02:00
Christian Baars 580069a613 empty generate folder 2022-09-05 16:21:50 +02:00
Stephan Hadinger a1e5f53ddd Berry fix json crash 2022-08-31 19:21:00 +02:00
Stephan Hadinger cb4a5ed736 Berry extend max bytes size to 512Kb when PSRAM is available 2022-08-30 18:11:04 +02:00
Stephan Hadinger d4f3530539 Berry stricter strict mode 2022-08-29 19:27:06 +02:00
Stephan Hadinger e46d07acb4 Berry add more metrics to GC 2022-08-26 19:23:21 +02:00
Stephan Hadinger 979288570e HASPmota make `spinner` editable 2022-08-26 08:37:28 +02:00
Stephan Hadinger a3c29375e8 Berry Zigbee integration for received messages 2022-08-22 21:32:39 +02:00
Jason2866 78ce8875e6
Revert "Update Webcam lib `*.h` files" 2022-08-19 09:16:56 +02:00
Jason2866 f9707217e6 Move DHT ESP32 lib to ESP32 lib 2022-08-09 11:46:25 +02:00
Jason2866 ceed6525ec
add cameras 2022-08-08 22:42:15 +02:00
Jason2866 4b82389a81
support `CONFIG_CAMERA_CONVERTER_ENABLED` 2022-08-08 22:40:28 +02:00
Stephan Hadinger 299cc5a87b Fix PWM for ESP32 variants 2022-08-05 10:11:56 +02:00
Stephan Hadinger 4dc6adf37f Temp fix for ledcReadFreq() 2022-08-02 23:21:12 +02:00
Stephan Hadinger abf352c8f8 Fix remapping of ledcReadFreq 2022-08-02 19:39:27 +02:00
Stephan Hadinger f45cd5e905 Fixed comments and cleaned up 2022-08-02 10:07:55 +02:00
Stephan Hadinger 47b1f40245 Fix PWM to allow 4 different frequencies 2022-08-01 19:27:49 +02:00
Stephan Hadinger 9ac38cb9d2 Berry remove unused registry code 2022-07-26 09:51:38 +02:00
s-hadinger cc5fb02653
Merge pull request #16081 from s-hadinger/berry_fix_ref_call
Berry remove unnecessary ref push
2022-07-25 23:14:49 +02:00
Stephan Hadinger 0b7d8ac668 Berry remove unnecessary ref push 2022-07-25 22:49:58 +02:00
Stephan Hadinger 197e25132c Berry fix reference when exeception is raised 2022-07-25 22:32:26 +02:00
Theo Arends c17e73aa9b Refactor analogWrite library 2022-07-22 15:13:41 +02:00
stefanbode 51472ef842
Update esp8266toEsp32.cpp 2022-07-22 14:45:10 +02:00
stefanbode c1fba57bb6
Update esp8266toEsp32.cpp 2022-07-21 10:05:11 +02:00
stefanbode dda1889a7c
Update esp8266toEsp32.h 2022-07-21 09:54:37 +02:00
Stephan Hadinger d5ed1abf07 Berry add tasmota.remove_fast_loop() 2022-07-10 19:34:04 +02:00
Stephan Hadinger 5e758db898 Berry tcpserver 2022-07-07 19:28:17 +02:00
Stephan Hadinger 9f8fffd6ba Berry fix potential crash when parsing unfinished strings 2022-07-07 13:24:03 +02:00
Stephan Hadinger 389543d36f Berry fix regression 2022-07-06 23:13:35 +02:00
Stephan Hadinger 69de76338c Berry allow setmember() to fail with `false` or `undefined` 2022-07-05 21:14:50 +02:00
s-hadinger 57f714eade
Merge pull request #15916 from Staars/development
ESP32: support ULP via Berry
2022-07-02 23:10:19 +02:00
Christian Baars ea90138181 add the missing '@' 2022-07-02 22:59:10 +02:00
Christian Baars e730f43d26 change error reporting for adc_config 2022-07-02 22:33:31 +02:00
Stephan Hadinger 73dd995c3b Berry solidify to file 2022-07-02 21:46:02 +02:00
Christian Baars a793296bc1 ESP32: support ULP via Berry 2022-07-02 21:30:04 +02:00
Stephan Hadinger 74b11c8e3b Berry update tests for module undefined 2022-07-02 16:58:51 +02:00
Stephan Hadinger 9bf0d7fb4e Berry sync with upstream 2022-07-02 16:27:37 +02:00
Stephan Hadinger 8348b3fb25 Fix Berry lexer regression 2022-07-02 15:48:48 +02:00
Stephan Hadinger 7e0f69e935 Partition Wizard use ota.tasmota.com 2022-07-02 00:13:27 +02:00
Stephan Hadinger e551c8743b Rename pycoc to coc 2022-07-01 22:39:23 +02:00
Stephan Hadinger aaa87365f0 Berry prefer `static var` syntax 2022-07-01 19:56:09 +02:00
Stephan Hadinger df7d056b51 Fix compiler warning in Berry lexer 2022-06-30 22:25:09 +02:00
Stephan Hadinger 2a620cd285 Berry fix crash on ESP32 early revisions 2022-06-29 10:16:01 +02:00
Stephan Hadinger 9a74a63740 Berry improved mqtt.unsubscribe() 2022-06-26 18:59:31 +02:00
s-hadinger b744c2e9b3
Merge pull request #15863 from s-hadinger/Berry-improved-bool
Berry improved booleans
2022-06-24 23:34:51 +02:00
Stephan Hadinger 147bbc133e Berry improved booleans 2022-06-24 23:17:33 +02:00
Stephan Hadinger c9e49f7432 Berry add string.replace() 2022-06-24 23:12:49 +02:00
Stephan Hadinger 8aaf620cd0 Berry bytes.ismapped() 2022-06-22 19:05:53 +02:00
Theo Arends ffcf90bdfe Refactor sendmail 2022-06-21 16:53:58 +02:00
Stephan Hadinger dd364c92da Berry comobj standard deallocator 2022-06-16 22:37:33 +02:00
Stephan Hadinger 49875be903 Berry fix int64 deinit 2022-06-16 22:14:42 +02:00
Stephan Hadinger fb3459b1eb Fix compilation warning 2022-06-15 23:03:22 +02:00
s-hadinger 633dd61be5
Merge pull request #15803 from s-hadinger/berry_comobj_typo
Berry fix typo
2022-06-15 22:34:09 +02:00
Stephan Hadinger 6b0fbf0798 Berry fix typo 2022-06-15 22:23:22 +02:00
Stephan Hadinger 9b26c01dd0 Berry virtual member can return nil 2022-06-15 22:00:31 +02:00
Stephan Hadinger af41d81c5a Berry ctypes small optimization 2022-06-07 22:20:42 +02:00
Stephan Hadinger 0aefb278cd Berry optimization of crypto module 2022-06-07 21:59:27 +02:00
Stephan Hadinger ffbc95717a Berry weak strings 2022-06-06 21:01:12 +02:00
Stephan Hadinger 82d4e14171 Cleaning unused variables 2022-06-03 22:57:05 +02:00
s-hadinger bb582191dd
Merge pull request #15741 from s-hadinger/berry_bytes_tohex
Berry bytes().tohex()
2022-06-03 22:29:10 +02:00
Stephan Hadinger 872ea1377a Berry bytes().tohex() 2022-06-03 22:08:48 +02:00
Stephan Hadinger 7232f5865d Berry int() now accepts hex strings 2022-06-03 21:51:20 +02:00
Theo Arends c08561f67c Bump version to v11.1.0.4
- Restructure tasmota
2022-06-02 14:17:39 +02:00
Stephan Hadinger 19ff938d09 Berry Zigbee support payload of zcl_frame as bytes() 2022-06-01 22:06:57 +02:00
Theo Arends e8376885ff Fix another future compile error 2022-05-31 15:29:03 +02:00
Stephan Hadinger 82636e41b5 Berry LVGL fix memory leak in log reader 2022-05-29 18:32:04 +02:00
Stephan Hadinger ce33aa5f9d Berry zigbee phase 1 2022-05-24 22:45:04 +02:00
Stephan Hadinger 2a38c1c0f6 Berry add crc.sum() 2022-05-24 22:06:50 +02:00
Stephan Hadinger 208077c808 Berry add bytes().fromhex() 2022-05-24 21:52:37 +02:00
Jason2866 b1223ad933 fix VSC intelisense warning 2022-05-24 16:50:39 +02:00
Stephan Hadinger fc3907677b Berry improve precompiled gen.sh 2022-05-23 21:06:36 +02:00
Stephan Hadinger 18dee9ff3b Partition_core suppport unknown types 2022-05-21 19:02:58 +02:00
Stephan Hadinger 086c4d6371 Rename OpenHASP to HASPmota 2022-05-20 21:29:39 +02:00
Stephan Hadinger c4767578a0 OpenHASP fix dropdown direction 2022-05-13 22:39:51 +02:00
Stephan Hadinger 1e55a9ba50 OpenHASP support for dropdown attributes 2022-05-13 22:28:17 +02:00
Stephan Hadinger e6411a5d69 OpenHASP support for roller's text attribute 2022-05-13 12:12:48 +02:00
Stephan Hadinger aa1a0179a4 OpenHASP event value 2022-05-11 22:50:17 +02:00
Theo Arends 865ba51b7a Add command upload 2
Add command upload 2 to upload saveboot binary from production partition
2022-05-11 14:31:39 +02:00
s-hadinger 8814a60678
Merge pull request #15588 from s-hadinger/remove_getFlashChipSize
Remove `ESP.getFlashChipSize()` replaced by `ESP_getFlashChipSize()`
2022-05-10 23:31:58 +02:00
Stephan Hadinger 957c0a369d Remove `ESP.getFlashChipSize()` replaced by `ESP_getFlashChipSize()` 2022-05-10 23:15:26 +02:00
Stephan Hadinger a3c5a190de Berry partition_core fixes 2022-05-10 23:13:27 +02:00
Stephan Hadinger b5206206d7 OpenHSAP fix `val` attribute for `roller` and `slider` 2022-05-10 21:31:18 +02:00
Stephan Hadinger 350b670fa0 Esp32 real flash size 2022-05-09 22:43:27 +02:00
Stephan Hadinger 0b701d1643 Berry allow multiple string literal 2022-05-09 12:36:30 +02:00
Christian Baars 0e87f06ba6 Berry: add content_response() to webserver 2022-05-08 18:00:15 +02:00
Stephan Hadinger 8689563d90 Berry add additional primitives to partition_core 2022-05-08 14:15:36 +02:00
Stephan Hadinger 190b9ca17f Berry flash.factory and partition_core 2022-05-06 20:31:24 +02:00
s-hadinger cf8fe9e147
Merge pull request #15560 from s-hadinger/openhasp_support_strings_in_template
OpenHASP support string in template
2022-05-06 19:07:03 +02:00
Stephan Hadinger 02cafa1c85 OpenHASP support string in template 2022-05-06 18:57:49 +02:00
Stephan Hadinger 9e87e36ff0 Berry fix crash with GC for ctype 2022-05-05 19:10:20 +02:00
Stephan Hadinger f28dc39b82 Berry flash write unaligned and download to flash 2022-05-04 21:13:32 +02:00
Stephan Hadinger 5fbf1f266f Berry flash.factory() 2022-05-01 17:30:33 +02:00
Stephan Hadinger 495bfaf047 Berry add ota rollback 2022-05-01 16:14:19 +02:00
Stephan Hadinger 66aa714524 Berry partition manager display factory partition 2022-04-30 18:50:05 +02:00
Stephan Hadinger c394830f99 Berry make partition manager compatible with single OTA 2022-04-30 17:00:24 +02:00
Stephan Hadinger 83ba50f904 Berry make commands and rules reentrant 2022-04-30 12:48:06 +02:00
Stephan Hadinger 80cb0564cd Berry easier MQTT subscribe 2022-04-29 23:43:55 +02:00
s-hadinger 950933cafa
Berry rename solidified partition to partition_core (#15482)
* Berry rename solidified partition to partition_core

* Add init to force `partition_core` as global
2022-04-29 12:03:19 +02:00
Stephan Hadinger fd3bce508c Berry use crc32 code from esp rom 2022-04-29 10:19:47 +02:00
Stephan Hadinger d3e55ad43e Berry solidification of the partition core engine 2022-04-27 18:16:15 +02:00
Stephan Hadinger 79c171892b Berry fix wrong solidification of class name 2022-04-27 18:11:34 +02:00
Stephan Hadinger 002bc266eb Berry improve logging when using `load()` 2022-04-27 09:40:56 +02:00
Stephan Hadinger 8547cdaa0d Berry fix pointer warning 2022-04-26 23:01:10 +02:00
Stephan Hadinger 55d66c96d3 Berry fix assertion violation when loading bytecode 2022-04-26 22:28:41 +02:00
Stephan Hadinger 2106c5aa56 OpenHASP fix touch event 2022-04-25 19:24:55 +02:00
Stephan Hadinger 91b58679f3 OpenHASP add page events 2022-04-24 16:41:23 +02:00
Stephan Hadinger efb2423b88 OpenHASP support for qrcode 2022-04-24 10:18:40 +02:00
Stephan Hadinger 81a8ff273a OpenHASP memory optimization 2022-04-22 22:36:45 +02:00
Stephan Hadinger 71010423eb Sync with latest Berry PRs 2022-04-20 22:57:07 +02:00
Stephan Hadinger b422274e00 Berry support for SD card 2022-04-16 12:29:01 +02:00
Stephan Hadinger 7c48ba0c73 LVGL and OpenHASP for M5Stick 2022-04-14 23:19:05 +02:00
Stephan Hadinger 2c12266b1b Prepare for Arduino PR #6569 2022-04-13 19:15:20 +02:00
Stephan Hadinger 18239d9ca3 Berry stack resize debug mode 2022-04-10 22:28:22 +02:00
Stephan Hadinger ad5a31993a OpenHASP solidified 2022-04-09 11:40:41 +02:00
Stephan Hadinger a5c852b047 Berry solidification toggle for string literals 2022-04-09 09:50:17 +02:00
Stephan Hadinger 6ee2ed80f7 Berry supper class in member 2022-04-08 19:53:55 +02:00
Stephan Hadinger e3ebffcc72 OpenHASP v1.0 2022-04-06 21:29:24 +02:00
Stephan Hadinger 4629bb4436 Berry support for int keys in map in solidification 2022-04-06 19:19:17 +02:00
Stephan Hadinger d9cfe6128a Berry prep for OpenHASP 2022-04-05 21:38:43 +02:00
Stephan Hadinger 0915664eae Berry improve asserts and stack size 2022-04-04 09:10:54 +02:00
s-hadinger 33120a85f4
Berry add `tasmota.publish_rule` (#15243)
* Berry add `tasmota.publish_rule`

* Fix return value
2022-03-28 22:29:06 +02:00
Stephan Hadinger 355d0ab6e1 LVGL split lv_clock and lv_clock_icon 2022-03-27 16:57:54 +02:00
Stephan Hadinger 4df75cd54b Berry introspect.module 2022-03-27 09:57:05 +02:00
Staars 4fe37a10a4 add watch and block, generated part 2022-03-25 10:16:42 +01:00
Staars cf80b826ac add watch and block, code changes only 2022-03-25 10:15:58 +01:00
Stephan Hadinger 3a94f4aed9 Berry load increased logging 2022-03-23 10:56:12 +01:00
Stephan Hadinger ead18b63d6 Berry bytes setfloat getfloat 2022-03-21 23:07:48 +01:00
Stephan Hadinger 93f8446f5e Berry add int64 support 2022-03-21 19:35:57 +01:00
s-hadinger 1c8875025c
Merge pull request #15203 from s-hadinger/berry_ble_new_mapping
Berry move BLE MI32 to simplest C mapping
2022-03-21 19:26:04 +01:00
Stephan Hadinger 7a33dd0b36 Berry move BLE MI32 to simplest C mapping 2022-03-21 19:13:54 +01:00
Stephan Hadinger b72754ab06 Berry minor changes in ctypes class wrapper 2022-03-21 19:10:07 +01:00
Stephan Hadinger f14fae1070 Berry fix wrong type check 2022-03-20 20:50:07 +01:00
s-hadinger 06c96608bd
Merge pull request #15186 from s-hadinger/berry_tostring_ctype_func
Berry toint and tostring ctype_func
2022-03-20 12:44:21 +01:00
s-hadinger eb8a16959f
Berry add `get_switches` (#15185)
* Berry add `get_switches`

* typo
2022-03-20 12:38:53 +01:00
Stephan Hadinger aed7c1f753 Berry toint and tostring ctype_func 2022-03-20 12:34:40 +01:00
s-hadinger 01eade7e47
Berry native class array (#15178)
* Berry simplified classes in Flash

* Remove be_load_lvgl_classes
2022-03-19 14:27:03 +01:00
Stephan Hadinger d87b5c20ad Rename lib lv_berry to lv_binding_berry 2022-03-17 22:31:47 +01:00
Stephan Hadinger 5a3ffc426e Berry priority loading bec files 2022-03-17 21:54:41 +01:00
Stephan Hadinger ad05edb5ff Berry minor stylistic change 2022-03-15 21:38:40 +01:00
Stephan Hadinger 22195928f9 Berry fixed pre-compiled .bec files for static methods 2022-03-13 18:51:37 +01:00
s-hadinger c47e988349
Lvgl cleaned berry mapping (#15111)
* lv module

* More classes

* String literals

* Missed one
2022-03-12 17:45:16 +01:00
Stephan Hadinger a187375c02 Berry add `path.format(true)` 2022-03-12 12:19:10 +01:00
Stephan Hadinger 4a03360c90 Berry allow bytes() mapped region to hold a null pointer 2022-03-12 10:29:46 +01:00
Stephan Hadinger c15f52935a Berry fix cron 2022-03-10 23:29:40 +01:00
Stephan Hadinger 03c9664778 LVGL add string to buffer 2022-03-10 22:25:38 +01:00
Stephan Hadinger aae745183e Berry bytes, add _change_buffer() 2022-03-10 20:39:43 +01:00
Stephan Hadinger 3dea5fbf58 LVGL improved lv_coord_arr 2022-03-08 23:20:35 +01:00
Stephan Hadinger a7577cfefc Esp32 improve PWM inverted 2022-03-08 22:49:12 +01:00
Stephan Hadinger 575beba882 LVGL add support for lv_anim 2022-03-08 22:22:57 +01:00
Stephan Hadinger 011feb7e67 LVGL add support for lv_timer 2022-03-08 13:20:07 +01:00
Stephan Hadinger 7783389921 Auto assign RMT 2022-03-06 16:31:24 +01:00
Stephan Hadinger da783abaef Added assign_rmt 2022-03-06 16:13:23 +01:00
Stephan Hadinger 7a4108ef93 Fix WS2812 multi-strip support 2022-03-06 15:50:24 +01:00
Stephan Hadinger 9fa6a0fbbf LVGL Splash screen and ``SetOption135 1`` to disable splash screen 2022-03-05 22:56:24 +01:00
Barbudor f731beb2b8 Remove dependency on USE_LIGHT for cron class 2022-02-27 19:55:41 +00:00
Stephan Hadinger 4229cafa63 Berry fix cron 2022-02-25 21:52:35 +01:00
Stephan Hadinger 9252b6b75d Berry add `axp.power_off()` for AXP192 devices 2022-02-24 19:04:52 +01:00
Stephan Hadinger cce93b19b8 LVGL add display.driver_name 2022-02-23 19:34:13 +01:00
Stephan Hadinger 488ba6f6c4 Update be_mapping documentation 2022-02-23 19:26:29 +01:00
Stephan Hadinger 98a9455772 LVGL small fix 2022-02-23 12:31:01 +01:00
Stephan Hadinger e2d34985fe Add cron_next 2022-02-21 22:40:00 +01:00
Stephan Hadinger e83e501155 Berry add cron timers 2022-02-21 22:22:30 +01:00
Stephan Hadinger d00fc8702d Berry add global.contains() 2022-02-18 22:30:37 +01:00
Stephan Hadinger ab2cbdc85d lvgl add math functions 2022-02-17 13:28:42 +01:00
Stephan Hadinger de925142b2 lvgl updates and M5Stack Fire button support 2022-02-16 22:07:18 +01:00
Stephan Hadinger 7a006d7f47 Berry faster allocator for small objects 2022-02-15 22:51:11 +01:00
Stephan Hadinger 25acc6d06a Berry add id to rules 2022-02-15 22:30:44 +01:00
Stephan Hadinger 42b73ecfce Berry add module mqtt 2022-02-15 21:58:05 +01:00
Stephan Hadinger 0ab3dd8edd Berry add hue_bridge.light_to_id() 2022-02-15 21:44:45 +01:00
Stephan Hadinger 5f64dc38e0 Berry instance variables are never methods 2022-02-15 17:35:09 +01:00
s-hadinger 945682aa78
Berry virtual Alexa Hue device (#14833)
* Berry virtual Alexa Hue device

* Fix compilation
2022-02-13 22:59:43 +01:00
s-hadinger 33a779f105
LVGL library from 8.1.0 to 8.2.0 (#14815) 2022-02-12 18:54:39 +01:00
Stephan Hadinger a9dfd284bb Berry update internal type system 2022-02-12 18:14:22 +01:00
s-hadinger 7df607f471
LilyGo TWtach prep (#14800)
* LilyGo TWtach prep

* Fix compilation

* Add USE_LVGL_TOUCHSCREEN

* fix
2022-02-11 09:22:30 +01:00
s-hadinger efabaf3b2b
Berry add function check (#14787) 2022-02-09 13:52:40 +01:00
Jason2866 39a0c67d06
using Berry driver 2022-02-08 17:11:14 +01:00
Stephan Hadinger ae3dfec515 Add json sensor information for AXP192 2022-02-08 10:28:45 +01:00
Stephan Hadinger d1e14e50c8 Berry add light_state class 2022-02-02 22:03:58 +01:00
Theo Arends ddcf6f3639
Merge pull request #14675 from Jason2866/Esp32-S3
ESP32-S3 support first step (of many needed)
2022-01-31 08:35:23 +01:00
Stephan Hadinger 60b3c8006e Berry add uuid module 2022-01-30 23:05:32 +01:00
Jason2866 ec3b26da8b
add S3 2022-01-30 16:56:21 +01:00
Stephan Hadinger d8ef441424 Small fixes to Berry audio 2022-01-30 11:07:15 +01:00
Stephan Hadinger 98ddcc6658 Berry add `display.dimmer()` 2022-01-29 11:11:21 +01:00
Stephan Hadinger 00eb68f989 Remove autoconf icon 2022-01-28 22:31:00 +01:00
Stephan Hadinger 0ef94e2429 AXP192 add `set_exten` 2022-01-28 19:17:03 +01:00
Stephan Hadinger 539c508918 Increase PWM channels to 16 (Esp32 only) 2022-01-27 21:30:05 +01:00
Jason2866 32ec553cc7
Tasmota core 2.0.2.x based on release IDF44 (#14611)
* Tasmota core 2.0.2.x based on release IDF44
Co-authored-by: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
2022-01-27 16:53:39 +01:00
Stephan Hadinger 532afbaecd PWM auto-phasing for lights by default (new behavior) unless ``SetOption134 1`` 2022-01-24 22:48:57 +01:00
Stephan Hadinger 8c1d23683c Update berry strings 2022-01-23 09:57:22 +01:00
Stephan Hadinger 74a3580229 Berry final change to be_mapping 2022-01-23 09:56:29 +01:00
Stephan Hadinger 0cde972703 Fix crash when deleting custom widgets 2022-01-22 17:13:10 +01:00
Stephan Hadinger 5f43550a74 LVGL raise a warning if multiple event_cb are assigned to the same object 2022-01-22 10:41:59 +01:00
Stephan Hadinger fb59c63084 Berry improvement to constants 2022-01-20 22:02:21 +01:00
Stephan Hadinger 8a3f25e608 Berry ctype functions 2022-01-19 22:56:11 +01:00
Stephan Hadinger 367414b2be add non-method check to tasmota.set_timer 2022-01-18 22:45:20 +01:00
Stephan Hadinger cd401d3928 Berry check non-method 2022-01-18 22:13:40 +01:00
Christian Baars b08ad3843f
Update be_modtab.c
fix standard ble build 2/2
2022-01-17 20:47:32 +01:00
Christian Baars e58d1e3018
Add files via upload 2022-01-17 19:52:34 +01:00
Christian Baars 9828b96ccc
Update be_modtab.c
load MI32 and BLE
2022-01-17 19:51:27 +01:00
Stephan Hadinger 23c2efbe8f Fix to allow compilation of minicustom32 2022-01-16 21:34:29 +01:00
s-hadinger d123f8dbc5
LVGL add support for lv_timer and lv_coord_t * return value (#14465)
* LVGL add support for lv_timer and lv_coord_t * return value

* Patch for char **

* fix LV_ATTRIBUTE_TIMER_HANDLER

* Comptr is 'c'
2022-01-16 15:05:14 +01:00
s-hadinger 9136a7d3aa
Merge pull request #14443 from s-hadinger/remove_ld_warnings
Remove WiFiUDP32 to solve linker warnings
2022-01-14 23:10:17 +01:00
Stephan Hadinger fffcf1c2df Remove WiFiUDP32 to solve linker warnings 2022-01-14 22:53:19 +01:00
Stephan Hadinger b617ef878b Fix ld error 2022-01-14 22:20:31 +01:00
s-hadinger 7596a8edde
Merge pull request #14440 from s-hadinger/berry_silence_warning_lto-type-mismatch
Silence linker warnings with -flto
2022-01-14 21:01:35 +01:00
Stephan Hadinger a0922c11cd Silence linker warnings with -flto 2022-01-14 20:47:33 +01:00
Stephan Hadinger 99037b1366 Berry int() converts comptr 2022-01-14 17:47:24 +01:00
Stephan Hadinger da4260641f Reduced logs for uDisplay 2022-01-13 19:20:10 +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 0fd168c6cf Berry fast loop 2022-01-09 19:22:23 +01:00
Stephan Hadinger 3f6701a8bd Berry fix crash when superfluous parameter is sent 2022-01-08 10:55:05 +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
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
Stephan Hadinger c1e3d88f2f Berry fix string.format crash 2021-12-28 12:09:00 +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
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 8943656729 Fixed ESP32 LedPwmMode exception
Fixed ESP32 LedPwmMode exception (#14073)
2021-12-22 16:50:29 +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
Stephan Hadinger 38e6a9fdf0 Berry created separate library `lv_berry` to isolate LVGL-Berry mapping 2021-12-20 11:17:11 +01:00
Jason2866 416cadd229
Webcam reduce lib 2021-12-19 13:52:50 +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
Stephan Hadinger 26a7fad65b Berry C mapping moved to a separate ``berry_mapping`` library 2021-12-17 19:41:36 +01:00
Stephan Hadinger 5cd2c22730 Use htlm `&deg;` 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
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
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
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
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
Stephan Hadinger a147e00f6d Berry prevent crash when setting superclass of solidified class 2021-12-01 21:54:00 +01:00