Commit Graph

941 Commits

Author SHA1 Message Date
s-hadinger 506248be99
Matter various fixes (#18377) 2023-04-10 12:59:23 +02:00
s-hadinger a8242d1ec5
Matter fix CASE with resumption (#18371) 2023-04-09 15:39:08 +02:00
s-hadinger ff8f04eb41
Matter more logs (#18354) 2023-04-06 23:26:16 +02:00
s-hadinger 1a42320a16
Matter increase CASE logs (#18351) 2023-04-06 19:28:43 +02:00
s-hadinger 864c60c579
Matter remove fabric no reboot (#18345) 2023-04-05 23:02:26 +02:00
s-hadinger 117d2550fc
Matter increase logs (#18343) 2023-04-05 22:35:31 +02:00
s-hadinger 6033be6e98
Matter minor fixes (#18341) 2023-04-05 22:09:42 +02:00
Theo Arends 542eca3154 Global fix http(s) connect issues 2023-04-03 16:12:29 +02:00
Theo Arends d9353cf1e3 Fix upload connection error 2023-04-03 14:17:08 +02:00
s-hadinger 1c72afbc1a
Matter support for Light and Relays (#18320) 2023-04-02 21:52:47 +02:00
s-hadinger 6499ec7142
Matter increase retries (#18317) 2023-04-02 16:50:13 +02:00
Theo Arends 326c605122 Prep support ESP32 enum SerialConfig 2023-04-02 14:20:03 +02:00
s-hadinger 788208f131
Matter partial fix for Apple Homekit (#18313) 2023-04-01 11:51:34 +02:00
s-hadinger 9c01c3f6a0
Matter better logging for subscriptions (#18275) 2023-03-26 23:20:14 +02:00
s-hadinger 25b9bef597
Matter fix invoke_command by endpoint (#18274) 2023-03-26 21:57:27 +02:00
s-hadinger 90260e2381
Matter fix StatusReport and RemovFabric (#18271) 2023-03-26 19:57:43 +02:00
s-hadinger 537713caa8
Matter fix PartsList attribute (#18266) 2023-03-26 12:15:18 +02:00
s-hadinger a04c771386
Matter implement counter_snd persistance (#18259) 2023-03-25 20:37:19 +01:00
s-hadinger 7abff936cd
Matter fix subscriptions (#18247) 2023-03-23 22:52:34 +01:00
s-hadinger 487ec87e4f
Matter support simple Relay on Apple Homekit (#18239) 2023-03-21 23:23:18 +01:00
s-hadinger d6ed4adcf6
Berry add `mdns.remove_service()` (#18238) 2023-03-21 22:34:10 +01:00
s-hadinger e92e115451
Matter support Homekit commissioning (#18216) 2023-03-18 14:20:49 +01:00
s-hadinger 09255d6373
Matter fix Network Featuremap (#18202) 2023-03-16 08:51:07 +01:00
Theo Arends da4a1db300 Fix logging message 2023-03-15 10:01:17 +01:00
s-hadinger 1131ffada1
Matter refactor CASE sessions and QRCode (#18196) 2023-03-14 23:26:53 +01:00
s-hadinger 4ff9cf4e59
Berry coc support unicode (#18195) 2023-03-14 23:02:50 +01:00
s-hadinger ded60556e2
Move matter strings to weak references (#18174) 2023-03-12 19:01:02 +01:00
s-hadinger 83812f158b
``UrlFetch`` now follows redirects (#18173) 2023-03-12 18:48:12 +01:00
s-hadinger 34bf941cd2
Berry add `webclient` `collect_headers()` and `set_headers` (#18166) 2023-03-11 21:46:08 +01:00
s-hadinger 4aa9aebae3
Berry add `wc.set_follow_redirects(bool)` (#18165) 2023-03-11 19:48:39 +01:00
s-hadinger 513b0fece1
Berry tasmota.cmd() can mute logs (#18143) 2023-03-09 21:29:18 +01:00
s-hadinger ba1475f8cd
Berry refactor rule matcher (#18138) 2023-03-09 08:48:41 +01:00
s-hadinger 7167884f06
Haspmota change secondary colors for switch (#18133) 2023-03-07 19:16:59 +01:00
s-hadinger af8dbe8724
Berry rule engine fix array index (#18123) 2023-03-05 22:35:16 +01:00
s-hadinger 6bd73fc883
Refactored Berry rule engine and support for arrays (#18121) 2023-03-05 21:50:32 +01:00
Christian Baars 83f039cdf7
Berry: add tensorflow lite for microcontrollers (#18119)
Co-authored-by: Christian Baars <christianbaars@MacBook-Pro-von-Christian.local>
2023-03-05 16:46:18 +01:00
s-hadinger faa41ea230
Matter adjustments (#18036) 2023-02-23 21:48:11 +01:00
s-hadinger e80d053aa0
Matter finish subscription (#18027) 2023-02-23 09:38:58 +01:00
s-hadinger 9561098e3a
Matter support multi-fabric (#18019) 2023-02-21 23:27:13 +01:00
s-hadinger 8a15f0426f
Matter support subscription removal (#18018) 2023-02-21 23:02:13 +01:00
s-hadinger 103041cd1a
Matter support for subscriptions (#18017) 2023-02-21 21:46:54 +01:00
s-hadinger dcbf50a918
Matter automatic ifdefs (#18002) 2023-02-19 22:25:29 +01:00
s-hadinger a26458a136
Matter read/write and commands (#18000) 2023-02-19 21:37:33 +01:00
s-hadinger beb1876815
Berry `int64.fromstring()` to convert a string to an int64 (#17953) 2023-02-15 20:52:02 +01:00
s-hadinger b9281e5186
Matter fix Wifi mdns announce (#17943) 2023-02-13 22:55:09 +01:00
s-hadinger 3ea69f7d7b
Many matter improvements (#17935) 2023-02-12 20:45:28 +01:00
s-hadinger 43b6f91cf2
Berry implement more attributes and commands (#17903) 2023-02-07 02:55:20 +01:00
s-hadinger dc245c57b1
Berry allow bool key (#17902) 2023-02-07 02:55:12 +01:00
s-hadinger d23e598d6b
Matter support Privacy decryption (#17891) 2023-02-05 23:05:51 +01:00
s-hadinger 9126417836
Matter fully implement attribute 0030/0000 (#17885) 2023-02-05 15:11:51 +01:00
s-hadinger a483991ba3
ESP32 preliminary support for Matter protocol, milestone 1 (commissioning) (#17871)
* ESP32 preliminary support for Matter protocol, milestone 1 (commissioning)

* Fix case
2023-02-04 00:00:21 +01:00
s-hadinger 293ae8064d
Berry webserver raw content (#17844) 2023-01-31 23:23:52 +01:00
s-hadinger 5ea9a95660
Berry add `tasmota.locale()` (#17843) 2023-01-31 23:23:36 +01:00
s-hadinger bd07b05d40
Berry add ``mdns`` advanced features and query (#17842)
* Berry add ``mdns`` advanced features and query

* typo
2023-01-31 22:53:23 +01:00
s-hadinger 03815d827a
Berry energy_ctypes fixed accordingly (#17820) 2023-01-29 12:09:29 +01:00
s-hadinger 61be95841f
Berry crypto.EC_P256 ECDSA signature ASN.1 (#17740) 2023-01-18 20:50:01 +01:00
s-hadinger 457f706d17
Berry ``crypto.EC_P256`` ECDSA signature (required by Matter protocol) (#17723) 2023-01-16 21:48:28 +01:00
s-hadinger 4e60bd7465
Berry add `static class` to declare inner classes (#17699) 2023-01-14 11:38:51 +01:00
Theo Arends ce5e1df673 Fix DNS lookup for ``upload``
Fix DNS lookup for ``upload`` from ota server using http regression from v12.3.1.1
2023-01-13 17:06:16 +01:00
s-hadinger 9ba3c26a8a
Berry fix crash when generating bytecode of empty class (#17688) 2023-01-12 22:51:43 +01:00
s-hadinger 1acd9b867c
Berry add implicit _class parameter to static methods (#17683)
* Berry add implicit ``_class`` parameter to static methods

* Handle bytecode
2023-01-11 22:59:07 +01:00
s-hadinger 7104d10d61
Berry add spake2+ mods needed for Matter (#17598) 2023-01-04 21:22:07 +01:00
s-hadinger d59caa7203
Berry ``crypto.AES_CCM`` (required by Matter protocol) (#17586) 2023-01-03 20:26:46 +01:00
s-hadinger f570dcc913
Berry `bytes()` now evaluates to `false` if empty (#17585) 2023-01-03 19:43:41 +01:00
s-hadinger ef4138bdaa
Support for IPv6 only networks on Ethernet (not yet Wifi) (#17527) 2022-12-27 21:59:34 +01:00
s-hadinger 1832c4b2f0
Berry crypto add ``SPAKE2P_Matter`` for Matter support (#17497) 2022-12-23 19:40:12 +01:00
s-hadinger f5f7ff4fb8
Minor changes to Berry crypto (#17494) 2022-12-23 18:31:19 +01:00
s-hadinger 42e3862970
Berry hkdf (#17487)
* Berry crypto add `HKDF_HMAC_SHA256`

* add HKDF option
2022-12-22 22:39:06 +01:00
s-hadinger 970e36f44d
Berry crypto add ``random`` to generate series of random bytes (#17482) 2022-12-22 18:57:20 +01:00
s-hadinger f06c07996c
Berry crypto add ``EC_P256`` and ``PBKDF2_HMAC_SHA256`` algorithms required by Matter protocol (#17473) 2022-12-22 10:09:13 +01:00
s-hadinger d670f476ba
Berry add crypto AES_CTR, HDMAC_SHA256, MD5 (#17451) 2022-12-19 22:30:54 +01:00
s-hadinger 318c83cb36
Revert UDP begin() (#17431) 2022-12-18 14:28:05 +01:00
s-hadinger 30ace5a3f3
Berry support for `crypto.SHA256` (#17430) 2022-12-17 23:38:57 +01:00
s-hadinger 9abe7b1af9
Support for IPv6 DNS records (AAAA) and IPv6 ``Ping`` for ESP32 and ESP8266 (#17417) 2022-12-17 10:08:35 +01:00
Jason2866 ebf87bdfc8
changes FS for Arduino stage (#17413) 2022-12-16 18:10:57 +01:00
Stephan Hadinger c9b838d3dc Remove all trailing \r and \n 2022-12-11 15:09:26 +01:00
Stephan Hadinger 782b10128b Berry autoconf remove crlf 2022-12-11 14:46:46 +01:00
Stephan Hadinger 4a32623a51 IPv6 improvements 2022-12-10 13:44:16 +01:00
Stephan Hadinger ec17440662 Berry crypto module, with AES_GCM by default and EC_CC25519 optional 2022-12-04 19:20:11 +01:00
s-hadinger 2a1b900775
IPv6 improvements (#17268)
* IPv6 improvements

* Fix esp8266 compilation

* grrr

* Fix compilation issue

* Fix declaration

* Fix esp32c3
2022-12-04 16:57:34 +01:00
Stephan Hadinger d3be3dfe8f IPv6 preview for ESP32, also working for ESP8266 2022-11-30 19:40:58 +01:00
Stephan Hadinger b1eac8eb05 Fix Berry mdns comments 2022-11-27 18:17:41 +01:00
Stephan Hadinger a0ed383840 Berry add module `mdns` 2022-11-27 18:08:53 +01:00
barbudor 743c162499 Adding PUT, PATCH and DELETE to Berry webclient 2022-11-21 19:42:46 +01:00
Stephan Hadinger d40c24d6d3 Berry ArtNet implementation 2022-11-20 22:04:30 +01:00
Stephan Hadinger 0849b6e5ef Rename to udp.close() 2022-11-16 08:33:13 +01:00
Stephan Hadinger f7fa09ebbe Berry add ``udp->stop()`` method 2022-11-15 23:28:34 +01:00
Stephan Hadinger 0e5f79da9c Fix to Leds set_bytes, and added persistance to ArtNet Berry 2022-11-13 18:05:13 +01:00
Stephan Hadinger e910f3071c Berry add ``dyn`` class 2022-11-06 10:52:17 +01:00
Stephan Hadinger a5e7917704 ESP32 DMX ArtNet optimization to avoid any object allocation and avoid garbage collector pauses 2022-11-03 21:54:21 +01:00
Stephan Hadinger 4c896cd8bc Added Berry ``bytes().reverse()`` method 2022-11-01 23:07:15 +01:00
Christian Baars 1011ee2cbb ignore USE_BERRY_ULP on unsupported platforms 2022-11-01 15:55:01 +01:00
Christian Baars 0b063f62df
allow ULP on ESP32, S2 and S3 2022-10-30 18:43:37 +01:00
Christian Baars ed6c21ad80
allow ULP not only for ESP32 2022-10-30 18:42:47 +01:00
Stephan Hadinger 2bf7ea1154 Prepare for DMX Artnet support on ESP32 2022-10-24 23:05:23 +02:00
Stephan Hadinger 2ef866e3b8 Berry add `bytes().setbytes()` 2022-10-23 19:43:40 +02:00
Jason2866 f77a5c96f6
remove webcam lib 2022-10-18 17:30:39 +02:00
Jason2866 402a311d14 rm not needed `*.h` files from lib 2022-10-18 11:53:50 +00:00
Jason2866 6b1deb5e5e
Revert "refac (#16845)" (#16846)
This reverts commit bc4fb77db0.
2022-10-17 15:38:30 +02:00
Jason2866 bc4fb77db0
refac (#16845)
* Update sensor.h

* Update esp_camera.h

* refactor boards manifests

* fix s3 safebooot env

* fix env
2022-10-17 15:37:26 +02:00
Stephan Hadinger eb3de9c73a Support for Flash size 32/64/128 MB in Partition Wizard and auto-resize 2022-10-16 18:32:46 +02:00
s-hadinger 0bd57a3787
Merge pull request #16838 from s-hadinger/resize_fr_bootcount_0
Resize FS to max at initial boot
2022-10-16 12:38:45 +02:00
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