Commit Graph

1375 Commits

Author SHA1 Message Date
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