Commit Graph

1199 Commits

Author SHA1 Message Date
s-hadinger e13c0a7114
Berry coc parser keeps order of variables (#21542) 2024-06-01 20:46:55 +02:00
s-hadinger e56f6a150d
Berry add reuse of methods for interface-like code reuse (#21500) 2024-05-26 23:05:43 +02:00
Christian Baars 688f3ffb19
Small changes to berry_custom to better keep the local repository clean (#21491)
* keep berry_custom clean with regards to GIT

* keep .keep
2024-05-25 09:23:08 +02:00
s-hadinger c161f63c9a
Berry fix message for borrowed method (solidification) 2024-05-24 22:59:19 +02:00
s-hadinger 0d3e888147
Berry change internal storage of parent class for methods (#21490)
* Berry change internal storage of parent class for methods

* Fix compilation of zigbee

* Patch solidify for berry_custom
2024-05-24 22:32:37 +02:00
Christian Baars e5521bb763
Build system: allow easy solidification of external Berry (#21430)
* custom solidification

* solidify-from-url

* forgot folders

---------

Co-authored-by: Radio Loge <radiologe@MacBook-Pro-von-Radio.local>
2024-05-24 20:57:43 +02:00
s-hadinger 4e6ba4fccc Solidified Code updated 2024-05-21 07:40:50 +00:00
Ludovic BOUÉ dc107a1a6e
Support for Matter 1.3 Water leak detectors (#21456)
* Create Matter_Plugin_2_Sensor_Waterleak.be

* Update Matter_Plugin_2_Sensor_Waterleak.be

* Create Matter_Plugin_3_Bridge_Sensor_Waterleak.be

* Create Matter_Plugin_9_Virt_Sensor_Waterleak.be

* Update Matter_UI.be

* Update be_matter_module.c

* Update Matter_UI.be

* Solidify Matter

* Solidified new Matter files

* Solidified new Matter files
2024-05-21 09:40:05 +02:00
s-hadinger 239ddfc15c
Wrong timeout in `WebQuery` and `webclient` since Core3 (#21442) 2024-05-19 19:47:32 +02:00
s-hadinger b69f9b77a7
Berry Leds matrix alternate more and error about 'bri' attribute (#21431) 2024-05-18 08:34:59 +02:00
s-hadinger 5b207209a5
Berry binary compiled with gcc (#21426) 2024-05-17 14:22:10 +02:00
s-hadinger b9bd558abe
Enabled watchdog for ESP32 and variants (#21422)
* Enabled watchdog for ESP32 and variants

* Ensure compilation for sageboot

* Fix compilation

* Fix compilation for RISCV
2024-05-16 21:19:34 +02:00
s-hadinger 4cda2d7dc2
Berry `Leds` uses native WS2812 driver by default (#21406) 2024-05-13 22:21:58 +02:00
Christian Baars 08f9b37b99
Berry add gpio.set_freq() (#21375) 2024-05-07 09:36:39 +02:00
s-hadinger f83c58fa0e
Matter broken NOCStruct types preventing pairing with HA (#21365) 2024-05-05 21:52:10 +02:00
s-hadinger 57cae7c259 Solidified Code updated 2024-05-05 17:43:19 +00:00
David Gwynne cced3d1d93
let berry drivers provide "after_teleperiod" handlers (#21351)
this is useful if you want to periodically report the state of something
handled separately to the sensors output.
2024-05-05 19:42:27 +02:00
Christian Baars ca5a2d322d
fix Tensorflow driver for IDF5.x (#21348) 2024-05-04 19:59:47 +02:00
s-hadinger fd148a8d12
Berry `math.inf`, `math.isinf()` and fixed json ouput for `inf` and `nan` (#21304) 2024-04-29 22:55:57 +02:00
s-hadinger 1e64eaddf3
Berry `webserver.content_close()` (#21276) 2024-04-25 12:50:43 +02:00
s-hadinger 91dd120aa9
TCP Tx En GPIO type (#21269) 2024-04-24 19:53:01 +02:00
s-hadinger c16a8411a8
Berry update windows binary (#21195) 2024-04-15 22:23:05 +02:00
s-hadinger c1845b952b
Berry apply upstream fixes (#21194) 2024-04-15 22:12:16 +02:00
s-hadinger 35c2d55382
Berry upstream walrus fix (#21175) 2024-04-14 15:58:30 +02:00
s-hadinger 105aa03198
Berry upstream fix mod 0 (#21174)
* Berry upstream fix mod 0

* Add test case
2024-04-14 14:55:20 +02:00
s-hadinger 2321d66ba6
Berry Matter int64 in CI (#21167) 2024-04-13 15:26:27 +02:00
s-hadinger 8acf4cd119
Berry fix for Ubuntu (#21166) 2024-04-13 15:19:04 +02:00
s-hadinger 177de35fbc
Revert "Matter include int64 in unit tests (#21161)" (#21162)
This reverts commit 31d98f3666.
2024-04-13 10:35:06 +02:00
s-hadinger 31d98f3666
Matter include int64 in unit tests (#21161) 2024-04-13 09:59:57 +02:00
s-hadinger 8736544a81
Berry fix upstream connect with undefined variable (#21156) 2024-04-12 15:34:24 +02:00
s-hadinger 7e455bad6b Solidified Code updated 2024-04-11 20:30:23 +00:00
s-hadinger 5e60d5217d
Berry compile local Berry with int64 (#21151)
* Berry compile local Berry with int64

* Revert solidify
2024-04-11 22:18:59 +02:00
s-hadinger 918faf3af6 Solidified Code updated 2024-04-11 20:04:04 +00:00
s-hadinger 7e2fff9728
Berry prepare compilation on 64bits platforms (#21149) 2024-04-11 22:03:12 +02:00
s-hadinger 0484299ee4
Align with Berry PR #412 (#21143) 2024-04-11 10:51:15 +02:00
s-hadinger 541f3630a1
Wifi provide Mac Address on Core3 (#21117) 2024-04-07 10:55:53 +02:00
s-hadinger 2128dfbade
Refactored Wifi for ESP32 to allow for Core3 (#21106)
* Refactored Wifi for ESP32 to allow for Core3

* Fix case in include

* Grrr

* Fix compilation

* Fix Ethernet IPv6

* Fix wrong hostname due to mac address unknown at start
2024-04-05 23:44:21 +02:00
s-hadinger 07a2df1b74
Berry add `flash.current_ota` (#21097) 2024-04-04 19:14:33 +02:00
Theo Arends 7c36029ec2 Add command ``Wifi 5`` to enable 11ax on ESP32 Core3 2024-04-03 14:36:52 +02:00
s-hadinger c19391da8d
Berry loading .be file does not generated .bec anymore (#21075) 2024-03-31 21:37:26 +02:00
Theo Arends 4b44d2fa32 Change ESP32 WiFi phy modes 11n and 11ax represented as HT20, HT40 and HE20 (#19350) 2024-03-29 13:04:44 +01:00
s-hadinger aa4bdebe55
Berry `print "a"` syntax no longer supported (#21048) 2024-03-27 16:22:27 +01:00
s-hadinger 06e352dc19
Berry added `close()` to class `serial` (#21042) 2024-03-26 22:23:37 +01:00
s-hadinger 15ae3e0fa5
berry.exe (pre-compiled for Windows) updated to latest Berry patches (#21024) 2024-03-24 16:33:21 +01:00
s-hadinger c95483844a
Berry fix walrus bug when assigning to self (#21015) 2024-03-22 18:51:48 +01:00
s-hadinger 26a3eacbd6
Berry update windows binary (#20940) 2024-03-12 23:10:07 +01:00
s-hadinger 0518bd6c64
Berry fix walrus with member or index (#20939) 2024-03-12 23:00:52 +01:00
s-hadinger 8b7cd2de44
HASPmota moved to a distinct library `lv_haspmota` (#20929) 2024-03-11 22:31:44 +01:00
s-hadinger 9e8bd2156b
HASPmota add generic setter and getters for style attributes (#20919) 2024-03-10 22:54:55 +01:00
s-hadinger 268fad6d0d
LVGL remove `textarea` and `spinbox` from binaries (#20916) 2024-03-10 20:52:16 +01:00
s-hadinger 8ff9fffa0a
HASPmota use endswith (#20914) 2024-03-10 19:14:23 +01:00
s-hadinger bb07ded475
Berry add `string.starstwith`, `string.endswith` and `%q` format (#20909)
* Berry add `string.starstwith`, `string.endswith` and `%q` format

* Fix typo

---------

Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
2024-03-10 14:31:15 +01:00
Jason2866 224a9fb717
Fix compile for upcoming Arduino Core 2.0.15 (#20908)
* Fix compile for Arduino Core > 2.0.14
* missing include `esp_arduino_version.h`
2024-03-10 14:08:29 +01:00
s-hadinger 93e27654e6
HASPmota improve arc and img (#20894) 2024-03-09 09:21:37 +01:00
s-hadinger 9b2720c64d
HASPmota fix widgets line, btnmatrix, qrcode, bar, checkbox (#20881) 2024-03-06 09:20:04 +01:00
s-hadinger 29a8f82421
HASPmota set Tasmota logo (#20860) 2024-03-03 22:06:59 +01:00
s-hadinger 9759cca4f4
HASPmota support for led (#20857) 2024-03-03 18:39:40 +01:00
s-hadinger 174caf2251
HASPmota fix chart range (#20856) 2024-03-03 17:48:12 +01:00
s-hadinger 27ccf0490b
HASPmota support for spangroup (styled text) (#20852) 2024-03-03 10:53:21 +01:00
s-hadinger 6a35795178
Matter save fabrics more robust (#20847) 2024-03-02 08:32:10 +01:00
s-hadinger b06c310305
Berry update Windows binary (#20845) 2024-03-01 19:37:45 +01:00
s-hadinger 92b9190817
Berry add `path.rename()` (#20840) 2024-02-29 23:38:20 +01:00
s-hadinger e55471e084
Berry bug when parsing ternary operator (#20839) 2024-02-29 19:23:32 +01:00
s-hadinger 7ad95faad2
Fix Berry Memory leak in `import re` (#20823) 2024-02-27 21:56:51 +01:00
s-hadinger a4397b26b8
HASPmota PSRAM memory leak (#20818) 2024-02-26 23:46:07 +01:00
s-hadinger 3d3280eb8e
Matter reduce memory usage when saving Fabrics (#20809) 2024-02-25 23:02:13 +01:00
s-hadinger 55be1866ad
Berry add explicit error log when memory allocation fails (#20807) 2024-02-25 21:17:08 +01:00
s-hadinger 7402fe06fd
Matter reduce memory usage when reading with wildcards (#20804) 2024-02-25 19:45:56 +01:00
Theo Arends 87567b25b2 Move RF libs to correct location enabling ESP8266 support 2024-02-25 14:21:49 +01:00
s-hadinger d130a637da Solidified Code updated 2024-02-24 18:26:43 +00:00
s-hadinger cadea7540a
Matter reduce logging of subscriptions 2024-02-24 19:25:44 +01:00
s-hadinger 4bc8a41502
Minor Berry fixes (#20799) 2024-02-24 18:40:16 +01:00
s-hadinger 4dc827f431
Add TLV unit test (#20798) 2024-02-24 18:40:10 +01:00
Theo Arends 9aff378ef8 Update LoRaSend 2024-02-24 18:25:40 +01:00
Theo Arends 87f17404c0 fix RadioLib compile on safeboot 2024-02-23 18:48:14 +01:00
Theo Arends 0632f4e7d6 Remove vulnerabilities 2024-02-23 16:24:10 +01:00
Theo Arends d258b9a758 Prep LoRa 2 2024-02-23 16:20:09 +01:00
Theo Arends d4980b9957 Prep SPI LoRa 2024-02-23 14:58:39 +01:00
s-hadinger 772a1533a6 Solidified Code updated 2024-02-21 07:44:12 +00:00
s-hadinger 0ecefe4c20
Temporarily expand Matter logs 2024-02-21 08:43:21 +01:00
s-hadinger 59653c7bff Solidified Code updated 2024-02-20 16:00:50 +00:00
s-hadinger 7ae074b4f2
Try matter fix 2024-02-20 16:59:56 +01:00
arendst 456ce5cd31 Solidified Code updated 2024-02-17 15:08:55 +00:00
Theo Arends d774643b9c Prep AXP2101 2024-02-17 16:08:04 +01:00
Theo Arends 1abaf146b5 Fix ESP32 PWM activity on unconfigured PWM GPIOs (#20732) 2024-02-17 15:19:12 +01:00
Theo Arends 7216db339e Final fix 2024-02-16 20:10:55 +01:00
Theo Arends 733b9254a5 Workaround core3 2024-02-16 20:04:46 +01:00
Theo Arends 0faef8e4dd Fix PWM channels after restart (#20732) 2024-02-16 18:57:03 +01:00
s-hadinger d3093a13c2
HASPmota more attributes (#20744) 2024-02-16 17:23:24 +01:00
s-hadinger a51b08b36c
typicons font to LVGL and HASPmota (#20742) 2024-02-16 12:42:11 +01:00
s-hadinger b91f93062a
HASPmota `p<x>b<y>.delete` to delete an object (#20735) 2024-02-15 23:16:12 +01:00
s-hadinger 036723ddb5
Berry class `int64` made immutable (#20727) 2024-02-14 18:24:59 +01:00
Benjamin Nestler f98c66fa81
Show ARG_HINT as tooltip for Web UI configuration of Matter endpoints (#20723)
* ADD: Show the argument hint(s) as tooltip of input box.

* CHG: MATTER_ADD_ENDPOINT_HINTS_JS to change the tooltip relating to endpoint argument hint

* CHG: Show the enpoint number in confirmation of deletion dialog.

* CHG: Too reduce the number of used bytes for this JS

* ADD: solidificated file
2024-02-14 15:48:46 +01:00
s-hadinger c73133b10a
LVGL simplification of custom widgets (#20711) 2024-02-12 13:50:58 +01:00
s-hadinger fa7e225d5b
Matter minor fix to logs (#20708) 2024-02-11 17:53:06 +01:00
s-hadinger 3a44d19e8b
Matter implement auto-attributes (#20694) 2024-02-10 18:13:56 +01:00
Benjamin Nestler d015ee4679
Fixes redirects for Advanced Matter configuration UI (#20690)
* CHG: Reload the advanced page after deletion of fabrics.

* CHG: Redirect to Matter configuration page from advanced Matter configuration page
2024-02-09 18:36:35 +01:00
Christian Baars b02de6de6f
add BLE.info() (#20682) 2024-02-08 11:31:48 +01:00
s-hadinger 57cf29c2fd
Matter improve `MtrInfo` (#20686) 2024-02-07 18:09:22 -08:00
s-hadinger a5e3391ca8
Matter fix introspect.contains (#20685) 2024-02-08 02:42:21 +01:00
s-hadinger 5e4a1d7b32
Matter fix configuration loading (#20677) 2024-02-07 05:25:51 +01:00
s-hadinger 22581b0f7e
Matter fix exception when calling remove_fabric (#20674) 2024-02-06 16:02:49 +01:00
arendst 2dc46394dc Solidified Code updated 2024-02-05 15:00:31 +00:00
Theo Arends f88a8a6765 Add berry divider 2024-02-05 15:59:37 +01:00
s-hadinger ff6be70ce1
LVGL library updated to v9.0.0, some small breaking changes in C, none in HASPmota (#20659)
* LVGL library updated to v9.0.0, some small breaking changes in C, none in HASPmota

* fix compilation

* Move lvgl_berry to LVGL_assets
2024-02-05 12:07:41 +01:00
s-hadinger 2a4c59dc68
Matter fix exception when fabrics is not initialized (#20667) 2024-02-05 11:48:07 +01:00
s-hadinger fd52aaee14
Matter add human readable names for TimeSync cluster (#20666) 2024-02-05 11:47:37 +01:00
s-hadinger 26f469f766
Fix UpdateFabricLabel (#20665) 2024-02-04 23:13:17 +01:00
s-hadinger 08ac7541aa
Matter fix Google Home removal of device (#20663)
* Matter fix fabrics id type

* Fix session removal

* add to changelog
2024-02-04 22:54:57 +01:00
s-hadinger 34553f0812
Matter fix endpoint adjusment (#20657) 2024-02-04 12:50:53 +01:00
s-hadinger 110c88e8e1
Matter aggregator relocated to endpoint 1 for Google compatibility, may break existing associations (#20654) 2024-02-03 19:56:29 +01:00
s-hadinger 6c16a5122a
Berry add `introspect.contains` and `bytes.addfloat` (#20635) 2024-02-01 09:52:24 +01:00
s-hadinger 9454336f3c
Berry allow mapping within module (#20606) 2024-01-27 13:01:28 +01:00
s-hadinger 19b9960168
Berry C mapping, raise an error if too many arguments are sent (#20604) 2024-01-27 11:59:45 +01:00
gemu 04bb28bc20
fix email32 file system (#20603)
* fix file system

* fix email attachments

* Update MB_FS.h
2024-01-27 09:06:41 +01:00
s-hadinger 559789b4ec
HASPmota support for `min` and `max` attribute in `slider` (#20582) 2024-01-24 23:27:01 +01:00
s-hadinger d531583721
Clean solidified animate (#20574) 2024-01-23 23:16:24 +01:00
s-hadinger 6d0c2fa9bc
Matter fix support for Alexa (#20545) 2024-01-19 20:06:06 +01:00
s-hadinger 6b4254a014
Berry syntax coloring for Notepad++ (by FransO) (#20541) 2024-01-18 23:24:18 +01:00
s-hadinger 06c2d78d5f
Berry assigment to list with negative index (#20537) 2024-01-18 22:01:39 +01:00
s-hadinger a2c4123d79
Berry add solidification of strings longer than 255 bytes (#20529) 2024-01-18 12:31:47 +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
s-hadinger 08a14ccc9e
LVGL add `lv.str_arr` (#20480) 2024-01-12 19:48:33 +01:00
s-hadinger b0f4542707
Berry `debug.caller` (#20470) 2024-01-12 08:29:14 +01:00
s-hadinger edda5ddc33
Berry `tasmota.webcolor` (#20454) 2024-01-10 09:08:11 +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
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
s-hadinger 298ee22ebf
Berry add `string` to `bytes()` (#20420) 2024-01-07 15:38:29 +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 bd9a99caff
Berry `gpio.get_pin_type` and `gpio.ger_pin_type_index` (#20415) 2024-01-06 22:20:22 +01:00
s-hadinger 324689ee53
Berry `gpio.read_pwm` and `gpio.read_pwm_resolution` (#20414) 2024-01-06 21:22:45 +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 b56e8bb014 Revert "Add libs"
This reverts commit 7042b8344c.
2024-01-04 22:50:33 +01:00
Theo Arends 7042b8344c Add libs 2024-01-04 18:31:04 +01:00
s-hadinger 6768ebc2ac
Berry fix static allocation when superclass is a member (#20385) 2024-01-03 16:12:47 +01:00
s-hadinger 54e88c2926
HASPmota type `chart` (#20372) 2024-01-02 12:16:50 +01:00
s-hadinger 6a8435b731
Berry added `introspect.set()` for class attributes (#20339) 2023-12-29 10:17:10 +01:00
s-hadinger 1f662a6dad
HASPmota added `haspmota.page_show()` to change page (#20333) 2023-12-28 22:19:58 +01:00
s-hadinger 67b36030dc
Berry sync upstream #369 (#20330) 2023-12-28 17:00:35 +01:00
s-hadinger 3415453620
Berry Improve error message when constructor returns NULL (#20314) 2023-12-26 12:29:50 +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
s-hadinger 6c0028de4e
Matter improve read sensors (#20302)
* Matter improve read_sensors scheduling

* Imprtove logging

* add scheduler call

* remove unwanted print

* fix
2023-12-24 09:31:53 +01:00
s-hadinger fb90a34b0a
Matter support for password for remote Tasmota devices (#20296) 2023-12-23 10:54:22 +01:00
s-hadinger fbc827d11d
Berry fix leds brightness (#20292) 2023-12-22 18:10:34 +01:00
Christian Baars 0e87096bad
allow Berry fast_loop for BLE module (#20281) 2023-12-21 20:28:08 +01:00
s-hadinger 5fd8faa633
Add animate palettes (#20256) 2023-12-17 21:23:43 +01:00
s-hadinger dc98f6e190
Simplify animate (#20254)
* Simplify animate

* make add_ methods idempotent
2023-12-17 20:47:18 +01:00