Commit Graph

1199 Commits

Author SHA1 Message Date
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
s-hadinger 7cd2d78b26
Matter no Ack for Invoke Request (#19012) 2023-07-02 20:12:40 +02:00
s-hadinger 52392a2b48
Matter improve responsiveness (#19002) 2023-06-29 22:12:56 +02:00
s-hadinger ff865d8005
Update pre-compiled Berry for Windows (#19001) 2023-06-29 16:39:59 +02:00
s-hadinger ef304a8ba8
Berry mark walrus operator as side-effect (#18999) 2023-06-29 13:01:07 +02:00
s-hadinger 34456e6193
Berry `import strict` now detects useless expr without side effects (#18997) 2023-06-29 09:04:16 +02:00
s-hadinger 952811b4eb
Matter add option to disable bridge mode (#18992) 2023-06-28 14:49:47 +02:00
s-hadinger 1e19e13c6f
Matter support for temperature in Fahrenheit (`SetOption8 1`) (#18987) 2023-06-27 23:16:40 +02:00
s-hadinger b9588e6192
Berry `bool( [] )` and `bool( {} )` now evaluate as `false` (#18986) 2023-06-27 22:07:13 +02:00
s-hadinger 9cf3d16065
Berry various fixes for Walrus Operator (#18982) 2023-06-27 14:32:08 +02:00
s-hadinger 090a4bb4b5
Berry fix bug in walrus operator (#18969) 2023-06-25 23:14:33 +02:00
s-hadinger 30a65edd7a
Berry Walrus operator ':=' (#18963) 2023-06-25 17:30:42 +02:00
s-hadinger 89a815f196
Matter display the remote Device Name instead of IP address (#18960) 2023-06-25 10:52:51 +02:00
s-hadinger 9a3d3988a2
Matter remove unused clusters labels (#18951) 2023-06-24 10:52:37 +02:00
s-hadinger 0ac5d0945b
Berry add option to remove source file name and save flash space (#18948) 2023-06-23 23:14:51 +02:00
s-hadinger 5792dad12b
Berry reduce bproto structure by 8 bytes (#18946) 2023-06-23 19:34:42 +02:00
s-hadinger 7d68c55b38 Solidified Code updated 2023-06-23 16:34:47 +00:00
s-hadinger 36de007909
Berry replace `string.format`with `format` (#18945)
* Berry replace `string.format`with `format`

* remove import.string
2023-06-23 18:33:31 +02:00
s-hadinger bf36868813
Matter remove superfluous `import.string` (#18938) 2023-06-22 23:49:35 +02:00
s-hadinger 85f357096a
Berry added f-strings as an alternative to string formatting (#18937) 2023-06-22 22:50:05 +02:00
s-hadinger 410aadbf6d
Berry add global function `format` as a simpler syntax to `string.format` (#18925) 2023-06-21 14:12:39 +02:00
s-hadinger 2d515dc91f
Matter show remotes as links (#18913) 2023-06-20 09:10:25 +02:00
s-hadinger d5c727129e
Fix compilation (#18905) 2023-06-18 23:14:19 +02:00
s-hadinger 6a8ceab0a3 Solidified Code updated 2023-06-18 21:04:53 +00:00
Barbudor 92ce18f87c
AND_list (#18904) 2023-06-18 23:03:45 +02:00
s-hadinger 1e745807e4
Berry fixed parser error with upvals in closures (#18902) 2023-06-18 20:21:08 +02:00
s-hadinger 4a3b6457ca
Matter add friendly-name (NodeLabel) to each endpoint (#18897) 2023-06-18 18:45:47 +02:00
btsimonh b2fd311186
Bugfix accessing zip paths with no characters after the hash (#18894)
Add passthrough of openNextFile, so that folders can be opened and read via the ZipFS proxied filesystems.
2023-06-18 18:42:39 +02:00
btsimonh 4452228dca
add path.isdir for berry, plus save ~87 bytes of flash ikn the process. (#18895) 2023-06-18 18:42:07 +02:00
s-hadinger 3fc932d38a
Berry `string.format()` now automatically converts type according to format (#18890) 2023-06-16 20:38:53 +02:00
s-hadinger 3a00dde3af
Matter add remote contact (#18883) 2023-06-14 22:32:54 +02:00
s-hadinger bd6aff77f7
Matter add support for Contact Sensor (#18882) 2023-06-14 20:36:17 +02:00
s-hadinger 558819c748
Add mention to OpenBK in UI (#18874) 2023-06-13 23:09:29 +02:00
s-hadinger 69b2b93d61
Matter UI and logs polishing (#18866) 2023-06-12 19:45:18 +02:00
s-hadinger ae773895f8
Minor change to Matter UI (#18858) 2023-06-12 08:40:59 +02:00
s-hadinger badf064ab4
Matter fix local Occupancy sensor (#18857)
* Matter fix local Occupancy sensor

* Fix also OnOff
2023-06-11 23:10:26 +02:00
btsimonh c88bff5a46
Berry: add path.rmdir(path), path.mkdir(path) (#18853)
(cherry picked from commit 7ce04b8624c88279c57d4a7556aabbe5f3317773)
2023-06-11 20:40:28 +02:00
s-hadinger a014f5495b
Matter redesigned UI (#18855) 2023-06-11 19:10:12 +02:00
s-hadinger 5da84c52ff
Berry Allow comments in multi-line strings (#18848) 2023-06-10 22:23:43 +02:00
s-hadinger 5cb9bae72c
Matter alternate Illuminance calculation (#18847) 2023-06-10 19:40:57 +02:00
s-hadinger 827c14e4bd
Increase solidify buffer (#18843) 2023-06-10 18:23:33 +02:00
btsimonh fc92dc0995
Add wcclient.get_bytes() to Berry (#18829)
(cherry picked from commit 5903b21448a3f088b12bd47a04996ff84e467a3a)
2023-06-09 08:56:05 +02:00
s-hadinger 138b119c6d
Matter fix Illuminance to uint (#18830) 2023-06-09 08:55:43 +02:00
s-hadinger 4ce3e5c544
Matter fix Illuminance for 0 lux (#18818) 2023-06-07 22:32:09 +02:00
s-hadinger f572d93ac6
Matter minor fixes (#18813) 2023-06-07 19:23:28 +02:00
Ludovic BOUÉ 73c48ff5f0
Update be_matter_vendors.h - Adding Nabu Casa vendor id (#18804)
* Update be_matter_vendors.h

Adding Nabu Casa vendor id

* Update be_matter_vendors.h

Move it to the end of the list
2023-06-06 19:16:03 +02:00
s-hadinger 5c3a6d9170
Matter fix illuminance (#18806) 2023-06-06 18:28:49 +02:00
s-hadinger 18c2bc8320
Matter fix unchunked requests for OpenBK (#18803) 2023-06-06 15:13:13 +02:00
s-hadinger a0a1b89dfb Solidified Code updated 2023-06-06 08:22:56 +00:00
Norbert 8d8870a6ee
Fix spelling. (#18800) 2023-06-06 10:21:34 +02:00
s-hadinger 31b93f8d48
Matter add controller's Vendor Name to logs and UI (#18794) 2023-06-04 23:05:52 +02:00
s-hadinger 844caf51f9
Fixed HASPmota event when value is non-integer (fixes #18229) (#18791) 2023-06-04 20:06:04 +02:00
s-hadinger e66439cb50
Matter ability to add or remove endpoint in bridge mode (code only) (#18790) 2023-06-04 19:35:36 +02:00
s-hadinger c09165c7b2
Matter fix saving config (#18786) 2023-06-03 19:47:10 +02:00
s-hadinger 6fdfdb8475
Matter Bridge mode always on (#18785) 2023-06-03 19:01:36 +02:00
s-hadinger 61f17221d0
Berry simplify I2S implementation (#18778) 2023-06-02 16:36:09 +02:00
s-hadinger f8df9e5f00
Berry `webclient.url_encode()` is now a static class method, no change required to existing code (#18775) 2023-06-02 13:29:57 +02:00
s-hadinger 82895c53e3
Berry add `set_lsb_justified(bool)` to `AudioOutputI2S` (#18774) 2023-06-02 09:58:39 +02:00
s-hadinger 541da60ca6
Fix Matter Berry solidification (#18773) 2023-06-02 09:38:43 +02:00
s-hadinger b9d855ef79
Berry RS256 crypto algorithm (RSASSA-MCKS1_v1-5 with SHA256) used for JWT (#18763) 2023-06-01 10:02:23 +02:00
s-hadinger 87547657ec
Matter add 0300/400A for CT (#18757) 2023-05-30 22:25:59 +02:00
s-hadinger 3c75bc92a2
Zigbee Berry mapping fix attributes (#18747) 2023-05-29 23:05:45 +02:00
s-hadinger 83e47fa4a8
Matter support for Occupancy via Switch (experimental) (#18742) 2023-05-29 19:24:06 +02:00
s-hadinger b053cf87ec
Berry safeguard when freeing null pointer (#18735) 2023-05-29 11:00:20 +02:00
s-hadinger fe570a1b26
Matter Border Router for ESP8266 (experimental) (#18734) 2023-05-29 10:40:24 +02:00
s-hadinger b715f03db6 Solidified Code updated 2023-05-23 17:27:46 +00:00
Ludovic BOUÉ f2edb2fb3c
Update Matter_HTTP_remote.be (#18719)
Fix log message for MTR HTTP sync/async request
2023-05-23 19:26:30 +02:00
s-hadinger c1ec35a086
Matter fix fabric provisioning from CASE session for iOS 16.5 (#18709) 2023-05-22 20:46:20 +02:00
Theo Arends a39d1eee0e Rename HttpClientLight 2023-05-21 16:51:16 +02:00
Theo Arends f3cc8997b0 Fix Berry solidify of berry_tasmota on Windows 2023-05-19 17:14:29 +02:00
Theo Arends 4afcdc11d6 Simplify Berry Mute option 2023-05-19 16:30:48 +02:00
Theo Arends 2baba2b9c2 Fix berry mute option (#18684) 2023-05-19 12:48:19 +02:00
s-hadinger 2d8ea8f51c
Berry persist hide errors when saving (#18686) 2023-05-17 22:43:13 +02:00
s-hadinger 2b76e8e668
HASPmota `meta` attribute and improved `berry_run` (#18685) 2023-05-17 21:40:05 +02:00
s-hadinger 951b9b4682
Matter support for async HTTP for bridged devices (#18656) 2023-05-14 23:02:58 +02:00
Jason2866 db1b9ffe49
Update gen.sh 2023-05-12 14:25:56 +02:00
Jason2866 979a15cf07
run "coc" before solidify (#18643)
* Run "coc"
* change artifact order
2023-05-12 11:06:20 +02:00
Jason2866 c776885691
clang for berry binary compile (#18641) 2023-05-11 16:21:33 +02:00
s-hadinger 884b6713a8
Berry fix energy (#18628) 2023-05-09 23:24:23 +02:00
s-hadinger 652a8edefa
Berry solidify for ubuntu 22.04 (#18627) 2023-05-09 22:21:39 +02:00
s-hadinger c4d90d4636
Berry suppress warnings (#18626) 2023-05-09 22:10:16 +02:00
s-hadinger 11631cdb19 Solidified Code updated 2023-05-09 19:42:42 +00:00
s-hadinger 88593be79c
Matter fix autoconf_device_map (#18625) 2023-05-09 21:41:05 +02:00
s-hadinger fec3a21c8a
Berry strtab test case (#18623) 2023-05-09 21:13:00 +02:00
s-hadinger 4cd1136f4c
Berry fixed a rare condition when a GC causes a memory corruption (#18614) 2023-05-08 21:59:32 +02:00
s-hadinger c5e6115597 Solidified Code updated 2023-05-08 19:12:02 +00:00
stefanbode ffedb96702
introduced "inverted" setting (#18607)
ensure that matter support still works if the "inverted" flag is set on the shutter side
2023-05-08 21:11:19 +02:00
Jason2866 efc464e998
Berry code solidifying with GH actions (#18611) 2023-05-08 20:44:31 +02:00
s-hadinger ae6d435aaf
autoconf extract `display.ini` to file system (#18604) 2023-05-07 22:58:27 +02:00
s-hadinger ba9c7651a7
Fix solidification (#18603) 2023-05-07 22:13:27 +02:00
s-hadinger 97cbfe007f
Add windows berry binary (#18599) 2023-05-07 18:12:47 +02:00
stefanbode 4a85ac5f19
Matter TiltSupport fixes (#18598)
* Tilt bugfix

- enabled negative tilt values in tilt_min
- fix scale to 10.000

* Update solidified_Matter_Plugin_ShutterTilt.h

* Update solidified_Matter_TLV.h
2023-05-07 17:53:38 +02:00
s-hadinger 519ea557c7
Berry `re` (regex) add `match2` and optional offset (#18596) 2023-05-07 16:18:34 +02:00
s-hadinger 069278f966
Berry add `tcpclientasync` class for non-blocking TCP client (#18584) 2023-05-05 15:13:22 +02:00
s-hadinger 13de7a4863
Berry make add_driver() idempotent (#18580) 2023-05-04 21:27:55 +02:00
s-hadinger c26ec44407
Matter POC for remote Relay (#18575) 2023-05-03 23:03:01 +02:00
s-hadinger 0cbe2fc587
Matter support for Shutters with Tilt (#18569) 2023-05-03 18:30:34 +02:00
s-hadinger e4e2fcdc6d
Matter reduce logging for CASE authentication (#18527) 2023-04-27 08:54:57 +02:00
s-hadinger 6702321784
Matter shutter with tilt (#18525) 2023-04-26 22:53:26 +02:00
Christian Baars f6763eb37b
Berry: add BLE server/advertiser (#18494) 2023-04-26 08:39:29 +02:00
s-hadinger c8318248bb
Matter add support for Shutters (without Tilt) (#18509) 2023-04-25 23:30:23 +02:00
s-hadinger fba15dea71
Matter add UI to change endpoints configuration (#18498) 2023-04-24 23:01:02 +02:00
Jason2866 763a8671ab
fix c3 exceptions when using lvgl (#18493) 2023-04-24 16:11:54 +02:00
s-hadinger f9e3b25c9b
Matter persist plugins when fabrics (#18487) 2023-04-22 23:56:35 +02:00
s-hadinger 39094bc079
Matter persist plugins config (#18486) 2023-04-22 23:33:22 +02:00
s-hadinger a2b9574ec9
Berry fix solidify script (#18476) 2023-04-22 10:14:39 +02:00
s-hadinger 045f8b4aec
Berry fix corruption in debug (#18475) 2023-04-21 23:05:25 +02:00
s-hadinger d9eeb8bf57
Berry remove superfluous test (#18473) 2023-04-21 22:42:02 +02:00
s-hadinger f5e6ba956d
Berry upstream (#18471) 2023-04-21 22:36:18 +02:00
s-hadinger f46b9f4e2d
Update Berry tests from upstream (#18472) 2023-04-21 22:36:00 +02:00
s-hadinger 01ba3d28cd
Berry apply fixes from upstream (#18470)
* Berry apply fixes from upstream

* Fix
2023-04-21 21:59:45 +02:00
s-hadinger 3c57755bb7
Berry fix rules for string comparisons (#18464) 2023-04-21 08:59:49 +02:00
Jason2866 11a43ea99b
Tasmota Core 208 (#18460)
* Tasmota Core 2.0.8
* Fix Linker errors
2023-04-20 20:01:35 +02:00
s-hadinger b235dffb29
Fix Berry hue_bridge (#18459) 2023-04-19 23:45:05 +02:00
s-hadinger 65eb9142a2
Matter fix RemoveFabric arg logging (#18452) 2023-04-18 23:00:36 +02:00
s-hadinger a85412fce2
Matter allow `Matter#Initialized` rule once the device is configured (#18451) 2023-04-18 22:27:27 +02:00
s-hadinger 4bac940a40
Matter add sensors: Humidity, Pressure, Illuminance; optimize memory (#18441) 2023-04-17 21:49:12 +02:00
s-hadinger 9150de9df8
Matter try workaround for iOS 16.5beta1 (#18440) 2023-04-17 20:58:34 +02:00
s-hadinger 7f9f08fa87
Matter reduce memory usage (#18431) 2023-04-16 22:25:31 +02:00
s-hadinger 82e94108d4
Matter automatically exposes all detected Temperature sensors (#18430)
* Matter automatically exposes all detected Temperature sensors

* Read sensors every 30 seconds

* Fix sensor numbering
2023-04-16 22:09:09 +02:00
s-hadinger de45a7af26
Berry add `searchall()` and `matchall()` to `re` module and pre-compiled patterns (#18429) 2023-04-16 17:43:49 +02:00
s-hadinger 3d0354b6fb
Matter increase CASE logs (#18426) 2023-04-16 09:53:52 +02:00
s-hadinger 0feba56d8e
Berry `instrospect.name()` to get names of functions, modules and classes (#18422) 2023-04-15 19:34:31 +02:00
s-hadinger 21c3812826
Matter reduce logging (#18420) 2023-04-15 18:33:29 +02:00
s-hadinger 35c3a62e9d
Matter fix conversion for peer_node_id (#18418) 2023-04-15 16:42:08 +02:00
s-hadinger 538b5a0aa6
Matter refactoring of IM messages (#18416) 2023-04-15 12:20:02 +02:00
Theo Arends 36ae802924 Fix future compile error 2023-04-14 14:14:14 +02:00
s-hadinger 009e07fd07
Berry json patches (#18407) 2023-04-13 22:51:55 +02:00
s-hadinger 0c0ab855f3
Matter refactor PASE parameters (#18406) 2023-04-13 22:21:33 +02:00
s-hadinger b8483dfb6f
Matter refactoring of UDP sending (#18398) 2023-04-12 22:01:23 +02:00
s-hadinger 8ea91b7792
Berry fix rare crash in json parsing (#18395) 2023-04-11 23:13:02 +02:00
s-hadinger f33ccac2df
Matter fix wrong unsupported messages (#18394) 2023-04-11 22:56:05 +02:00
s-hadinger 44dad1245d
Matter escape HTML farbic label (#18382) 2023-04-10 19:35:44 +02:00
s-hadinger 6007f2d970
Berry `webserver.html_escape()` reusing the internal HTML escaping function (#18381) 2023-04-10 19:16:01 +02:00
s-hadinger 0328915eab
Matter add fabric parent (#18380) 2023-04-10 18:59:42 +02:00
s-hadinger 3354e2acbf
Matter log unknown opcodes (#18379) 2023-04-10 16:20:11 +02:00
s-hadinger 4b272083d6
Berry fix solidify int type (#18378) 2023-04-10 15:45:07 +02:00
Theo Arends a99274149f Minor Matter UI fixes 2023-04-10 15:09:18 +02:00
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