Commit Graph

1687 Commits

Author SHA1 Message Date
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
Mateusz Bronk faff39ca11
IRremoteESP8266 upgraded to v2.8.5 (#18610)
* IRremoteESP8266 upgraded to v2.8.5 (from v2.8.4)

* Fix ir panasonic esp8266 (#18013)

* revert part of #16179 for ESP8266

* Revert "revert part of #16179 for ESP8266"

This reverts commit b8e6126407.

* try to revert #16179 for esp8266

* Build: removed redundand USE_IR_REMOTE_FULL flag

Tasmota32-ir PIO had both FIRMWARE_IR and USE_IR_REMOTE_FULL defined.
The latter is redundand and yielded unnecessary build warns.
See: tasmota_configurations.h

---------

Co-authored-by: Mateusz Bronk <2566147+mbronk@users.noreply.github.com>
Co-authored-by: Barbudor <barbudor@barbudor.net>
2023-05-08 19:04:25 +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
Jason2866 08ce63863e
Fix CONFIG_BT_NIMBLE_NVS_PERSIST value unused
https://github.com/h2zero/NimBLE-Arduino/pull/520
2023-05-05 17:09:24 +02:00
s-hadinger 069278f966
Berry add `tcpclientasync` class for non-blocking TCP client (#18584) 2023-05-05 15:13:22 +02:00
gemu 687b26ad13
Scripter update (#18578)
* add ds2480b library

* add onewire support

* reset on error

* call to get esp32 HWS

* DS2480 serial invert option
2023-05-05 09:17:17 +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 fe1bc615f0
ESP32 LVGL library from v8.3.6 to v8.3.7 (no functional change) (#18573)
* ESP32 LVGL library from v8.3.7 to v8.3.7 (no functional change)

* Fix version
2023-05-03 21:18:26 +02:00
s-hadinger 0cbe2fc587
Matter support for Shutters with Tilt (#18569) 2023-05-03 18:30:34 +02:00
Jeroen c5612a50fb
Fix for https://github.com/arendst/Tasmota/discussions/15703#discussioncomment-5713294 (#18534)
Added and fixed comments

Co-authored-by: JeroenSt <nospam@nospam.org>
2023-04-29 14:46:38 +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
gemu 799ba675eb
add xpt2046 option for spi bus 2 (#18480)
* allow spi bus 2

* xpt spi bus 2

* xpt option bus

* xpt option spi bus 2

* exclude c3

* exclude s2

* fix s3

* typo
2023-04-23 10:19:31 +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
Theo Arends d88d42341d Fix future compile error 2023-04-14 12:01:47 +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 822c6e702e
ESP32 LVGL library from v8.3.5 to v8.3.6 (no functional change) (#18342)
* ESP32 LVGL library from v8.3.5 to v8.3.6 (no functional change)

* Add changelog
2023-04-05 22:46:36 +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
Theo Arends 61b8e95543 Fix ESP32 change baudrate (#17869) 2023-03-26 16:37:29 +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
Jeroen fbbb4eaf84
Fix for issue: https://github.com/arendst/Tasmota/issues/18088 (#18228)
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-03-20 21:26:38 +01:00
Jean-Pierre Deschamps 5661a6798f
Support for pmsa003i (#18214)
* Initial support for PMSA003I air quality sensor.

* Updated pmsa003i support to the latest dev branch

* Fixed typo in esp32 configuration

Removed all global variable and use the PM25_AQI_Data struct from Adafruit library
Fix typo Xsns100 to Xsns104
Fix Typo XI2C_71 to XI2C_78

* Move everything in custom Struct for PMSA003I driver

---------

Co-authored-by: Jean-Pierre Deschamps <info@jpdeschamps.com>
2023-03-20 09:52:22 +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
Theo Arends 1a6076c253 Add flush before disabling tx (#17247) 2023-03-14 09:28:00 +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
Charles f87cd7859a
Added special char to some values (#18145) 2023-03-10 15:05:27 +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 215838db1b
ESP32 LVGL library from v8.3.3 to v8.3.5 (no functional change) (#18128) 2023-03-06 20:04:02 +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
Charles eb62555946
Added valid char check, not only use checksum (#18094) 2023-03-03 08:42:12 +01:00
Charles 873567a999
fix some errors (#18077)
fix some checksum errors in standard mode
fix format error counting for DATE field
2023-03-01 09:01:27 +01:00
Charles 1b5c4768d1
Libteleinfo update to V1.1.5 (#18050)
* Updated to V1.1.5

* Updated to V.1.1.5

Added new End Of Transmission code from Standard Mode
Check back checksum before returning stored values (corruption checks)
Added error counters stats
Removed dirty linked list align #pragma for ESP target
2023-02-25 15:56:33 +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
Barbudor dbcffa66e4
Fix ir panasonic esp8266 (#18013)
* revert part of #16179 for ESP8266

* Revert "revert part of #16179 for ESP8266"

This reverts commit b8e6126407.

* try to revert #16179 for esp8266
2023-02-21 09:13:00 +01:00
gemu c1dec03adb
fix epaper 29 non-universal display (#17999)
* make v1 configurable

* fix ep29 v1
2023-02-19 22:25:45 +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
gemu 90dc644412
make v1 configurable (#17987) 2023-02-19 11:30:54 +01:00
gemu 19b183cbee
add gcm frame variant (#17964) 2023-02-17 08:38:02 +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 fcec5a5b7b
LVGL allow access to `lv.LAYOUT_GRID` and `lv.LAYOUT_FLEX` (#17948) 2023-02-14 19:41:26 +01:00
s-hadinger b9281e5186
Matter fix Wifi mdns announce (#17943) 2023-02-13 22:55:09 +01:00
s-hadinger bc7ef89b3c
ESP8266 Fix TLS SNI which would prevent AWS IoT connection (#17936) 2023-02-12 21:33:13 +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
gemu f09a083777
Sml ams (#17828)
* sml ams crypto support

* add ams library

* fix crc names

* fix TLS dependency

* Update library.properties

* Update xsns_53_sml.ino
2023-01-30 15:03:46 +01:00
s-hadinger 03815d827a
Berry energy_ctypes fixed accordingly (#17820) 2023-01-29 12:09:29 +01:00
Tyeth Gundry 2ed602057c
Add SEN5X to I2C devices (#17736) 2023-01-29 08:06:25 +01:00
gemu d38a0c799c
Epaper deep sleep support (#17766)
* allow descriptor reload

* restart reason rrsn, database rewrite

* support for deep sleep

* revert

* restart reason
2023-01-22 10:56:06 +01:00
s-hadinger 61be95841f
Berry crypto.EC_P256 ECDSA signature ASN.1 (#17740) 2023-01-18 20:50:01 +01:00
gemu 853909cb35
Epaper update (#17727)
* update epaper descriptors

* epaper rewrite

* add busy invert option

* fix v2 partial refresh

* prepare for large descriptors
2023-01-17 10:19:06 +01:00
gemu beb021210d
fix shine macros (#17725) 2023-01-17 09:06:20 +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
gemu 2f1e36e1bf
Epaper29 v2 (#17627)
* support for v2

* Update ST7262_rgb16_display.ini
2023-01-07 11:31:48 +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
Theo Arends ea6a5a2d4e Removed delays in TasmotaSerial and TasmotaModbus Tx enable switching 2023-01-02 15:08:40 +01:00
Theo Arends ed0b7d69b6 Tune Tx Enable timing 2023-01-01 15:12:15 +01:00
Theo Arends c1484f761c Fix exception 9 when modbus tx enable is used 2022-12-28 15:19:09 +01:00
Theo Arends 2fd63ff01f Fix Modbus transmit enable GPIO
Fix Modbus transmit enable GPIO enabled once during write buffer
2022-12-28 14:07:30 +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
gemu 1cdd5c3f08
Udisplay support for rgb displays (#17414)
* add gt911

* add rgb display mode

* add gt911

* add gt911

* add gt911

* add sunton descriptor

* fix divide by zero crash with sunton
2022-12-18 14:06:04 +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
s-hadinger ce0a0d05a9
MQTT now uses Tasmota's DNS resolver instead of LWIP (#17387) 2022-12-13 21:46:20 +01:00
Theo Arends b78886b0f1 Add TasmotaModbus hardware fallback to GPIO13/15 2022-12-11 16:44:36 +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
gemu2015 742302c53f Makerfabs esp32-s3 p16 ili9488 2022-12-10 07:20:37 +01:00
Theo Arends 423945233c Fix RFrecv exceptions 0 and/or 6 (#17285) 2022-12-09 17:35:57 +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
Theo Arends bb88034669 Fix LD2410 Hardware Watchdogs 2022-12-04 10:50:58 +01:00
Theo Arends bbde894628 Add serial Modbus transmit enable GPIOs
Add serial Modbus transmit enable GPIOs to all modbus energy drivers and modbus bridge (#17247)
2022-12-03 12:33:42 +01:00
Theo Arends 816fd78fbb Fix LD2410 using HardwareSerial on ESP8266 2022-12-01 16:18:38 +01:00
Stephan Hadinger d3be3dfe8f IPv6 preview for ESP32, also working for ESP8266 2022-11-30 19:40:58 +01:00
Theo Arends 47ee69137b Fix TasmotaSerial::read(buffer, size) 2022-11-28 18:14:44 +01:00
Anton ac187d6829
Adding RF protocol for DEWENWILS Power Strips and Power stakes 2022-11-28 00:56:22 -05: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
Theo Arends 220a03f043 Add LD2410 debugging info 2022-11-27 12:11:48 +01:00
Theo Arends 30f64d3c42 POC HLK-LD2410 2022-11-26 10:52:42 +01:00
Theo Arends 48ae4b247c Fix intermittent hardware watchdogs
Fix intermittent hardware watchdogs in case of high speed software serial flooding
2022-11-26 09:48:23 +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
Anton b2adcdcee5
Adding protocol for DOOYA 2700AC remote
Adding protocol for DOOYA 2700AC remote (used with DT82TV curtain motors)
This remote uses 40-bit code
PR #17139 is needed to support it in decimal format of RfSend command (JSON format works as is)
2022-11-19 01:56:17 -05:00
Stephan Hadinger 774decee21 Avoid crash if malloc fails take 2 2022-11-18 17:27:09 +01:00
Theo Arends 0674f9b0b6 Add command ``SSerialBuffer 64..256``
Add command ``SSerialBuffer 64..256`` to change software serial bridge receive buffer size from default (64) to max local buffer size (256) (#17120)
2022-11-18 13:00:59 +01:00
s-hadinger cb234a2694
Revert "Avoid crash if malloc fails" 2022-11-18 07:43:38 +01:00
Stephan Hadinger e144b57b53 Avoid crash if malloc fails 2022-11-17 20:29:31 +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
Theo Arends ab94d9265a
Merge pull request #17044 from thomashargrove/sevensegment
Modify the 7-segment font to be 16 pixels wide instead of 17
2022-11-15 09:18:52 +01:00
Stephan Hadinger 7950800cb2 ESP32 LVGL library from v8.3.2 to v8.3.3 (no functional change) 2022-11-14 21:15:38 +01:00
Stephan Hadinger 2549203c13 Added WS2812 and Light ArtNet DMX control over UDP port 6454 2022-11-13 18:22:39 +01:00
Stephan Hadinger 0e5f79da9c Fix to Leds set_bytes, and added persistance to ArtNet Berry 2022-11-13 18:05:13 +01:00
Thomas Hargrove 066b98fe78
re-add tab 2022-11-11 12:06:44 -08:00
Thomas Hargrove 25be8709cf
Shave off the leftmost pixel of the 7 segment font 2022-11-11 12:03:28 -08:00
Theo Arends b7f6a7b00a Clean up logging functions 2022-11-11 09:30:31 +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
Theo Arends c351c62baf Fix possible serial watchdogs 2022-10-31 11:25:00 +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
Jason2866 cd14c15c41
rm cam_hal.h...
since not needed anymore with core 2.0.5.2
2022-10-30 11:03:05 +01:00
Stephan Hadinger 2bf7ea1154 Prepare for DMX Artnet support on ESP32 2022-10-24 23:05:23 +02:00
Jason2866 646e2006ec NimBLE v1.4.1 2022-10-24 10:56:42 +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
Stephan Hadinger 1d34a80f65 Fix only for returned string 2022-10-18 10:04:04 +02:00
Stephan Hadinger f87324f874 LVGL fix get text 2022-10-18 09:55:08 +02: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
Jason2866 77f434577f
Fix getPower return value
Power level -3 returned the wrong value.
2022-10-11 17:50:34 +02:00
Jason2866 ce46d0a089
Fix build with esp32c3 2022-10-11 17:46:15 +02: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
Theo Arends 18d37ea584
Merge pull request #16713 from gemu2015/par_udisplay
universal display driver Parallel display support
2022-10-06 16:58:37 +02:00
Stephan Hadinger 7f33f0acf3 LVGL fix potential memory leak 2022-10-06 12:42:36 +02:00
Stephan Hadinger 48bc861727 ESP32 LVGL library from v8.3.0 to v8.3.2 2022-10-05 22:28:28 +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
gemu2015 43c6cf6e26 udisplay parallel support 2022-10-03 12:24:27 +02:00
Stephan Hadinger b4aca5a3f3 Zigbee friendly names per endpoint 2022-10-02 20:54:49 +02:00
Christian Baars ff7c624413 fix compilation for TTTGO watch 2022-09-25 16:52:32 +02:00
Stephan Hadinger 3f5baaa0c6 Berry add ``introspect.setmodule(name:string, value:any) -> nil`` 2022-09-25 15:33:31 +02:00
Theo Arends 38e05671b8
Merge pull request #16574 from kiwic-moskvic/issue/oled_72x40_support
Added support for OLED display 72x40px
2022-09-24 15:26:32 +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
Tomas Zahradnik 98dda967e8 Added support for OLED display 72x40px
* Small OLED display with ssd1306 driver and resolution 72x40px must be
  added into list of supported displays. Also some shift in video ram must
  be added.

Signed-off-by: Tomas Zahradnik <tomas.zahradnik@centrum.cz>
2022-09-19 09:46:30 +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 4cf0e0ce9f IRremoteESP8266 library from v2.8.3 to v2.8.4 2022-09-18 18:26:14 +02:00
Jason2866 17106530be
version 2.8.4 2022-09-18 12:36:26 +02:00
Jason2866 280e3297b2
IRremoteESP8266 v2.8.4 2022-09-18 12:35:40 +02:00
Stephan Hadinger 412d5d6938 Fix compilation ESP8266
https://github.com/crankyoldgit/IRremoteESP8266/pull/1881/files
2022-09-17 14:35:34 +02:00
Stephan Hadinger 914859ad48 IRremoteESP8266 library from v2.8.2 to v2.8.3 2022-09-16 14:01:10 +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
Stephan Hadinger 01e80c4ce8 LVGL add `lv.COLOR_ORANGE` 2022-09-10 13:27:14 +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
Stephan Hadinger 3a54e8d84c Fix json parsing 2022-09-06 19:49:12 +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
Theo Arends 212cbe7d85 Fix extra space in non-decimal numbers
Fix extra space in non-decimal numbers (#16365)
2022-08-28 14:51:32 +02:00
Theo Arends c0cb49d2c8 TasmotaModbus library from v3.5.0 to v3.6.0
TasmotaModbus library from v3.5.0 to v3.6.0 (#16351)
2022-08-27 11:31:29 +02:00
JeroenSt 728c108294 Removed logging and changed maximum number of coils/inputs 2022-08-27 10:54:41 +02:00
JeroenSt 37574169a9 Fixed wrong bytecount 2022-08-27 10:19:24 +02:00
JeroenSt 1ac5b6fd7f Rework in progress
ModbusTCP fully tested OK
Modbus via Commands:
function 1..5 tested ok
function 6 fail
function 15 & 16 not tested
2022-08-27 09:11:36 +02:00
JeroenSt 9c11eb41d4 Changed Modbus to also support nr of bytes
for functioncode 1,2 & 15.
https://ozeki.hu/p_5876-mobdbus-function-code-1-read-coils.html
2022-08-27 09:11:36 +02:00
JeroenSt e292fdd6f5 Removed MBR from modbus serial logging 2022-08-27 09:11:36 +02:00
JeroenSt 2e111dc112 Added RX and TX logging in TasmotaModbus driver 2022-08-27 09:11:36 +02:00
JeroenSt 5f86569a9f Solved Issues mentioned in
https://github.com/arendst/Tasmota/issues/9586
2022-08-27 09:11:36 +02:00
Stephan Hadinger e46d07acb4 Berry add more metrics to GC 2022-08-26 19:23:21 +02:00
Theo Arends c7e6aabf2c
Merge pull request #16341 from FunJp/support_for_sgp40
Add support for SGP40 sensor
2022-08-26 19:22:04 +02:00
Stephan Hadinger 979288570e HASPmota make `spinner` editable 2022-08-26 08:37:28 +02:00
Jean-Pierre Deschamps 214f4bbdfd Add support for SGP40 sensor 2022-08-25 15:51:51 -04:00
Stephan Hadinger a3c29375e8 Berry Zigbee integration for received messages 2022-08-22 21:32:39 +02:00
Theo Arends 99d40825f9
Merge pull request #16237 from Jason2866/NimBLE_14
NimBLE 1.4.0
2022-08-19 12:12:50 +02:00
Jason2866 78ce8875e6
Revert "Update Webcam lib `*.h` files" 2022-08-19 09:16:56 +02:00
Theo Arends 6bc0e8dc7b TasmotaModbus library from v3.4.0 to v3.5.0
TasmotaModbus library from v3.4.0 to v3.5.0 (#16245)
2022-08-18 12:17:31 +02:00
Jason2866 39d14ab633 cpp 2022-08-18 10:11:53 +02:00
Jason2866 cdc00f2076 missing PSRAM fix 2022-08-18 10:08:53 +02:00
Stephan Hadinger 36ef4922cc Minor updates of BearSSL 2022-08-17 23:05:56 +02:00
JeroenSt b8000fa788 Update for functioncode 5 and 6 and 15 2022-08-17 19:55:42 +02:00
JeroenSt 3470a5d4cd Added Bit and Hex reading https://github.com/arendst/Tasmota/issues/9586#issuecomment-1216313774 2022-08-17 19:55:41 +02:00
JeroenSt 96a1eb3ae5 In the first serie of tests this seems to work right. 2022-08-17 19:55:41 +02:00
JeroenSt 355e31ff2e Work in progress... 2022-08-17 19:55:41 +02:00
JeroenSt 9881183726 In progess: Developping modbus write functionality 2022-08-17 19:55:41 +02:00
Jason2866 98ea693d41 NimBLE 1.4.0 2022-08-17 12:20:12 +02:00
gemu2015 cae151be2b Update wm8960.cpp 2022-08-15 13:54:42 +02:00
Jason2866 f9707217e6 Move DHT ESP32 lib to ESP32 lib 2022-08-09 11:46:25 +02:00
Theo Arends e79cd1b342
Merge pull request #16182 from Jason2866/webcam
Update Webcam lib `*.h` files
2022-08-09 10:05:04 +02:00
Theo Arends 0b8489d342
Merge pull request #16178 from gemu2015/i2supdate
I2supdate
2022-08-09 09:20:01 +02:00
gemu2015 fdda6e6c2a move library 2022-08-09 08:02:53 +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 603dd28944 Fixed IR crash on ESP32 (#16173) 2022-08-08 14:11:57 +02:00
gemu2015 7831c72be5 add setgain 2022-08-08 13:58:54 +02:00
gemu2015 a97c5d8dae add codec wm8960 2022-08-08 13:58:34 +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
gemu2015 d8fbc5eaf2 fixes memory problems 2022-07-26 15:25:00 +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
gemu2015 df9a99944e add shine mp3 encoder 2022-07-20 20:47:42 +02:00
Stephan Hadinger d3837a8b3a ESP32 LVGL library from v8.2.0 to v8.3.0 2022-07-20 09:36:22 +02:00
gemu2015 ef89614b74 ad fixed is2 mclk 2022-07-15 14:46:23 +02:00
gemu2015 82d668144e update sbox codecs 2022-07-11 09:10:10 +02:00
Stephan Hadinger d5ed1abf07 Berry add tasmota.remove_fast_loop() 2022-07-10 19:34:04 +02:00
CCTweaker 5aadcc7b36
Update LedMatrix.cpp
I have a few MAX7219 modules that use a different column assignment and the 2 already implemented orientations did not work for me.

After these changes DisplayRotate 1 and DisplayRotate 3 commands do what they are supposed to do.
2022-07-08 11:42:55 +03:00
Theo Arends 324e4e1084
Merge pull request #15942 from gemu2015/sbox_support
Sbox support
2022-07-07 22:12:08 +02:00
Stephan Hadinger 5e758db898 Berry tcpserver 2022-07-07 19:28:17 +02:00
gemu2015 1f70dc8f97 inverted backpanel 2022-07-07 13:31:52 +02:00
gemu2015 4f84d0f5e3 add sbox codecs 2022-07-07 13:28:45 +02:00
gemu2015 c3856a6873 sbox support 2022-07-07 13:27:48 +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