Commit Graph

1078 Commits

Author SHA1 Message Date
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
s-hadinger cc5eb732ea
Fix animation (#20250) 2023-12-16 22:38:04 +01:00
s-hadinger 3f4b69f91c
Improve animation (#20246) 2023-12-16 17:26:58 +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
s-hadinger 5102dbf1d2
Matter Contact sensor was not triggering any update (#20232) 2023-12-13 20:07:12 +01:00
s-hadinger f796915fd1
HASPmota `bar` fixed `val` attribute (#20208) 2023-12-11 22:13:24 +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 15d72e9f33
Fix solidification of leds (#20199)
* Fix solidification of leds

* Fix includes
2023-12-08 22:41:44 +01:00
s-hadinger d61adb0b0c
Leds animation refactoring stage 1 (#20197) 2023-12-08 21:13:44 +01:00
s-hadinger fd0a2fdaa5
Update berry.exe (#20186) 2023-12-07 22:07:11 +01:00
s-hadinger 40ed8aa10f
Bring back `invalidate_spiffs()` (#20184) 2023-12-06 21:39:52 +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 1b0454f6bc
Fix AES CBC (#20078) 2023-11-21 17:12:01 +01:00
s-hadinger f1fe32b541 Solidified Code updated 2023-11-19 16:16:50 +00:00
s-hadinger e3b151c756
Fix Berry parser error in specific cases (#20059)
* Fix Berry parser error in specific cases

* fix typo

* Fix last bug (hopefully)
2023-11-19 17:16:03 +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
Christian Baars cf6de0ce31
add AES_CBC to crypto module (#19964) 2023-11-09 14:27:17 +01:00
s-hadinger b04d26a7a3 Solidified Code updated 2023-11-08 20:40:15 +00:00
Ludovic BOUÉ 0303cca1db
Fix for Matter flow sensor (#19961)
* Update Matter_Plugin_4_Bridge_Sensor_Flow.be

MeasuredValue represents 10 x flow in m3/h

* Update Matter_Plugin_3_Sensor_Flow.be

MeasuredValue represents 10 x flow in m3/h

* Update Matter_Plugin_4_Bridge_Sensor_Flow.be

MinMeasuredValue comment
2023-11-08 21:39:20 +01:00
s-hadinger ceda8782c8
Berry fix bytes getter for 3-bytes big-endian (#19945) 2023-11-06 17:48:24 +01:00
s-hadinger 625b204cb2
Berry ``debug.gcdebug()`` to enable GC debugging (#19936) 2023-11-05 18:40:28 +01:00
s-hadinger dcbb22a256
Matter improve virtual plugins (#19918)
* Matter improve virtual plugins

* Disable sensor probing for virtual

* solidify
2023-11-03 23:12:04 +01:00
s-hadinger 8e6a8b6cff
Matter solidify map of plugins (#19917) 2023-11-03 21:50:55 +01:00
s-hadinger ec039a8390
Matter update hierarchy of plugins (#19915) 2023-11-03 14:21:13 +01:00
s-hadinger 2791087f3c Solidified Code updated 2023-11-03 10:10:03 +00:00
Ludovic BOUÉ 8c40d77664
Adding Matter Flow sensor support (#19852)
* Create Matter_Plugin_3_Sensor_Flow.be

* Create Matter_Plugin_Bridge_Sensor_Flow.be

* Create Matter_Plugin_9_Virt_Sensor_Flow.be

* Update Matter_Plugin_3_Sensor_Flow.be

0x0404 Flow Measurement cluster

* Rename Matter_Plugin_Bridge_Sensor_Flow.be to Matter_Plugin_4_Bridge_Sensor_Flow.be

* Update Matter_UI.be

* Update be_matter_module.c

* Update be_matter_module.c

* Fixes

* Update be_matter_module.c

* Update Matter_Plugin_9_Virt_Sensor_Flow.be

* Update Matter_Plugin_3_Sensor_Flow.be

* Update be_matter_module.c

* Update solidified_Matter_Plugin_9_Virt_Sensor_Flow.h
2023-11-03 11:08:38 +01:00
s-hadinger 217c568301
HASPmota add styling properties (#19912) 2023-11-02 22:11:48 +01:00
s-hadinger 86e777eaad
Fix python coc warning (#19895) 2023-11-01 12:09:10 +01:00
s-hadinger 0cd1ae965c
Berry fix warning in be_lexer (#19892) 2023-10-31 22:11:18 +01:00
Andreas Ziemer dfa6f9a771
Update be_lexer.c (#19856)
Added check for unterminated block comments
2023-10-28 11:43:35 +02:00
s-hadinger d2b370ab44
Fix Berry on old ESP32 (#19830) 2023-10-24 18:01:14 +02:00
s-hadinger 59be99991c
Matter Light0 now accept a Relay number (#19809) 2023-10-20 18:20:31 +02:00
Ludovic BOUÉ 6844bb606d
Create Matter_Plugin_9_Virt_Sensor_Occupancy.h (#19786)
* Create Matter_Plugin_9_Virt_Sensor_Occupancy.h

* Create Matter_Plugin_9_Virt_Sensor_Occupancy.be

Implements the behavior for a Virtual Occupancy Sensor

* Update be_matter_module.c

Enable Virt_Sensor_Occupancy

* Create solidified_Matter_Plugin_9_Virt_Sensor_Occupancy.h

* Update Matter_UI.be

Add missing v_occupancy and v_onoff

* Update solidified_Matter_UI.h

* Update be_matter_module.c

* Update be_matter_module.c

* Update Matter_Plugin_9_Virt_Sensor_Occupancy.be

* Delete lib/libesp32/berry_matter/src/solidify/Matter_Plugin_9_Virt_Sensor_Occupancy.h

Remove undeeded file

* Update solidified_Matter_Plugin_9_Virt_Sensor_Occupancy.h

Fix case

* Update solidified_Matter_UI.h

Fix case

* Update be_matter_module.c

Update

* Update Matter_UI.be

remove v_onoff

* Update solidified_Matter_UI.h

update

---------

Co-authored-by: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
2023-10-19 22:55:29 +02:00
s-hadinger 385408dcfd
Berry fix bool side effect (#19790) 2023-10-18 20:02:47 +02:00
Jason2866 a3dcbc6661
Remove `WiFiClientSecure` (#19725)
* Update HttpClientLight.cpp
* Update HttpClientLight.h
* Update Powerwall.h
* Update xdrv_10_scripter.ino
2023-10-12 20:10:16 +02:00
s-hadinger 906a12f21d
Berry add unit test for #19655 (#19692) 2023-10-06 22:46:02 +02:00
s-hadinger ab45702519
Fix Berry solidification (#19691) 2023-10-06 22:42:38 +02:00
s-hadinger 23a3c33968
Berry fix esp-idf 5 compilation 2023-10-06 21:17:49 +02:00
s-hadinger 72b2767a74
Fix compilation with Arduino 3 alpha 1 (#19690) 2023-10-06 21:00:42 +02:00
s-hadinger bf9c5b86c6
Remove warnings when compiling Audio with Arduino 3 (#19687) 2023-10-06 19:47:10 +02:00
s-hadinger 11aad19800
Audio support for Microphone + Berry (#19677) 2023-10-05 21:47:07 +02:00
s-hadinger 69a3573f7e Solidified Code updated 2023-10-05 15:55:10 +00:00
s-hadinger 3f91d5b513
Matter fix missing shadow_onoff 2023-10-05 17:53:31 +02:00
s-hadinger 473a8ee999
Audio refactoring, filters and I2SConfig (#19662) 2023-10-03 22:39:02 +02:00
s-hadinger 94842bc0d1
Support for grow on mount when resizing FS to max (#19659) 2023-10-03 19:14:45 +02:00
s-hadinger 288fe3b282
Berry fix compilation with integer index (#19655) 2023-10-03 15:21:48 +02:00
s-hadinger 77cba731b9
Partition_Wizard compatible with grow on mount (#19645) 2023-10-02 23:32:55 +02:00
s-hadinger 2ad6353a2d
Matter improve error message for MtrUpdate (#19644) 2023-10-02 22:00:55 +02:00
s-hadinger 795a194d65
Audio prepare for Arduino3 (#19637) 2023-10-02 09:18:53 +02:00
s-hadinger 2e0c958b97 Solidified Code updated 2023-10-01 10:25:26 +00:00
Ludovic BOUÉ ead677d148
Add missing UPDATE_COMMANDS for Contact sensor (#19632) 2023-10-01 12:23:57 +02:00
Ludovic BOUÉ f9f3630fca
Update Matter_Plugin_3_Sensor_Occupancy.be (#19631)
Add missing UPDATE_COMMANDS for Occupancy sensor
2023-10-01 12:23:29 +02:00
s-hadinger d1c643a591
Matter tentative fix for SmartThings (#19620) 2023-09-30 14:15:50 +02:00
s-hadinger 31e56903c5
Audio refactoring and fixes (#19594) 2023-09-25 23:31:32 +02:00
s-hadinger 81d287a3b0
Berry fix audio MP3 (#19578) 2023-09-23 12:23:51 +02:00
s-hadinger 63fd3e753a Solidified Code updated 2023-09-22 15:33:45 +00:00
s-hadinger 06da24df83
Update berry scripts for Shelly (#19535) 2023-09-22 17:32:34 +02:00
s-hadinger 7de25acac0
Minor refactoring of audio code for Arduino3 (#19559) 2023-09-21 09:00:28 +02:00
s-hadinger fc513af351
Berry counter (#19558)
* Berry read and write Counters

* rename counter
2023-09-20 22:28:40 +02:00
s-hadinger 141a38191a
Matter add virtual sensors (#19530) 2023-09-16 10:55:05 +02:00
s-hadinger d6f0b75959 Solidified Code updated 2023-09-14 21:44:06 +00:00
s-hadinger 04e0d23aba
Fix typo 2023-09-14 23:43:05 +02:00
s-hadinger e5916337ef
Matter support for Virtual Devices controllable via Rules or Berry (#19520) 2023-09-14 22:53:12 +02:00
s-hadinger 00bd97fdc7
Matter virtual lights (#19511) 2023-09-13 22:49:46 +02:00
blakadder 8246410c8a
fix compile errors on exotic windows codepages (#19508) 2023-09-13 15:06:01 +02:00
s-hadinger 6d0b2f6bc3
Fix invalid character 2023-09-13 13:47:30 +02:00
s-hadinger 34cea00ae2
Fix hidden invalid character 2023-09-13 13:45:53 +02:00
s-hadinger 059d1197c5
Matter consolidate attributes per cluster (#19493) 2023-09-10 22:11:08 +02:00
s-hadinger f1bd9446d5
Matter events phase 1 (#19484) 2023-09-09 14:50:40 +02:00
s-hadinger 7726f1eef4
Fix typo in berry mqtt (#19477) 2023-09-07 20:44:30 +02:00
s-hadinger 4100682297
Fix TLS by removing redundant BearSSL code from libmail (#19472) 2023-09-06 20:12:59 +02:00
s-hadinger c2f8821b2f
`Sendmail` upgraded to ESP-Mail-Client v3.4.9 from v1.2.0, using BearSSL instead of MbedTLS (#19460)
* `Sendmail` upgraded to ESP-Mail-Client v3.4.9 from v1.2.0, using BearSSL instead of MbedTLS

* Fix compilation on ESP8266

* Fix compilation

* fix compilation
2023-09-04 23:00:37 +02:00
s-hadinger bb4d99114a
Berry move mapping from C++ to C (#19450) 2023-09-03 22:50:03 +02:00
s-hadinger fe0423c6cd
Berry cleaned udp class (#19449) 2023-09-03 21:49:35 +02:00
s-hadinger a781ba3fc2
Fix compilation on Arduino 3 (#19447)
* Fix compilation on Arduino 3

* Fix compilation
2023-09-03 19:02:44 +02:00
s-hadinger 4cb8b987a4
Berry move solidified code to C (#19446) 2023-09-03 18:30:22 +02:00
s-hadinger 8a514a0758
Berry make mdns compatible with non-IPv6 builds (#19444) 2023-09-03 16:18:38 +02:00
Theo Arends 701d33f645 Phase 2 support C2/C6 2023-08-23 13:02:13 +02:00
Theo Arends eccfbc334c Fix compile warning 2023-08-20 18:27:34 +02:00
Theo Arends 0acd5335d5 Remove debug messages (#19365) 2023-08-20 17:49:21 +02:00
Дилян Палаузов f9f5d5d55c
Typo architceture → architecture (#19288) 2023-08-10 16:22:44 +02:00
s-hadinger 0b3d6fd146
Prepare for Arduino v3 / esp-idf v5 2nd batch (#19265) 2023-08-05 20:34:24 +02:00
s-hadinger 5c8c7cdfca
Prepare for Arduino v3 / esp-idf v5 (#19264) 2023-08-05 15:11:10 +02:00
s-hadinger 70ced65aaf
Fix compilation when IPv6 is not supported (#19260) 2023-08-05 10:17:56 +02:00
s-hadinger 362326f004
Zigbee Berry minor fix and cleaning (#19257)
* Zigbee Berry minor fix and cleaning

* Fix compilation
2023-08-05 09:50:39 +02:00
s-hadinger 1587bf5ba7
Matter fix auto-configuration Relay indices (#19255) 2023-08-04 09:13:20 +02:00
s-hadinger b6129f2ab7
Matter support for large atribute responses (#19252)
Support for responses (arrays) that do not fit in a single UDP packer
Do not remove children fabrics
2023-08-03 18:28:25 +02:00
s-hadinger 76662ab236
Matter support for fabric_filtered request (for Google compatibility) (#19249) 2023-08-02 23:00:26 +02:00
s-hadinger 58fce33312
Matter increased polling frequency for local switches/occupancy (#19242) 2023-08-02 09:02:08 +02:00
s-hadinger 80617e96e1
Berry bytes `get` and `set` work for 3 bytes values (#19225)
* Berry bytes `get` and `set` work for 3 bytes values

* Fix error message
2023-07-31 13:57:07 +02:00
s-hadinger 148c1a2f74
Fix fabric saving exception (#19224) 2023-07-30 19:09:27 +02:00
s-hadinger 1a91dc441b
Berry improve tasmota.scale_uint() (#19197) 2023-07-26 22:31:22 +02:00
s-hadinger 2cc0964a5f Solidified Code updated 2023-07-20 19:28:05 +00:00
s-hadinger 758b0237b4
Matter latency improvement for single attribute reads and single commands (#19158) 2023-07-20 21:26:55 +02:00
s-hadinger 3da5124348
Berry add AES CCM decrypting in a single call to avoid any object allocation (#19153) 2023-07-19 21:15:08 +02:00
s-hadinger 2a3690b866
Berry `tasmota.loglevel()` and `tasmota.rtc_utc()` for faster performance (#19152) 2023-07-19 20:58:50 +02:00
s-hadinger 0b59cda02a
Berry add metrics for memory allocation/deallocation/reallocation (#19150) 2023-07-19 20:41:41 +02:00
s-hadinger 410a6b99d9
Berry update grammar (#19129) 2023-07-16 15:32:59 +02:00
s-hadinger 00249ac3eb
Fix typo 2023-07-16 15:05:41 +02:00
s-hadinger f4ff0010af
Berry fix syntax highlighting for escaped chars (#19126) 2023-07-16 11:15:33 +02:00
s-hadinger 315fe36727
Berry check arguments for `range()` (#19124) 2023-07-15 23:25:51 +02:00
s-hadinger ca8ec6a006
Berry updated syntax highlighting plugin for VSCode (#19123) 2023-07-15 22:43:38 +02:00
s-hadinger 0c0ca82198
Update Berry windows exe to latest (#19121) 2023-07-15 19:20:59 +02:00
s-hadinger 46e17061b2
Berry extend `range(lower, upper, incr)` to arbitrary increment (#19120) 2023-07-15 19:09:52 +02:00
s-hadinger af27d65a8a
Sync with Berry upstream (#19119) 2023-07-15 18:11:04 +02:00
s-hadinger ada754c582
Berry add `energy.update_total()` to call `EnergyUpdateTotal()` from energy driver (#19117) 2023-07-15 17:06:10 +02:00
s-hadinger 8c31acd376
Berry minor fixes from upstream (#19091) 2023-07-11 08:21:09 +02:00
s-hadinger 7404b8ddbb
Berry `_class` can be used in `static var` initialization code (#19088) 2023-07-10 17:50:04 +02:00
s-hadinger fcfc3ecb37
Matter fix session not being removed from memory (#19081)
* Matter fix session not being removed from memory

* Fix
2023-07-09 19:36:36 +02:00
s-hadinger 8d161d04f7
Matter add mini-profiler (#19075) 2023-07-08 18:58:44 +02:00
s-hadinger 0502c15ce3
Matter increase logs when storing sessions (#19073) 2023-07-08 15:05:03 +02:00
s-hadinger 7afc4865e1
Matter improve latency for remote commands (#19072) 2023-07-08 12:00:23 +02:00
s-hadinger a0c4d914e8
Matter fix bug when saving Force Static endpoints (#19071) 2023-07-08 11:25:33 +02:00
s-hadinger 2ecb697a3f
Berry added `getgbl` performance counter to `debug.counters()` (#19070)
* Berry add `getgbl` counter

* Berry added `getgbl` performance counter to `debug.counters()`
2023-07-08 11:25:25 +02:00
s-hadinger 5c9c4e6dad
Matter increase logs in save_fabrics (#19060) 2023-07-06 22:15:37 +02:00
s-hadinger 57c4825ccd
`BrRestart` now supports web handlers to work after Berry restart (#19057) 2023-07-06 21:37:46 +02:00
s-hadinger f56307e321
Fix to Partition_Wizard for shelly (#19056) 2023-07-06 20:59:50 +02:00
Christian Baars 4c0535687f
Accelerate path.listdir() (#18927)
* Accelerate path.listdir()

* restore old behavior, push filename only and not the full path to the list
2023-07-06 11:10:26 +02:00
s-hadinger cc55cf0bb1
Revert "Berry `var` allowed in with walrus operator `:=` (#19018)" (#19019)
This reverts commit 8f06552eee.
2023-07-03 14:10:05 +02:00
s-hadinger 8f06552eee
Berry `var` allowed in with walrus operator `:=` (#19018)
* Berry `var` allowed in with walrus operator `:=`

* fix regression
2023-07-03 12:28:41 +02:00
s-hadinger d72f3b9978
Command ``BrRestart`` to restart the Berry VM (experimental) (#19003)
* Command ``BrRestart`` to restart the Berry VM (experimental)

* Add web button for Berry Restart
2023-07-02 21:52:01 +02:00