Commit Graph

1198 Commits

Author SHA1 Message Date
s-hadinger 1b887d7202
Berry consolidated constants for solidified classes reduces Flash size (#21845) 2024-07-25 22:53:02 +02:00
s-hadinger 5096a13620 Solidified Code updated 2024-07-24 21:00:42 +00:00
s-hadinger bf7fbf2cbe
Berry internal: remove class from closure to simplify code (#21839) 2024-07-24 22:59:53 +02:00
s-hadinger db3e29dd47
Berry fix `bytes` setters and getters with negative offsets (#21835) 2024-07-24 14:24:11 +02:00
s-hadinger b62b2d0d93
Matter support for split lights (`SetOption68 1` and `SetOption37 128`) (#21834) 2024-07-24 10:20:25 +02:00
s-hadinger 8a7642f122
Matter fix inspect (#21833) 2024-07-24 08:51:23 +02:00
s-hadinger c84faa79fb
Matter improve internal `inspect`for superclasses (#21824) 2024-07-23 12:27:47 +02:00
s-hadinger da169336ee
Berry simplified `module persist` (#21812) 2024-07-21 22:30:19 +02:00
Christian Baars 13330eb085
Berry: add int8 quantisation to Tensorflow lite driver (#21763)
* add input quantization, minor fixes

* prevent divideByZero
2024-07-11 23:05:47 +02:00
s-hadinger 5df51a9365
Matter comment code used only by controler (#21752) 2024-07-09 14:01:45 +02:00
s-hadinger b56e3c43a8
Berry improve solidification of bytes (#21751) 2024-07-09 13:19:24 +02:00
Christian Baars 7cb8a3f968
Berry: add cam module, img class (#21743)
* cam module, img class
2024-07-07 19:50:33 +02:00
s-hadinger 2f62c156f9
Matter remove longpress announce (#21742) 2024-07-07 09:54:53 +02:00
s-hadinger be40830bc0
Matter support for 'Generic Switch' based on Tasmota Buttons (#21731) 2024-07-04 20:47:32 +02:00
s-hadinger 152239c3ac
Matter simplify code (#21729) 2024-07-04 19:41:53 +02:00
s-hadinger 522d7f6ee4
Berry `int64` added `low32()` and `high32()` methods, used in Matter (#21728) 2024-07-04 19:19:21 +02:00
Theo Arends 04a6d5513b Prep serial IDF 5.2 support 2024-07-04 16:04:59 +02:00
s-hadinger a260d334d0
Matter add ack in attribute response (#21722) 2024-07-03 21:07:28 +02:00
Jason2866 b1422ff6b5
make Tasmota compatible for Arduino espressif32 based on IDF 5.2.2 (#21723)
Co-authored-by: Christian Baars <Baars@gmx.de>
2024-07-03 20:27:18 +02:00
s-hadinger b6c488a883
Berry `bytes.resize()` for large sizes (#21716) 2024-07-01 22:53:49 +02:00
s-hadinger 117eb79953
Berry refactor IM to detect failed subscription heartbeats (#21706) 2024-06-29 12:27:27 +02:00
s-hadinger c58607a5b5
Berry `math.min()` and `math.max()` (#21705) 2024-06-29 10:42:21 +02:00
s-hadinger 97017017a4
Matter full support of events (#21698) 2024-06-27 00:03:34 +02:00
Jason2866 0bddfad14e
No Ethernet support for the C2 (#21691)
* No Ethernet for the C2

* Post process: Disable always Ethernet for C2

* better check for Ethernet available

* typo

* excluse c2 with `ifndef`
2024-06-25 15:13:16 +02:00
s-hadinger c96a48b9e1
Matter refactor reading of multiple attributes to reduce memory pressure (#21675) 2024-06-22 13:07:49 +02:00
s-hadinger 5decd01299
Matter add copy to Path (#21674) 2024-06-22 10:17:50 +02:00
s-hadinger 40fb8fa7df
Fix Matter resumption final ack (#21673) 2024-06-22 10:15:39 +02:00
s-hadinger 9ac4712527
Matter fix TLV.U8 unsigned encoding (#21672) 2024-06-22 10:10:57 +02:00
s-hadinger 2115e09839
Matter show event name in logs (#21649)
* Matter show event name in logs

* Optimize logging

* Human readable version
2024-06-16 22:18:50 +02:00
s-hadinger 0d267a546a
Matter prepare events (#21647) 2024-06-16 18:42:23 +02:00
s-hadinger bdfe3524a9
Matter CASE Sigma1 resumption mode for faster reconnection (#21644) 2024-06-15 23:11:48 +02:00
s-hadinger b16b3859e3
Matter add FanSpeed255 (#21638) 2024-06-15 13:34:18 +02:00
s-hadinger 2cf0eda870
Matter add Fan support (virtual only) (#21637)
* Matter add Fan support (virtual only)

* Add MtrReceived event
2024-06-15 12:51:08 +02:00
s-hadinger 767ac60266
Fix Matter interverted attributes 0xFFF9 and 0xFFFB (#21636) 2024-06-15 12:20:52 +02:00
s-hadinger 2c1f6b24d3
Matter add internal debug option (#21634) 2024-06-15 10:56:48 +02:00
s-hadinger 7cb8c0259d
Matter support for Rain sensor (#21633) 2024-06-14 18:54:27 +02:00
s-hadinger bd47d99ceb
Berry `classof` extended to class methods (#21615) 2024-06-12 10:48:38 +02:00
s-hadinger 9546390a1f
Berry add `math.round` (#21602)
* Berry add `math.round`

* add unit tests

* math.roung() returns real
2024-06-09 19:01:15 +02:00
s-hadinger c86e4db3a9
Berry automatic rounding of float to int when calling C mapped functions (#21601) 2024-06-09 17:49:29 +02:00
s-hadinger c909aecd93
Matter support for bridged Air Quality (#21597) 2024-06-08 18:53:10 +02:00
s-hadinger 4c5c6f726f
Matter align names of endpoint classes with hierarchy (#21596) 2024-06-08 18:33:06 +02:00
s-hadinger 7c48ab710a
Matter fix Air Quality sensors (#21592) 2024-06-08 09:49:39 +02:00
s-hadinger 02cd72403d
Matter size optimization (#21590) 2024-06-07 20:44:17 +02:00
s-hadinger 5a1ae70549
Matter filter suffix automatically added for sensors (#21589) 2024-06-07 19:48:03 +02:00
s-hadinger d16a502f36
Berry fix potential crash when solidifying loaded bytecode (#21583) 2024-06-06 22:11:52 +02:00
s-hadinger 0bcb981556
Matter refactoring of bridged devices (#21575) 2024-06-05 23:13:48 +02:00
s-hadinger 9e168d84d7
Berry `input()` returns empty string and does not crash (#21565) 2024-06-04 23:30:01 +02:00
s-hadinger 4f732477dd
Matter support for Air Quality sensors (#21559) 2024-06-03 21:46:58 +02:00
s-hadinger a51c511d52
Berry bytes solidification (#21558)
* Berry prepare for bytes() solidification

* Berry solidification of bytes objects

* Berry solidification of `bytes` instances
2024-06-03 21:14:44 +02:00
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