Commit Graph

1666 Commits

Author SHA1 Message Date
s-hadinger 2ad6353a2d
Matter improve error message for MtrUpdate (#19644) 2023-10-02 22:00:55 +02:00
s-hadinger 795a194d65
Audio prepare for Arduino3 (#19637) 2023-10-02 09:18:53 +02:00
s-hadinger 2e0c958b97 Solidified Code updated 2023-10-01 10:25:26 +00:00
Ludovic BOUÉ ead677d148
Add missing UPDATE_COMMANDS for Contact sensor (#19632) 2023-10-01 12:23:57 +02:00
Ludovic BOUÉ f9f3630fca
Update Matter_Plugin_3_Sensor_Occupancy.be (#19631)
Add missing UPDATE_COMMANDS for Occupancy sensor
2023-10-01 12:23:29 +02:00
s-hadinger d1c643a591
Matter tentative fix for SmartThings (#19620) 2023-09-30 14:15:50 +02:00
s-hadinger 31e56903c5
Audio refactoring and fixes (#19594) 2023-09-25 23:31:32 +02:00
Christoph Friese 5d97a73ddf
Add ENS16x (air quality) and ENS210 (temp & RH) sensors (#19479)
* Add files via upload

Added ENS16x library enabling read-out of ENS160 and ENS161 sensor component (follow-up of CCS811 and iAQcore)
Added ENS210 library to read out ENS210 temperature & humidity sensor

* Add files via upload

Add air quality sensor readout for ENS160 and ENS161 checking two possible I2C addresses (follow up sensor for CCS811 and iAQcore)
Add temperature and humidity sensor readout checking two possible I2C addresses

* Update BUILDS.md

Add USE_ENS16x and USE_ENS210

* Update decode-status.py

Add USE_ENS16x and ENS210

* Update I2CDEVICES.md

Add USE_ENS16x and USE_ENS210

* Update my_user_config.h

Add USE_ENS16x and USE_ENS210

* Update support_features.ino

Add USE_ENS16x and USE_ENS210

* Update tasmota_configurations.h

Add USE_ENS16x and ENS210

* Update tasmota_configurations_ESP32.h

Add USE_ENS16x and USE_ENS210

* Update xsns_111_ens16x.ino

Corrected I2X number

* Update xsns_112_ens210.ino

Corrected I2C number

* Disable USE_ENS16x and USE_ENS210 by default

* Added code size information

* cut down in libs

* optimize tasmota side

* fix ens16x web display

* final fix on alternate addresses

* update code & RAM usage

---------

Co-authored-by: Barbudor <barbudor@barbudor.net>
2023-09-24 18:30:15 +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
Andrew Klaus 3061b06f3b
Adding SGP40 support to SGP4X driver (#19560) 2023-09-22 10:15:04 +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 f8b5a38dc9
ESP32 LVGL library from v8.3.9 to v8.3.10 (no functional change) (#19557)
* ESP32 LVGL library from v8.3.9 to v8.3.10 (no functional change)

* Update mapping
2023-09-20 21:21:08 +02:00
Theo Arends ffd09da89a Fix DS18B20 for ESP32 with over 33 gpios 2023-09-19 15:20:10 +02:00
Christian Baars aa4464389f
fix codec compilation on IDF5.1 (#19546) 2023-09-18 22:04:56 +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
s-hadinger 156f1988b2
ESP32 LVGL library from v8.3.8 to v8.3.9 (no functional change) (#19510) 2023-09-13 22:05:00 +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 d9acd2adb0
Fix compilation of IRRemoteESP8266 for core3 (#19473) 2023-09-06 21:02:46 +02:00
s-hadinger 4100682297
Fix TLS by removing redundant BearSSL code from libmail (#19472) 2023-09-06 20:12:59 +02:00
Christian Baars a5835450e9
fix shine for gcc12 (#19458) 2023-09-05 10:53:51 +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
Barbudor 5395b8c4bd
fix and improve pzem_dc (#19402) 2023-08-27 22:49:24 +02:00
Christian Baars 343618411c
Fix crash of uDisplay on ESP32S3 with IDF5.1 (#19383)
* fix compile of uDisplay with IDF5.x on ESP32S3

* fix crash with uDisplay on S3 with IDF5.1
2023-08-25 12:11:23 +02:00
Christian Baars c4e57e49c2
fix compile of uDisplay with IDF5.x on ESP32S3 (#19378) 2023-08-24 16:18:51 +02:00
Jason2866 312bbbb7b6
Arduino.3.0: enable Audio libs compile by disabling incompatible I2S driver (#19377)
* i2s off for Arduino 3.0
2023-08-24 15:31:41 +02:00
Christian Baars 65a1a4feeb
Neopixel add SPI driver for C2 and some minor updates (#19372) 2023-08-24 10:34:17 +02:00
Christian Baars f4585a2718
prepare transition to esp-nimble-cpp (#19370) 2023-08-23 16:33:26 +02:00
Theo Arends 3c725a13d6 Fix Core 3 compilation 2023-08-23 15:10:14 +02:00
Theo Arends db6193dc80 Phase 2 support C2/C6 2023-08-23 14:52:58 +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
Christian Baars 7d18dd0e9e
fix OneWire for IDF5.1 and C2/C6 (#19303)
* fix OneWire for IDF5.1 and C2/C6

* Use Onewire in arduino30 builds

* use SOC specific defines for C2,C3 and C6
2023-08-14 09:34:48 +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
Vincent de Groot 5e591ef7db
Integrate MAX17043 driver mechanisms in xsns_110 (#19219) 2023-08-03 11:54:41 +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 c73fd88d1c
IRremoteESP8266 library from v2.8.5 to v2.8.6 (#19212) 2023-07-29 14:13:58 +02:00
s-hadinger 1a91dc441b
Berry improve tasmota.scale_uint() (#19197) 2023-07-26 22:31:22 +02:00
Vincent de Groot bc41500d9c
MAX17043 sensor integration (#18788)
* Restart MAX17043 from the scratch

* revert change

* Changed battery capacity in charge (capacity is the Ah value of the battery, this degrades over time when battery ages)

* merge

* Changing xsns_109 to 110

* fix nr

* removed old xsns109

* Update I2CDEVICES.md

* clean-up usage of Interface
2023-07-22 13:33:47 +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 d79c4a7cc6
ESP32 LVGL library from v8.3.7 to v8.3.8 (no functional change) (#19058)
* ESP32 LVGL library from v8.3.7 to v8.3.8 (no functional change)

* Update changelog
2023-07-06 22:03:05 +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
Andrew Klaus eb655a4a8f
Add support for SGP41 TVOC/NOx Sensor (#18880)
* Initial support for SGP41

* Removing delay() use from SGP4x driver

* Using i18n for TVOC/NOx raw values as well
2023-06-29 09:04:08 +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
Davide Beatrici 1f16693664
"Tamota" -> "Tasmota" (#18950) 2023-06-24 10:24:48 +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