Commit Graph

2026 Commits

Author SHA1 Message Date
s-hadinger a9a55b3ccd
Matter improve encoding of attributes to reduce flash size (#21864) 2024-07-28 21:24:39 +02:00
s-hadinger 0dda8fc224
Matter fix circular references in WaterLeak and Rain sensors (#21862) 2024-07-28 18:10:25 +02:00
s-hadinger 5b8638b6b8
Berry updated precompiled Windows binary (#21858) 2024-07-28 15:47:52 +02:00
Theo Arends e02615827b Fix compilation without SPI 2024-07-26 13:50:15 +02:00
s-hadinger 035daa663b
Berry `file.write()` raises an exception on failure (ex: disk full) (#21849) 2024-07-26 12:44:25 +02:00
s-hadinger 55cb473e13
Berry `webserver_async` (#21836)
* Berry `webserver_async`

* Shrink size and include only when USE_BERRY_DEBUG
2024-07-26 09:32:12 +02:00
s-hadinger 1b12656955 Solidified Code updated 2024-07-25 21:15:06 +00:00
s-hadinger f97c47c511
Avoid random content in bvalue (#21846) 2024-07-25 23:11:14 +02:00
s-hadinger b8d7b5e2fa Solidified Code updated 2024-07-25 20:53:52 +00:00
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
gemu ddcc7d9990
jpeg on bw displays (#21832) 2024-07-24 13:32:03 +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
gemu 58485dec2a
fix resistive Touch xpt for 2 spi busses (#21814)
* fix xpt touch for 2 spi busses

* support for 2 utouch spi busses

* Update support.ino
2024-07-22 13:58:50 +02:00
s-hadinger da169336ee
Berry simplified `module persist` (#21812) 2024-07-21 22:30:19 +02:00
gemu 00a00a3505
fix pushcolors for displaytext (#21805) 2024-07-20 08:20:19 +02:00
Theo Arends f68ac4377a Fix udisplay positional replacements (#21121) 2024-07-12 14:57:27 +02:00
Theo Arends 59de2fd979 Fix udisplay ESP8266 I2C no asterix in config (#21121) 2024-07-12 12:49:00 +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
timehlers a3048a0b25
add support for 4.2 inch epaper display from WeAct Studio (partial up… (#21717)
* add support for 4.2 inch epaper display from WeAct Studio (partial update)

* make ep_mode=3 decision more clear, reinserted an mistakenly removed comment

---------

Co-authored-by: timehlers <>
2024-07-08 17:25:06 +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 a53e057d54
HASPmota fix float rounding (#21604) 2024-06-09 19:39:15 +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 01140d3013
HASPmota rounds to nearest int values passed as 'real' (#21599) 2024-06-08 22:10:43 +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
Theo Arends ff961df336 Change display timing splash screen with display modes 1 to 5 2024-06-08 15:33:44 +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
Theo Arends a99c6d67bb Add XIAO ESP32S3 Sense camera pins 2024-06-06 18:14:30 +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
Theo Arends fd02f5aefc Fix GPIO16 as Transmit enable pin (#21269) 2024-06-02 17:15:11 +02:00
Christian Baars 979dd86730
Bugfix: crash when using tjpegd and LVGL (#21544)
* prevent crashes when using tjpegd in other places in Tasmota

* do not use external tjpegd in Tasmota
2024-06-02 09:48:07 +02:00
s-hadinger e13c0a7114
Berry coc parser keeps order of variables (#21542) 2024-06-01 20:46:55 +02:00
s-hadinger ec696509b9
uDisplay Parallel display on Core3 (#21529) 2024-05-30 12:44:09 +02:00
Christian Baars a4dbc57448
multiple fixes (#21511) 2024-05-28 10:59:57 +02:00
s-hadinger e56f6a150d
Berry add reuse of methods for interface-like code reuse (#21500) 2024-05-26 23:05:43 +02:00
s-hadinger 25a2a46917
Matter auto-fix IPv6 link-local zone id when network reconnects (#21494) 2024-05-25 19:51:00 +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
Christian Baars e7f69ebc5f
bugfix: webradio crash with invalid url (#21446) 2024-05-20 09:12:14 +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 ec6448b353
Drop support of old insecure fingerprint algorithm (deprecated since v8.4.0) (#21416) 2024-05-15 22:30:10 +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
Theo Arends c0965f5624 Fix compile warning 2024-05-05 15:02:01 +02:00
Christian Baars ca5a2d322d
fix Tensorflow driver for IDF5.x (#21348) 2024-05-04 19:59:47 +02:00
Christian Baars fffb43fa79
fix conflicting log_level definitions (#21337) 2024-05-03 23:25:41 +02:00
Christian Baars 6f20dcd0ed
Prepare restoration of Tensorflow driver for Core 3 (#21327)
* Fix compilation of conv.cc

* fix compilation of depthwise_conv.cc
2024-05-03 12:28:49 +02:00
Jason2866 50979c328c
Fix upper lower case difference 2024-05-01 15:18:25 +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 9970b9d947
uDisplay fast drawing on RGB displays (#21257) 2024-04-23 21:17:22 +02:00
s-hadinger 595b7f750d
LVGL fix memory allocation of flush buffers (#21256) 2024-04-23 20:11:01 +02:00
s-hadinger 157e1afb29
LVGL disabled vector graphics (#21242) 2024-04-22 09:18:26 +02:00
s-hadinger cb70ff7a77
uDisplay avoid crashing when no valid configuration (#21239) 2024-04-21 15:21:50 +02:00
s-hadinger bf47a1e51c
LVGL restore `lv_palette` functions (#21232) 2024-04-20 18:57:49 +02:00
s-hadinger fe34b5df3d
HASPmota `align` attribute and expand PNG cache (#21228) 2024-04-20 14:23:31 +02:00
Rai 13cbf26b87
Adds support for SPL06_007 Temperature & Pressure I2C (+10k2 code) (#21185)
* Adds support for SPL06_007 (+10k2 code)

* removes not so used methods.

Removes -2kb

* change doubles to floats

* fixes a name

* change sns idx to 25
2024-04-18 11:20:02 +02:00
s-hadinger 042eecc378
HASPmota `dropdown_list` and fixes (#21208) 2024-04-17 21:43:12 +02:00
Jason2866 f131db6d40 mv deprecated drivers / Pio clean up 2024-04-17 11:28:17 +02:00
s-hadinger add5b2dbaf Solidified Code updated 2024-04-16 20:44:28 +00:00
s-hadinger 99b140512e
Haspmota dropdown options (#21203)
* Fix HASPmota dropdown class "options" attribute

* More fix
2024-04-16 22:43:35 +02:00
s-hadinger 7dc9e6e0ce
Fix HASPmota dropdown class "options" attribute (#21202) 2024-04-16 21:41:02 +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 d9895a0fcb
SSD1351, ST7789 drivers replaced with uDisplay (#21184) 2024-04-15 19:52:57 +02:00
s-hadinger a006e5fc53
SSH1106 driver replaced with uDisplay (#21183) 2024-04-15 10:57:14 +02:00
Jason2866 6492596a10
Fix BLE compile with core 3.0.0 (#21182)
* Delete lib/libesp32_div/NimBLE-Arduino directory
* rm obsolete ignores
2024-04-15 10:24:06 +02:00
s-hadinger 0b4cddff72
SSD1331 driver replaced with uDisplay (#21177) 2024-04-14 18:06:17 +02:00
s-hadinger 05f4011491
SSD1306 driver replaced with uDisplay (#21176) 2024-04-14 16:46:58 +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 ff43dc29b2
ILI9341 driver replaced with uDisplay (#21169) 2024-04-14 10:26:37 +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
Christian Baars 669bb582e0
Coming upstream changes: NimBLEService.cpp (#21120) 2024-04-07 18:38:42 +02:00
s-hadinger 541f3630a1
Wifi provide Mac Address on Core3 (#21117) 2024-04-07 10:55:53 +02:00
Jason2866 e149a0399e
fix esp32 core 3.0.0 compile (#21112) 2024-04-06 14:17:51 +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 fbe83585bd
Simplify %*_b format (#21087) 2024-04-02 21:56:18 +02:00
Theo Arends 34d6bffe7a Fix ESP32 non-core3 mis-aligned %_b 2024-04-02 16:37:42 +02:00
Theo Arends d90f0e1cbe Add formatting binary ``%*_b`` 2024-04-02 12:55:42 +02:00
s-hadinger 76b1f48f0c
LVGL binding update for python 3.12 (#21076) 2024-03-31 22:08:27 +02:00
Milko Daskalov 9f4c994034
LVGL add lv.layer definition (#21062) 2024-03-31 21:44:46 +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
Theo Arends ae7bed5acf Refactor lib RadioLib fixing ESP8266 panic 2024-03-28 14:04:17 +01:00
Theo Arends 7c52906a2e Fix ESP8266 Lora SX1262 exceptions 2024-03-27 23:03:10 +01:00
gemu 72968b9ee8
fix color swap option for rgb displaytext (#21049) 2024-03-27 16:52:35 +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