Commit Graph

1462 Commits

Author SHA1 Message Date
Stephan Hadinger 7232f5865d Berry int() now accepts hex strings 2022-06-03 21:51:20 +02:00
Theo Arends c08561f67c Bump version to v11.1.0.4
- Restructure tasmota
2022-06-02 14:17:39 +02:00
Stephan Hadinger 19ff938d09 Berry Zigbee support payload of zcl_frame as bytes() 2022-06-01 22:06:57 +02:00
Theo Arends e8376885ff Fix another future compile error 2022-05-31 15:29:03 +02:00
Stephan Hadinger 82636e41b5 Berry LVGL fix memory leak in log reader 2022-05-29 18:32:04 +02:00
Stephan Hadinger ce33aa5f9d Berry zigbee phase 1 2022-05-24 22:45:04 +02:00
Stephan Hadinger 2a38c1c0f6 Berry add crc.sum() 2022-05-24 22:06:50 +02:00
Stephan Hadinger 208077c808 Berry add bytes().fromhex() 2022-05-24 21:52:37 +02:00
Jason2866 b1223ad933 fix VSC intelisense warning 2022-05-24 16:50:39 +02:00
Stephan Hadinger 999b477419 Simplified SBuffer 2022-05-23 21:12:47 +02:00
Stephan Hadinger fc3907677b Berry improve precompiled gen.sh 2022-05-23 21:06:36 +02:00
Stephan Hadinger 18dee9ff3b Partition_core suppport unknown types 2022-05-21 19:02:58 +02:00
Stephan Hadinger 086c4d6371 Rename OpenHASP to HASPmota 2022-05-20 21:29:39 +02:00
Jason2866 1fda07cd2c
rm commented code 2022-05-18 20:20:53 +02:00
Jason2866 91724dc8c1
Update README.md 2022-05-16 13:30:20 +02:00
Stephan Hadinger c4767578a0 OpenHASP fix dropdown direction 2022-05-13 22:39:51 +02:00
Stephan Hadinger 1e55a9ba50 OpenHASP support for dropdown attributes 2022-05-13 22:28:17 +02:00
Stephan Hadinger e6411a5d69 OpenHASP support for roller's text attribute 2022-05-13 12:12:48 +02:00
Jason2866 232594153d
Update tasmota_lib_changes.md 2022-05-12 12:41:48 +02:00
Stephan Hadinger aa1a0179a4 OpenHASP event value 2022-05-11 22:50:17 +02:00
Theo Arends 865ba51b7a Add command upload 2
Add command upload 2 to upload saveboot binary from production partition
2022-05-11 14:31:39 +02:00
s-hadinger 8814a60678
Merge pull request #15588 from s-hadinger/remove_getFlashChipSize
Remove `ESP.getFlashChipSize()` replaced by `ESP_getFlashChipSize()`
2022-05-10 23:31:58 +02:00
Stephan Hadinger 957c0a369d Remove `ESP.getFlashChipSize()` replaced by `ESP_getFlashChipSize()` 2022-05-10 23:15:26 +02:00
Stephan Hadinger a3c5a190de Berry partition_core fixes 2022-05-10 23:13:27 +02:00
Stephan Hadinger b5206206d7 OpenHSAP fix `val` attribute for `roller` and `slider` 2022-05-10 21:31:18 +02:00
Stephan Hadinger 350b670fa0 Esp32 real flash size 2022-05-09 22:43:27 +02:00
Stephan Hadinger 0b701d1643 Berry allow multiple string literal 2022-05-09 12:36:30 +02:00
Christian Baars 0e87f06ba6 Berry: add content_response() to webserver 2022-05-08 18:00:15 +02:00
Stephan Hadinger 8689563d90 Berry add additional primitives to partition_core 2022-05-08 14:15:36 +02:00
Stephan Hadinger 190b9ca17f Berry flash.factory and partition_core 2022-05-06 20:31:24 +02:00
s-hadinger cf8fe9e147
Merge pull request #15560 from s-hadinger/openhasp_support_strings_in_template
OpenHASP support string in template
2022-05-06 19:07:03 +02:00
Stephan Hadinger 02cafa1c85 OpenHASP support string in template 2022-05-06 18:57:49 +02:00
Stephan Hadinger 9e87e36ff0 Berry fix crash with GC for ctype 2022-05-05 19:10:20 +02:00
Stephan Hadinger f28dc39b82 Berry flash write unaligned and download to flash 2022-05-04 21:13:32 +02:00
Stephan Hadinger 5fbf1f266f Berry flash.factory() 2022-05-01 17:30:33 +02:00
Stephan Hadinger 495bfaf047 Berry add ota rollback 2022-05-01 16:14:19 +02:00
Stephan Hadinger 66aa714524 Berry partition manager display factory partition 2022-04-30 18:50:05 +02:00
Stephan Hadinger c394830f99 Berry make partition manager compatible with single OTA 2022-04-30 17:00:24 +02:00
Stephan Hadinger 83ba50f904 Berry make commands and rules reentrant 2022-04-30 12:48:06 +02:00
Stephan Hadinger 80cb0564cd Berry easier MQTT subscribe 2022-04-29 23:43:55 +02:00
s-hadinger 950933cafa
Berry rename solidified partition to partition_core (#15482)
* Berry rename solidified partition to partition_core

* Add init to force `partition_core` as global
2022-04-29 12:03:19 +02:00
Stephan Hadinger fd3bce508c Berry use crc32 code from esp rom 2022-04-29 10:19:47 +02:00
Stephan Hadinger d3e55ad43e Berry solidification of the partition core engine 2022-04-27 18:16:15 +02:00
Stephan Hadinger 79c171892b Berry fix wrong solidification of class name 2022-04-27 18:11:34 +02:00
Stephan Hadinger 002bc266eb Berry improve logging when using `load()` 2022-04-27 09:40:56 +02:00
Stephan Hadinger 8547cdaa0d Berry fix pointer warning 2022-04-26 23:01:10 +02:00
Stephan Hadinger 55d66c96d3 Berry fix assertion violation when loading bytecode 2022-04-26 22:28:41 +02:00
Stephan Hadinger 2106c5aa56 OpenHASP fix touch event 2022-04-25 19:24:55 +02:00
Theo Arends 522bccb3e2 Initial support for USB serial
Initial support for USB serial when define ARDUINO_USB_CDC_ON_BOOT=1
2022-04-24 17:36:10 +02:00
Stephan Hadinger 91b58679f3 OpenHASP add page events 2022-04-24 16:41:23 +02:00
Jason2866 c6120614d4
fix compile error with latest Arduino32 core
needs proper fix from upstream library
2022-04-24 16:04:46 +02:00
Stephan Hadinger efb2423b88 OpenHASP support for qrcode 2022-04-24 10:18:40 +02:00
Stephan Hadinger a6e0e96d3c LVGL improved qrcode intergation as actual class 2022-04-23 18:55:03 +02:00
Stephan Hadinger 81a8ff273a OpenHASP memory optimization 2022-04-22 22:36:45 +02:00
Stephan Hadinger 71010423eb Sync with latest Berry PRs 2022-04-20 22:57:07 +02:00
Stephan Hadinger 80ab5c3060 LVGL fix conflict between SPI DMA and SD card 2022-04-17 22:47:26 +02:00
Stephan Hadinger b422274e00 Berry support for SD card 2022-04-16 12:29:01 +02:00
Stephan Hadinger 7c48ba0c73 LVGL and OpenHASP for M5Stick 2022-04-14 23:19:05 +02:00
s-hadinger be18aaae18
Merge pull request #15366 from s-hadinger/zip_fs_prep_arduino
Prepare for Arduino PR #6569
2022-04-13 19:23:47 +02:00
Stephan Hadinger 2c12266b1b Prepare for Arduino PR #6569 2022-04-13 19:15:20 +02:00
Theo Arends 97a41afe14
Merge pull request #15361 from stibus/fix/SCD40
Fix SCD40 start low power command
2022-04-13 16:31:10 +02:00
Stefan Tibus 5ef4508618 Clean-up use of `duringMeasurement` flag
- remove obsolete integer `duringMeasurement`
- change boolean `DuringMeasurement` to lower case
- replace integer assignments with boolean assignments
2022-04-13 10:29:00 +02:00
Stefan Tibus 31bbea7502 Remove declaration of unused `co2AvgExtra` 2022-04-13 00:32:28 +02:00
Stefan Tibus 94e2c2f9da Fix early return in `startLowPowerPeriodicMeasurement`
In method `FrogMoreScd40::startLowPowerPeriodicMeasurement` the `return`
statement appeared before the update of the `DuringMeasurement` flag.
Thus, the class would wrongly assume not be in measurement mode and a
subsequent `stopPeriodicMeasurement` would fail. Moved the `return`
statement to after setting the flag.
2022-04-13 00:15:47 +02:00
Stephan Hadinger 18239d9ca3 Berry stack resize debug mode 2022-04-10 22:28:22 +02:00
Stephan Hadinger ad5a31993a OpenHASP solidified 2022-04-09 11:40:41 +02:00
Stephan Hadinger a5c852b047 Berry solidification toggle for string literals 2022-04-09 09:50:17 +02:00
Stephan Hadinger 6ee2ed80f7 Berry supper class in member 2022-04-08 19:53:55 +02:00
Stephan Hadinger e3ebffcc72 OpenHASP v1.0 2022-04-06 21:29:24 +02:00
Stephan Hadinger 4629bb4436 Berry support for int keys in map in solidification 2022-04-06 19:19:17 +02:00
Stephan Hadinger d9cfe6128a Berry prep for OpenHASP 2022-04-05 21:38:43 +02:00
Stephan Hadinger 0915664eae Berry improve asserts and stack size 2022-04-04 09:10:54 +02:00
Theo Arends e564da4313
Merge pull request #15239 from Staars/special_malloc
use special_malloc for external libs NimBLE-Arduino and HomeKit
2022-03-30 14:35:44 +02:00
s-hadinger 33120a85f4
Berry add `tasmota.publish_rule` (#15243)
* Berry add `tasmota.publish_rule`

* Fix return value
2022-03-28 22:29:06 +02:00
Staars b8fd073467 rename .c to .cpp 2022-03-27 17:57:35 +02:00
Staars 3ed44ce0dc use special_malloc for external libs 2022-03-27 17:54:18 +02:00
Stephan Hadinger 355d0ab6e1 LVGL split lv_clock and lv_clock_icon 2022-03-27 16:57:54 +02:00
Stephan Hadinger 4df75cd54b Berry introspect.module 2022-03-27 09:57:05 +02:00
Staars 4fe37a10a4 add watch and block, generated part 2022-03-25 10:16:42 +01:00
Staars cf80b826ac add watch and block, code changes only 2022-03-25 10:15:58 +01:00
Stephan Hadinger e06500cd58 LVGL roboto tapp improved 2022-03-24 13:00:08 +01:00
Stephan Hadinger 3a94f4aed9 Berry load increased logging 2022-03-23 10:56:12 +01:00
Stephan Hadinger 3aa22f9f6a LVGL add lv_font apis 2022-03-23 10:40:51 +01:00
Stephan Hadinger ead18b63d6 Berry bytes setfloat getfloat 2022-03-21 23:07:48 +01:00
Stephan Hadinger 93f8446f5e Berry add int64 support 2022-03-21 19:35:57 +01:00
s-hadinger 1c8875025c
Merge pull request #15203 from s-hadinger/berry_ble_new_mapping
Berry move BLE MI32 to simplest C mapping
2022-03-21 19:26:04 +01:00
Stephan Hadinger 7a33dd0b36 Berry move BLE MI32 to simplest C mapping 2022-03-21 19:13:54 +01:00
Stephan Hadinger b72754ab06 Berry minor changes in ctypes class wrapper 2022-03-21 19:10:07 +01:00
Stephan Hadinger f14fae1070 Berry fix wrong type check 2022-03-20 20:50:07 +01:00
s-hadinger 06c96608bd
Merge pull request #15186 from s-hadinger/berry_tostring_ctype_func
Berry toint and tostring ctype_func
2022-03-20 12:44:21 +01:00
s-hadinger eb8a16959f
Berry add `get_switches` (#15185)
* Berry add `get_switches`

* typo
2022-03-20 12:38:53 +01:00
Stephan Hadinger aed7c1f753 Berry toint and tostring ctype_func 2022-03-20 12:34:40 +01:00
s-hadinger 01eade7e47
Berry native class array (#15178)
* Berry simplified classes in Flash

* Remove be_load_lvgl_classes
2022-03-19 14:27:03 +01:00
Stephan Hadinger d87b5c20ad Rename lib lv_berry to lv_binding_berry 2022-03-17 22:31:47 +01:00
Stephan Hadinger 5a3ffc426e Berry priority loading bec files 2022-03-17 21:54:41 +01:00
Stephan Hadinger ad05edb5ff Berry minor stylistic change 2022-03-15 21:38:40 +01:00
s-hadinger 465f298dcf
IRremoteESP8266 library from v2.8.1 to v2.8.2 (#15148)
* IRremoteESP8266 library from v2.8.1 to v2.8.2

* Update changelog
2022-03-15 21:11:20 +01:00
Stephan Hadinger 22195928f9 Berry fixed pre-compiled .bec files for static methods 2022-03-13 18:51:37 +01:00
s-hadinger c47e988349
Lvgl cleaned berry mapping (#15111)
* lv module

* More classes

* String literals

* Missed one
2022-03-12 17:45:16 +01:00
Stephan Hadinger a187375c02 Berry add `path.format(true)` 2022-03-12 12:19:10 +01:00
Stephan Hadinger 4a03360c90 Berry allow bytes() mapped region to hold a null pointer 2022-03-12 10:29:46 +01:00
Stephan Hadinger c15f52935a Berry fix cron 2022-03-10 23:29:40 +01:00
Stephan Hadinger 03c9664778 LVGL add string to buffer 2022-03-10 22:25:38 +01:00
Stephan Hadinger 83597e57e8 LVGL optimizations 2022-03-10 20:56:26 +01:00
Stephan Hadinger aae745183e Berry bytes, add _change_buffer() 2022-03-10 20:39:43 +01:00
Stephan Hadinger 3dea5fbf58 LVGL improved lv_coord_arr 2022-03-08 23:20:35 +01:00
Stephan Hadinger a7577cfefc Esp32 improve PWM inverted 2022-03-08 22:49:12 +01:00
Stephan Hadinger 575beba882 LVGL add support for lv_anim 2022-03-08 22:22:57 +01:00
Stephan Hadinger 011feb7e67 LVGL add support for lv_timer 2022-03-08 13:20:07 +01:00
Stephan Hadinger 7783389921 Auto assign RMT 2022-03-06 16:31:24 +01:00
Stephan Hadinger da783abaef Added assign_rmt 2022-03-06 16:13:23 +01:00
Stephan Hadinger 7a4108ef93 Fix WS2812 multi-strip support 2022-03-06 15:50:24 +01:00
Stephan Hadinger 9fa6a0fbbf LVGL Splash screen and ``SetOption135 1`` to disable splash screen 2022-03-05 22:56:24 +01:00
Barbudor f731beb2b8 Remove dependency on USE_LIGHT for cron class 2022-02-27 19:55:41 +00:00
Jason2866 aea2315664
Fix #define protection macro name 2022-02-27 17:14:48 +01:00
Theo Arends f240c5d68c
Merge pull request #14988 from Jason2866/ignore_libs
Add esp32 libs to ignore
2022-02-27 16:06:22 +01:00
Jason2866 4f5a406221
Lib ignore 2022-02-27 14:46:03 +01:00
Theo Arends 9d179c1093 Add ESP32 TasmotaSerial uart mapping
- TasmotaSerial library from v3.4.0 to v3.5.0 (#14981)
- TasmotaSerial implement ``end()``
- ESP32 TasmotaSerial uart mapping to support multiple ``begin()`` and implement ``getUart()`` (#14981)
2022-02-27 13:28:36 +01:00
Stephan Hadinger 4229cafa63 Berry fix cron 2022-02-25 21:52:35 +01:00
Stephan Hadinger 9252b6b75d Berry add `axp.power_off()` for AXP192 devices 2022-02-24 19:04:52 +01:00
Stephan Hadinger 2dbd5215cb LVGL add lv.pct 2022-02-24 13:50:22 +01:00
Stephan Hadinger cce93b19b8 LVGL add display.driver_name 2022-02-23 19:34:13 +01:00
s-hadinger c627ab523b
Merge pull request #14955 from s-hadinger/berry_enums
LVGL add enums and dithering
2022-02-23 19:31:42 +01:00
Stephan Hadinger 488ba6f6c4 Update be_mapping documentation 2022-02-23 19:26:29 +01:00
Stephan Hadinger 4d1ca3916d LVGL add enums and dithering 2022-02-23 19:19:54 +01:00
Stephan Hadinger 98a9455772 LVGL small fix 2022-02-23 12:31:01 +01:00
Stephan Hadinger e2d34985fe Add cron_next 2022-02-21 22:40:00 +01:00
Stephan Hadinger e83e501155 Berry add cron timers 2022-02-21 22:22:30 +01:00
Stephan Hadinger d00fc8702d Berry add global.contains() 2022-02-18 22:30:37 +01:00
Stephan Hadinger ab2cbdc85d lvgl add math functions 2022-02-17 13:28:42 +01:00
Stephan Hadinger de925142b2 lvgl updates and M5Stack Fire button support 2022-02-16 22:07:18 +01:00
Jason2866 574be6b7f0
Merge branch 'arendst:development' into S3_Homekit 2022-02-16 18:10:46 +01:00
Jason2866 ae2597a405 S3 changes + NimBLE updates 2022-02-16 18:02:15 +01:00
Stephan Hadinger 7a006d7f47 Berry faster allocator for small objects 2022-02-15 22:51:11 +01:00
Stephan Hadinger 25acc6d06a Berry add id to rules 2022-02-15 22:30:44 +01:00
s-hadinger 4d311d7c86
Merge pull request #14867 from s-hadinger/berry_mqtt
Berry add module mqtt
2022-02-15 22:20:09 +01:00
Jason2866 0fc34b3dfe
Merge pull request #14861 from arendst/onewire
remove not needed OneWire code
2022-02-15 22:12:46 +01:00
Stephan Hadinger 42b73ecfce Berry add module mqtt 2022-02-15 21:58:05 +01:00
Stephan Hadinger 0ab3dd8edd Berry add hue_bridge.light_to_id() 2022-02-15 21:44:45 +01:00
Jason2866 b75919c487
remove not needed code
which will conflict with next Arduino core build
2022-02-15 20:02:31 +01:00
Stephan Hadinger 5f64dc38e0 Berry instance variables are never methods 2022-02-15 17:35:09 +01:00
Stephan Hadinger 23d20fa57e Add README for lv_berry 2022-02-14 12:46:26 +01:00
s-hadinger 945682aa78
Berry virtual Alexa Hue device (#14833)
* Berry virtual Alexa Hue device

* Fix compilation
2022-02-13 22:59:43 +01:00
Theo Arends 7165258602 Update changelogs 2022-02-13 12:12:24 +01:00
Theo Arends 26635a9aa6
Merge pull request #14786 from betarho/busio_bump
Adafruit_BusIO: bump library to version 1.11.0
2022-02-13 12:06:18 +01:00
Jason2866 5a70ca1562
NimBLE v1.36 (#14744) 2022-02-12 20:01:12 +01:00
s-hadinger 33a779f105
LVGL library from 8.1.0 to 8.2.0 (#14815) 2022-02-12 18:54:39 +01:00
Stephan Hadinger a9dfd284bb Berry update internal type system 2022-02-12 18:14:22 +01:00
s-hadinger 7df607f471
LilyGo TWtach prep (#14800)
* LilyGo TWtach prep

* Fix compilation

* Add USE_LVGL_TOUCHSCREEN

* fix
2022-02-11 09:22:30 +01:00
s-hadinger efabaf3b2b
Berry add function check (#14787) 2022-02-09 13:52:40 +01:00
Roberto Bonacina 9f752b9230 Adafruit_BusIO: bump library to version 1.11.0
The previous included version (1.0.10) was failing to read more than
32 bytes of data from I2C devices (tested on AMG8833 which typically
reads 128 bytes -whose support is in progress-).
The problem was fixed in version 1.9.0.
Currently, this library is required and used just by the
Adafruit_VEML7700 library.
The VEML7700 sensor has been tested and proved to correctly work.

Signed-off-by: Roberto Bonacina <roby.bonacina@tutanota.com>
2022-02-09 11:00:28 +01:00
Jason2866 39a0c67d06
using Berry driver 2022-02-08 17:11:14 +01:00
Stephan Hadinger ae3dfec515 Add json sensor information for AXP192 2022-02-08 10:28:45 +01:00
Jason2866 d40186b59d
support new mbedtls 2.28.x too (#14758)
* support new mbedtls 2.28.x too
2022-02-07 13:01:48 +01:00
gemu2015 262b930117 fix picture buttons for esp32 2022-02-05 07:28:10 +01:00
gemu2015 119cea29bb fix for displays without cs 2022-02-05 07:27:23 +01:00
gemu2015 2d428cf427 fix max text size 2022-02-05 07:26:21 +01:00
Stephan Hadinger d1e14e50c8 Berry add light_state class 2022-02-02 22:03:58 +01:00
Stephan Hadinger c7ec0481d9 LVGL add missing functions from lv_style 2022-02-02 21:32:05 +01:00
Stephan Hadinger 543b67228a ESP32S3 allow NeoPixelBus to compile 2022-02-01 15:34:18 +01:00
Jason2866 eb9db6a67c
Create tasmota_lib_changes.md 2022-02-01 14:32:31 +01:00
Jason2866 feb08bcbc9
ESP32-S3 has no DAC 2022-02-01 14:30:23 +01:00
Theo Arends ddcf6f3639
Merge pull request #14675 from Jason2866/Esp32-S3
ESP32-S3 support first step (of many needed)
2022-01-31 08:35:23 +01:00
Theo Arends ba19eaa169
Merge pull request #14682 from barbudor/warning_opentherm_upgrade
Add a tasmota_lib_changes.md in OpenTherm forlder
2022-01-31 08:33:39 +01:00
Stephan Hadinger 60b3c8006e Berry add uuid module 2022-01-30 23:05:32 +01:00
Barbudor de1e5b9b70 warning_opentherm_upgrade 2022-01-30 19:17:40 +01:00
Jason2866 ec3b26da8b
add S3 2022-01-30 16:56:21 +01:00
Jason2866 ac2022499f
Create tasmota_lib_changes.md 2022-01-30 16:31:07 +01:00
Theo Arends 52a03025b7 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2022-01-30 16:15:06 +01:00
Theo Arends 497d8218f9 Fix BLE wrong logging messages
Fix BLE wrong logging messages (#14655)
2022-01-30 16:15:02 +01:00
Stephan Hadinger d8ef441424 Small fixes to Berry audio 2022-01-30 11:07:15 +01:00
Stephan Hadinger 90675463b5 LVGL allow null pointer for lv_disp and lv_indev 2022-01-30 10:58:42 +01:00
Stephan Hadinger 98ddcc6658 Berry add `display.dimmer()` 2022-01-29 11:11:21 +01:00
s-hadinger 6dafe7cb60
Merge pull request #14646 from s-hadinger/tx_fix_again
LVGL TS fix (again)
2022-01-28 23:12:16 +01:00
Stephan Hadinger 9ee8d6a6af LVGL TS fix (again) 2022-01-28 22:59:23 +01:00
Stephan Hadinger 00eb68f989 Remove autoconf icon 2022-01-28 22:31:00 +01:00
Stephan Hadinger 0ef94e2429 AXP192 add `set_exten` 2022-01-28 19:17:03 +01:00
Stephan Hadinger 539c508918 Increase PWM channels to 16 (Esp32 only) 2022-01-27 21:30:05 +01:00
Jason2866 32ec553cc7
Tasmota core 2.0.2.x based on release IDF44 (#14611)
* Tasmota core 2.0.2.x based on release IDF44
Co-authored-by: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
2022-01-27 16:53:39 +01:00
Stephan Hadinger 532afbaecd PWM auto-phasing for lights by default (new behavior) unless ``SetOption134 1`` 2022-01-24 22:48:57 +01:00
Stephan Hadinger 8c1d23683c Update berry strings 2022-01-23 09:57:22 +01:00
Stephan Hadinger 74a3580229 Berry final change to be_mapping 2022-01-23 09:56:29 +01:00
Stephan Hadinger 7cb4f72761 LVGL fix argument to remove_cb 2022-01-23 09:39:24 +01:00
Stephan Hadinger 0cde972703 Fix crash when deleting custom widgets 2022-01-22 17:13:10 +01:00
Stephan Hadinger 5f43550a74 LVGL raise a warning if multiple event_cb are assigned to the same object 2022-01-22 10:41:59 +01:00
gemu2015 1339d5e792 revert 2022-01-21 11:57:52 +01:00
gemu2015 f3be1445e4 esp8266 email, scripter on 1m devices 2022-01-21 08:03:12 +01:00
Stephan Hadinger fb59c63084 Berry improvement to constants 2022-01-20 22:02:21 +01:00
Stephan Hadinger 8a3f25e608 Berry ctype functions 2022-01-19 22:56:11 +01:00
Theo Arends 7aacdf4fbe Add support for BME688
Add support for BME688 with latest Bosch-Sensor-API library (#14513)
2022-01-19 17:05:39 +01:00
Theo Arends 71bc58eeae Fix correct use of uart0 2022-01-19 12:22:30 +01:00
Theo Arends b0dafb57a4 Add valid pin checks for ESP32 family 2022-01-19 11:31:16 +01:00
Theo Arends e98498a823 Add uart0 to user selection
Add uart0 to user selection (#10203)
2022-01-19 11:01:55 +01:00
Stephan Hadinger 367414b2be add non-method check to tasmota.set_timer 2022-01-18 22:45:20 +01:00
Stephan Hadinger cd401d3928 Berry check non-method 2022-01-18 22:13:40 +01:00
Theo Arends d7142fb4f3
Merge pull request #14491 from Staars/patch-1
Adding HomeKit to legacy MI32 driver
2022-01-18 11:13:10 +01:00
Jason2866 57adb6d47f
fix ambiguous error 2022-01-18 10:41:20 +01:00
Christian Baars b08ad3843f
Update be_modtab.c
fix standard ble build 2/2
2022-01-17 20:47:32 +01:00
Christian Baars e58d1e3018
Add files via upload 2022-01-17 19:52:34 +01:00
Christian Baars 9828b96ccc
Update be_modtab.c
load MI32 and BLE
2022-01-17 19:51:27 +01:00
Theo Arends 274963758e Fix OneWire-Stickbreaker (DS18x20) library
Fix OneWire-Stickbreaker (DS18x20) library support for ESP32S2 (#14338)
2022-01-17 17:05:33 +01:00
Theo Arends 165880f06b Fix Onewire ESP32S2 functionality
Fix Onewire ESP32S2 functionality (#14338)
2022-01-17 15:37:26 +01:00
Stephan Hadinger 23c2efbe8f Fix to allow compilation of minicustom32 2022-01-16 21:34:29 +01:00
s-hadinger dcaa19d7a0
LVGL add missing enums for freetype (#14473)
* LVGL add missing enums for freetype

* Fix
2022-01-16 19:37:41 +01:00
Theo Arends fda1dd2c2c
Merge pull request #14449 from HarHarLinks/patch-1
SevenSegmentTM1637.h: binairy -> binary
2022-01-16 16:21:56 +01:00
s-hadinger d123f8dbc5
LVGL add support for lv_timer and lv_coord_t * return value (#14465)
* LVGL add support for lv_timer and lv_coord_t * return value

* Patch for char **

* fix LV_ATTRIBUTE_TIMER_HANDLER

* Comptr is 'c'
2022-01-16 15:05:14 +01:00
Stephan Hadinger b6b0e4779b LVGL add support for `lv_color_filter_dsc` 2022-01-16 13:11:49 +01:00
Stephan Hadinger 334ff4c16f LVGL more structs 2022-01-16 10:43:11 +01:00
Stephan Hadinger 3543d5f094 LVGL add support for set_text_fmt 2022-01-16 10:23:35 +01:00
Stephan Hadinger 4bb236d3d0 LVGL add palette functions 2022-01-15 23:42:40 +01:00
Kim Brose 59bc11aca5
SevenSegmentTM1637.h: binairy -> binary 2022-01-15 17:09:39 +01:00
s-hadinger 9136a7d3aa
Merge pull request #14443 from s-hadinger/remove_ld_warnings
Remove WiFiUDP32 to solve linker warnings
2022-01-14 23:10:17 +01:00
Stephan Hadinger fffcf1c2df Remove WiFiUDP32 to solve linker warnings 2022-01-14 22:53:19 +01:00
Stephan Hadinger b617ef878b Fix ld error 2022-01-14 22:20:31 +01:00
s-hadinger 7596a8edde
Merge pull request #14440 from s-hadinger/berry_silence_warning_lto-type-mismatch
Silence linker warnings with -flto
2022-01-14 21:01:35 +01:00
Stephan Hadinger a0922c11cd Silence linker warnings with -flto 2022-01-14 20:47:33 +01:00
Jason2866 9c057bda17
Merge pull request #14439 from Jason2866/updNimBLE
NimBLE update to v1.3.5
2022-01-14 19:47:33 +01:00
Jason2866 ecec42e41b
NimBLE update to v1.3.5 2022-01-14 18:00:02 +01:00
Stephan Hadinger 99037b1366 Berry int() converts comptr 2022-01-14 17:47:24 +01:00
gemu2015 f3b5201c67 fix esp8266 email 2022-01-14 10:00:32 +01:00
Theo Arends 97b27c504a
Merge pull request #14421 from Jason2866/rcswitch
Rcswitch Separation Limit changed
2022-01-14 09:07:08 +01:00
Theo Arends a3c31fdf76
Merge pull request #14422 from s-hadinger/udisplay_reduced_logs
Reduced logs for uDisplay
2022-01-14 09:06:27 +01:00
Stephan Hadinger 9958be83a8 LVGL moved Freetype embedded in LVGL8 2022-01-13 19:32:16 +01:00
Stephan Hadinger da4260641f Reduced logs for uDisplay 2022-01-13 19:20:10 +01:00
Jason2866 bd4b2b58d2 RCSWITCH_SEPARATION_LIMIT 4100 2022-01-13 18:26:25 +01:00
Jason2866 924ca0d30c
Update RCSwitch.cpp 2022-01-13 18:24:31 +01:00
Stephan Hadinger 5f6e4b7191 LVGL add missing functions move_foreground/background 2022-01-12 22:35:20 +01:00
Stephan Hadinger 636ac69a4b lvgl use native lv_png instead of library 2022-01-12 22:17:55 +01:00
Stephan Hadinger f7b9a9c324 IRremoteESP8266 library from v2.8.0 to v2.8.1 2022-01-12 21:34:40 +01:00
Jason2866 5b02250c5f
Revert "Revert "Prep for a custom minimal ESP32 variant"" (#274) 2022-01-12 19:44:42 +01:00
Jason2866 fd1fa993a3
Revert "Prep for a custom minimal ESP32 variant" 2022-01-12 12:55:40 +01:00
Jason2866 9f44b17b09
Merge pull request #14383 from Jason2866/cmini_esp32
Prep for a custom minimal ESP32 variant
2022-01-12 11:34:47 +01:00
Stephan Hadinger 4121eab041 Berry fix add for int+float 2022-01-11 17:29:08 +01:00
Jason2866 3b138e08a3
Custom Minimal esp32 2022-01-11 17:27:56 +01:00
Stephan Hadinger 2539f04007 Berry workaround for ESP32 Rev0 bug 2022-01-10 22:41:13 +01:00
Stephan Hadinger a1a98dc65d Reduce logging for Berry 2022-01-10 18:37:28 +01:00
Stephan Hadinger 9b0a5b89fe LVGL prepare for Touch Screen calibration 2022-01-10 13:48:40 +01:00
Stephan Hadinger 0fd168c6cf Berry fast loop 2022-01-09 19:22:23 +01:00
Jason2866 bbf81b5b5f c3 changes (silence warnings) 2022-01-09 14:55:39 +01:00
Stephan Hadinger 3f6701a8bd Berry fix crash when superfluous parameter is sent 2022-01-08 10:55:05 +01:00
Theo Arends 479b378707 Fix Modbus serial config 2022-01-06 14:06:56 +01:00
Stephan Hadinger 6755b754e0 Berry stores compiled bytecode into IRAM, freeing space in heap 2022-01-06 13:41:51 +01:00
Stephan Hadinger 4406eb9f3b Berry specific moved to berry_tasmota 2022-01-05 09:50:38 +01:00
Stephan Hadinger 421a2ce1fb LVGL full support for grid layout 2022-01-02 16:16:10 +01:00
Stephan Hadinger 53bf9cf11f LVGL add enums and prepare support for native arrayx 2022-01-01 19:17:55 +01:00
Stephan Hadinger 4091719bd7 LVGL add enums for layouts 2021-12-31 17:05:03 +01:00
Theo Arends 5a73aa1e1f Refactor serial config
Refactor serial config removing specific stopbit count and only support serial config constants (#14212)
2021-12-30 14:19:24 +01:00
Theo Arends 3890237a5f Add ESP32 dedicated DHT driver
- Add ESP32 dedicated DHT driver using standard Adafruit library.
- Extent DHT probe interval time from 2 to 4 seconds solving some misreadings
2021-12-29 14:57:56 +01:00
s-hadinger c032878fd6
Revert "Berry add `tasmota.random_byte()`" 2021-12-28 22:37:02 +01:00
Stephan Hadinger 44189186e9 Berry add `tasmota.random_byte()` 2021-12-28 21:29:04 +01:00
Theo Arends 41d958020e Fix possible heap corruption due to PubSubClient memmove
Fix possible heap corruption due to invalid PubSubClient memmove parameters (#13700)
2021-12-28 16:05:38 +01:00
s-hadinger 89e3851903
Merge pull request #14188 from s-hadinger/berry_string_format
Berry fix string.format crash
2021-12-28 12:23:51 +01:00
Stephan Hadinger c1e3d88f2f Berry fix string.format crash 2021-12-28 12:09:00 +01:00
Theo Arends fedf60e963
Merge pull request #14172 from Jason2866/audio_new
update Audio libs
2021-12-28 11:17:58 +01:00
Stephan Hadinger 0acabbb56e LVGL add layouts 2021-12-28 09:43:05 +01:00
Stephan Hadinger dca794dbf1 LVGL update from 8.0.2 to 8.1.0 2021-12-27 23:03:49 +01:00
Stephan Hadinger a4cd168681 LVGL modularization 2021-12-27 18:12:38 +01:00
Jason2866 b1b026f4c3
Fixed in upstream repo 2021-12-27 14:30:12 +01:00
Jason2866 e84124f035
updated Audio libs 2021-12-27 14:24:58 +01:00
Theo Arends aaa87a037a Revert "Merge pull request #14153 from wir3z/development"
This reverts commit d9ab90a2f9, reversing
changes made to 7bf6e5a773.
2021-12-25 11:34:58 +01:00
Theo Arends 4b539f9b94 Revert "Bump TasmotaSerial version to 3.4.0"
This reverts commit f2dfcb3f40.
2021-12-25 11:34:43 +01:00
Stephan Hadinger fd47406d11 LVGL add support for lv_chart_series 2021-12-24 10:06:30 +01:00
Stephan Hadinger c343896760 Berry udp remote ip and port 2021-12-24 09:48:40 +01:00
Stephan Hadinger a51d32747a Berry add support for udp client/server 2021-12-23 18:35:10 +01:00
Theo Arends f2dfcb3f40 Bump TasmotaSerial version to 3.4.0 2021-12-23 10:45:18 +01:00
wir3z 30d35b8c15 Moved kTasmotaSerialConfig to TasmotaSerial.h from Tasmota.h. 2021-12-22 12:23:17 -07:00
wir3z 3c8cda25fb Added linux safe path. 2021-12-22 10:28:55 -07:00
wir3z 223314804d Removed external function call, referenced header. 2021-12-22 10:22:16 -07:00
wir3z 4554a5ba9e Revert "Added back missing external."
This reverts commit b8e9d9401e.
2021-12-22 09:53:06 -07:00
wir3z b8e9d9401e Added back missing external. 2021-12-22 09:50:35 -07:00
wir3z ee39f84bc2 Rolled out parity changes due to potential timing issues. 2021-12-22 09:47:20 -07:00
wir3z b8752b7272 TasmotaSerial:
- Added transmit parity to software TX.  Software RX just consumes in the incoming parity bit with no error checking.
- Fixed issue where Serial.begin for the ESP8266 was not passing the UART SerialConfig compatible values.

support.ino
- Cleanup to use already present ConvertSerialConfig API.

tasmota.ino:
- Force the baudrate + serial config settings after boot.  Previously, the baudrate would change, but any non 8N1 settings were not applied.

xdrv_08_serial_bridge.ino:
- Increased the software serial bridge buffer size and changed type to prevent overflow.
- Added missing serial config settings to the serial begin.  Previously was forcing 8N1.

xdrv_10_scripter.ino
- Cleanup to use already present ConvertSerialConfig API.
2021-12-22 09:23:15 -07:00
Theo Arends 8943656729 Fixed ESP32 LedPwmMode exception
Fixed ESP32 LedPwmMode exception (#14073)
2021-12-22 16:50:29 +01:00
Jason2866 c554a70b23
fix redefine warning
with Arduino Core 3.0.x
2021-12-21 12:19:32 +01:00
Stephan Hadinger 0589a28ec8 Change more platform definitions 2021-12-20 21:05:00 +01:00
Stephan Hadinger 85662ec728 Set framework and platform for lv_berry 2021-12-20 18:29:47 +01:00
s-hadinger e239bf7b0f
Lv berry manifest (#14129)
* Update manifest for lv_berry

* Update license
2021-12-20 18:14:39 +01:00
Stephan Hadinger 1239f2d825 Fix link 2021-12-20 17:55:36 +01:00
Stephan Hadinger 8f24aa5e05 Update berry_mapping doc 2021-12-20 17:41:36 +01:00
s-hadinger 4b2ea37360
Merge pull request #14111 from s-hadinger/lib_lv_berry
Berry created separate library `lv_berry` to isolate LVGL-Berry mapping
2021-12-20 16:43:41 +01:00
Stephan Hadinger 38e6a9fdf0 Berry created separate library `lv_berry` to isolate LVGL-Berry mapping 2021-12-20 11:17:11 +01:00
Theo Arends d4b9381ab0
Merge pull request #14091 from sternegugger/PR2_MAX7219_dot_matrix
PR2 max7219 dot matrix, less memory
2021-12-20 11:15:08 +01:00
Jason2866 416cadd229
Webcam reduce lib 2021-12-19 13:52:50 +01:00
Michael 7b7913e8f3 merged, ready for PR2 2021-12-18 15:14:47 +01:00
Michael 77f0024f99 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2021-12-18 14:07:53 +01:00
Jason2866 3d716866b1 fix compiler warning webcam 2021-12-18 13:26:16 +01:00
Stephan Hadinger e5479cdc96 Berry move LVGL mapping to its own library 2021-12-18 11:47:03 +01:00
Michael e3fe445df4 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2021-12-18 11:11:12 +01:00
Stephan Hadinger 26a7fad65b Berry C mapping moved to a separate ``berry_mapping`` library 2021-12-17 19:41:36 +01:00
Theo Arends 8bad0115b0 Fix ESP32 webcam WDT
Fix ESP32 webcam WDT (#13882)
2021-12-17 18:01:27 +01:00
Stephan Hadinger 5cd2c22730 Use htlm `&deg;` entity 2021-12-16 18:40:46 +01:00
Stephan Hadinger fe682ea97f Berry fix memory corruption due to unicode character 2021-12-16 16:43:13 +01:00
Stephan Hadinger 6d9e427970 Fix Berry I2C driver lib with latest changes 2021-12-16 13:57:12 +01:00
Stephan Hadinger ef764fcc70 Put back map.has (deprecated) 2021-12-16 08:50:35 +01:00
Stephan Hadinger c152838e25 Berry yet another fix 2 2021-12-15 23:32:49 +01:00
Stephan Hadinger 38331dc35e Berry yet another fix 2021-12-14 23:23:56 +01:00
Stephan Hadinger 2b97a03d4c Latest Berry fixes 2021-12-14 21:51:12 +01:00
Jason2866 b8ac8ceae8
check if _GNU_SOURCE is defined already 2021-12-14 21:29:50 +01:00
Jason2866 b7230f394c
check if NDEBUG
is already defined
2021-12-14 21:15:19 +01:00
s-hadinger 9c9421a084
Merge pull request #14048 from s-hadinger/re15_warnings
Berry remove re1.5 compilation warnings
2021-12-14 20:57:50 +01:00
Stephan Hadinger b1162a8e1c Berry remove re1.5 compilation warnings 2021-12-14 20:08:27 +01:00
Stephan Hadinger bcc970b559 Berry use ROM MD5 2021-12-14 19:56:28 +01:00
Stephan Hadinger 7f0e4944ac Berry rename step 2/2 2021-12-14 15:10:03 +01:00
Stephan Hadinger 7dddbc40ab Berry rename step 1/2 2021-12-14 14:46:55 +01:00
s-hadinger 011b8ac769
Revert "Rename Berry to berry" 2021-12-14 13:52:36 +01:00
Stephan Hadinger 560e769485 Rename Berry to berry 2021-12-14 09:37:15 +01:00
Stephan Hadinger 63b9c64603 Fix warning 2021-12-13 19:33:16 +01:00
Stephan Hadinger 2841734465 Berry remove conversion from comptr to int 2021-12-13 19:19:32 +01:00
s-hadinger 0386a0d74b
Merge pull request #14022 from s-hadinger/berry_fix_exceptions
Berry fix exceptions
2021-12-12 21:08:43 +01:00
Stephan Hadinger 47deea04ce Berry fix exceptions 2021-12-12 19:58:14 +01:00
Stephan Hadinger b4e9468bbb Berry mapping step 1 2021-12-12 18:56:11 +01:00
Theo Arends 63d8d5ff2e
Merge pull request #14011 from jeroenvermeulen/fix_touch_buttons_without_ufilesys
Fix for #14006: can't USE_TOUCH_BUTTONS without USE_UFILESYS
2021-12-12 11:29:08 +01:00
Jeroen Vermeulen - MageHost 3bb71f154d Fix for #14006.
Without USE_UFILESYS you can't draw picture buttons.
2021-12-11 19:34:17 +01:00
Stephan Hadinger d0806d33c6 Berry fix webclient 2021-12-11 16:36:29 +01:00
Stephan Hadinger dbd321291e Berry strptime 2021-12-10 23:18:49 +01:00
Stephan Hadinger 5242165520 Berry allow instance functions 2021-12-10 22:23:59 +01:00
Stephan Hadinger c4d7a5eab2 Berry `string.tr` accepts removing chars 2021-12-09 23:33:05 +01:00
Stephan Hadinger 4168421590 Remove flush 2021-12-09 22:15:15 +01:00
Stephan Hadinger 9faadaca67 Berry added `tcpclient` 2021-12-09 22:00:24 +01:00
Stephan Hadinger 4cd926e008 Berry pycoc optimization 2021-12-09 19:37:00 +01:00
gemu2015 ba3ca8f905 dma default off 2021-12-08 16:34:00 +01:00
Stephan Hadinger 888cbb999d Rename be_map_release to be_map_compact 2021-12-04 13:49:06 +01:00
Stephan Hadinger bcbef695ce Berry sync with upstream 2021-12-04 13:46:43 +01:00
Michael 34ad6a736c Merge branch 'development' of https://github.com/arendst/Tasmota into development 2021-12-03 17:07:48 +01:00
Michael 306ed0d2dd max7219 dot matrix ready for pull request 2021-12-03 16:50:55 +01:00
s-hadinger a3f5d0df58
Merge pull request #13890 from s-hadinger/leds3
Berry leds improvements
2021-12-01 22:59:55 +01:00
Stephan Hadinger 5d91392ae8 Berry leds improvements 2021-12-01 22:44:58 +01:00
s-hadinger ed094301a5
Merge pull request #13888 from s-hadinger/berry_no_crash_setsuper
Berry prevent crash when setting superclass of solidified class
2021-12-01 22:02:36 +01:00
Stephan Hadinger a147e00f6d Berry prevent crash when setting superclass of solidified class 2021-12-01 21:54:00 +01:00
Stephan Hadinger b409377068 MQTT TLS dual mode (CA or fingeprint) in same firmware, ``SetOption132 1`` to force fingerprint 2021-12-01 21:38:28 +01:00
Jason2866 768335e1f0
Update nimble 2021-11-30 21:58:40 +01:00
Michael 09974f8873 Command for all Modules at once 2021-11-30 14:18:26 +01:00
s-hadinger d70a549e1e
Merge pull request #13859 from s-hadinger/berry_tapp_log
Berry avoid TAP message in console
2021-11-29 22:32:22 +01:00
s-hadinger ca04ac381e
Merge pull request #13858 from s-hadinger/ws2812_neopixel_fix
Final fix for ESP32 WS2812
2021-11-29 21:48:40 +01:00
s-hadinger 11eb618994
Merge pull request #13857 from s-hadinger/berry_solidify_fix
Berry fix stack corruption in solidify.dump
2021-11-29 21:44:55 +01:00
Stephan Hadinger 82aae68cce Berry avoid TAP message in console 2021-11-29 21:44:44 +01:00
Stephan Hadinger dbe0cdeaa3 Final fix for ESP32 WS2812 2021-11-29 21:35:20 +01:00
Stephan Hadinger 7bbd6bddfe Berry fix stack corruption in solidify.dump 2021-11-29 21:32:39 +01:00
Stephan Hadinger 0d4b12e5ac Berry fix bool() 2021-11-29 21:30:06 +01:00
Michael 5b3266e7ca Support for more than 8 matrix devices 2021-11-29 15:27:55 +01:00
Stephan Hadinger 84e9f2263d Fix WS2812 crash 2021-11-29 09:57:10 +01:00
s-hadinger 1cdc1578f7
Merge pull request #13841 from s-hadinger/berry_auto_path
Berry auto path when loading archive
2021-11-28 20:42:13 +01:00
Stephan Hadinger 079f50cc20 Berry auto path when loading archive 2021-11-28 20:13:03 +01:00
s-hadinger 1580e52fa1
Merge pull request #13840 from s-hadinger/berry_list_range_neg
Berry fix ranges with negative indices
2021-11-28 19:53:19 +01:00
Stephan Hadinger 0fad84fe06 Berry fix ranges with negative indices 2021-11-28 19:41:26 +01:00
Stephan Hadinger b4cbeac215 Berry avoid LittleFS issue with persist 2021-11-28 18:10:18 +01:00
s-hadinger 3eb6c550e1
Merge pull request #13832 from s-hadinger/berry_leds_serpentine
Berry Leds support for serpentine matrix
2021-11-27 19:42:54 +01:00
Stephan Hadinger 85472e1be4 Berry Leds support for serpentine matrix 2021-11-27 19:33:11 +01:00
Stephan Hadinger 94a0a6bd3d Berry add `bool()` function 2021-11-27 18:47:24 +01:00
s-hadinger 62a1911d4e
Merge pull request #13824 from s-hadinger/berry_list_concat_fix
Berry fix list.concat
2021-11-27 11:24:30 +01:00
Stephan Hadinger f60bd05eed Berry fix list.concat 2021-11-27 11:20:02 +01:00
Stephan Hadinger 185116aea0 Remove autoconf warning from Berry console 2021-11-27 11:01:24 +01:00
s-hadinger 5d7a57babc
Merge pull request #13819 from s-hadinger/berry_list_concat
Berry list.concat takes a delimiter
2021-11-26 21:31:38 +01:00
Stephan Hadinger ba4b98f773 Berry list.concat takes a delimiter 2021-11-26 20:56:40 +01:00
Stephan Hadinger 7808a58ffa Berry improved re.split 2021-11-26 19:03:21 +01:00
Stephan Hadinger c34656daec Berry list.keys() 2021-11-26 11:41:44 +01:00
Stephan Hadinger ba09129398 Berry renumber internal types to allow for extensions 2021-11-26 08:44:37 +01:00
Stephan Hadinger 2ae03c6e43 Berry add ``import re`` regex module 2021-11-25 22:57:37 +01:00
s-hadinger 33383d1ce4
Merge pull request #13797 from s-hadinger/ota_github_redirect
OTA follows redirects
2021-11-25 20:14:45 +01:00
Stephan Hadinger 498aa9b2b3 Update static functions, test and grammar 2021-11-25 20:09:04 +01:00
Stephan Hadinger 711ca5a277 OTA follows redirects 2021-11-25 20:00:07 +01:00
Stephan Hadinger 8faa144d04 Berry static methods 2021-11-25 19:46:02 +01:00
Michael f2f6eba009 ready for ESP32 2021-11-24 17:24:40 +01:00
Theo Arends f5a86f4b88
Merge pull request #13779 from hallard/teleinfo_fix
Teleinfo use hardware energy counters
2021-11-24 09:45:36 +01:00
Michael c4a4bb0ff8 scroll works 2021-11-23 23:08:05 +01:00
Stephan Hadinger 5315ccb2c4 OTA over HTTPS 2021-11-23 22:15:08 +01:00
Charles 58b4ee6542 makes labelCount public 2021-11-23 17:30:36 +01:00
Michael 917777d2c5 first scroll 2021-11-23 14:46:19 +01:00
Stephan Hadinger a4cb5d9881 Berry add metrics to teleperiod 2021-11-22 19:29:53 +01:00
Theo Arends 3cb48f1f08 Fix ESP32 OneWire
Fix ESP32 OneWire to work with Core 2.x (#13666)
2021-11-22 15:58:36 +01:00
s-hadinger 20d8f5e629
Merge pull request #13760 from s-hadinger/berry_fix_raise
Berry fix raise counter
2021-11-21 23:34:03 +01:00
Stephan Hadinger 51e99fe4af Berry fix raise counter 2021-11-21 23:17:45 +01:00
Stephan Hadinger 871baa7f41 Berry remove warning when no debug 2021-11-21 23:08:54 +01:00
Stephan Hadinger cb0ad2c75b Berry tasmota.read_sensors() 2021-11-21 18:54:13 +01:00
Michael 532e506946 use LedMatrix 1234 2021-11-20 17:28:38 +01:00
Jason2866 f906c46392
Merge pull request #13738 from cociweb/ir_2_8_0
IRremoteESP8266 library from v2.7.20 to v2.8.0
2021-11-20 12:56:11 +01:00
s-hadinger 26dddb5b74
Berry animate also returns value (#13744)
* Berry animate also returns value

* Berry Animate make closure optional
2021-11-20 12:40:35 +01:00
Jason2866 fb41a57ae2
Delete scrape_supported_devices.py 2021-11-20 12:07:11 +01:00
s-hadinger 56f5584a46
Berry allow import in tapp (#13743)
* Berry allow import in tapp

* Avoid patching Berry
2021-11-20 11:29:04 +01:00
Stephan Hadinger cad8c179b5 Berry add gc objects metrics 2021-11-20 09:49:23 +01:00
@cociweb 0cbd6cff4a IRremoteESP8266 library from v2.7.20 to v2.8.0 2021-11-19 23:58:47 +01:00
s-hadinger 97ba91ca58
Merge pull request #13735 from s-hadinger/berry_no_debug
Berry disable debug features
2021-11-19 23:17:29 +01:00
Stephan Hadinger ae7104a9d0 Fix issue with module debug missing 2021-11-19 22:53:16 +01:00
Stephan Hadinger cbab510997 Berry disable debug features 2021-11-19 22:29:20 +01:00
Stephan Hadinger 8a8724763f Berry add animation framework 2021-11-19 22:09:35 +01:00
Stephan Hadinger 3f140b4b10 Berry support for neopixel (WS2812, SK6812) 2021-11-18 20:30:16 +01:00
Stephan Hadinger f3c235b8e9 Removed ILI9488 driver in favor of Unversal Display Driver 2021-11-17 22:48:48 +01:00
Stephan Hadinger c4091c575b Berry simplified preinit and autoexec 2021-11-16 21:46:42 +01:00
gemu2015 3885a19b57 enable all pins for cs and dc 2021-11-16 08:09:04 +01:00
gemu2015 1278682182 epaper area calls 2021-11-16 08:03:15 +01:00
Stephan Hadinger b3796c4adb Preliminary support for Tasmota Application (.tapp files) 2021-11-15 23:06:04 +01:00
Stephan Hadinger 87490c5e94 Renamed autoconf suffix 2021-11-15 22:11:04 +01:00
Stephan Hadinger a08b54b295 Fix Berry compound assignment 2021-11-15 19:14:35 +01:00
Jason2866 67a8380131
Merge pull request #13680 from Jason2866/comp_silence
fix compiler warnings
2021-11-15 12:52:32 +01:00
Jason2866 d3ba1dd5fc fix compiler warnings 2021-11-15 12:35:48 +01:00
Stephan Hadinger a584d77651 Berry fix unary not 2021-11-14 21:38:59 +01:00
Stephan Hadinger ac2634d8e7 Force Berry and Autoconf to use internal Flash file-system 2021-11-14 18:32:17 +01:00
s-hadinger a9f0585429
Autoconf v1 (#13665)
* Fix compiler warning

* Autoconfiguration for ESP32 and variants
2021-11-13 20:45:27 +01:00
Theo Arends dbd7d29765 Fix CSE7761 comms
Fix CSE7761 and Sonoff Dual R3 comms
2021-11-12 14:39:14 +01:00
Stephan Hadinger a36331fe47 Improved for zigbee 2021-11-11 19:22:15 +01:00
Stephan Hadinger 75b749c67e Merge branch 'development' of https://github.com/arendst/Tasmota into serial_lowbitrate 2021-11-11 18:56:31 +01:00
Stephan Hadinger 9084e36978 Make serial more responsive at low bitrate 2021-11-11 14:44:54 +01:00
s-hadinger e69522f70b
Berry `tasmota.arch()` (#13635)
* Berry `tasmota.arch()`

* Fix typo
2021-11-10 20:58:06 +01:00
s-hadinger 1f229e7534
Support for ZIP fs and download (#13632)
* Support for ZIP fs and download

* Fix
2021-11-10 19:31:22 +01:00
Stephan Hadinger 23e562a058 TLS make ALPN configurable 2021-11-10 18:45:50 +01:00
Christian Baars 54acd8fad7
Delete bignum.c
forgot to delete this...
2021-11-08 18:22:55 +01:00
Christian Baars 7b687fc658
Port to ESP32-C3 2021-11-08 17:33:51 +01:00
Christian Baars 566f619235
Update esp_mfi_debug.h
Reduce logging for release builds
2021-11-08 17:31:25 +01:00
Stephan Hadinger b9b6531c7d Berry fix problem when stack resize 2021-11-07 20:02:56 +01:00
Jason2866 0c3e9a4751 correct and rename lib structure 2021-11-07 13:47:24 +01:00
Stephan Hadinger 1e5364ecef Berry make persist more robust 2021-11-07 11:10:01 +01:00
Stephan Hadinger 4f4b1f7658 Berry fix crash in solidify 2021-11-06 19:23:50 +01:00
Theo Arends 5549b5e108
Merge pull request #13583 from arlosi/fix-onewire-c3
Fix OneWire on ESP32-C3
2021-11-06 11:12:56 +01:00
Stephan Hadinger 9fcebb17ed Move LList to its own library 2021-11-06 09:37:40 +01:00
Arlo Siemsen d918eb1dff Fix OneWire on ESP32-C3 2021-11-05 23:41:35 -05:00
Stephan Hadinger 0c144fb748 Berry optimize GPIO constants 2021-11-05 19:25:50 +01:00
Stephan Hadinger 77a3d8670b LVGL add theme mono 2021-11-05 08:44:39 +01:00
Stephan Hadinger 765013cda9 Berry avoid crash when I2C is not configured 2021-11-04 20:21:59 +01:00
Stephan Hadinger 26d2f9821e Berry support for multiple rules with same prefix 2021-11-04 19:34:22 +01:00
Stephan Hadinger e45f25f59a Berry support for unishox compression 2021-11-04 08:17:42 +01:00
s-hadinger b9f47f93c9
Merge pull request #13559 from s-hadinger/berry_updates
Berry multiple updates
2021-11-03 21:03:59 +01:00
Stephan Hadinger 10b56dc1f6 Berry multiple updates 2021-11-03 20:46:49 +01:00
Stephan Hadinger 595f181dc0 LVGL fix event target 2021-11-03 18:16:29 +01:00
Jason2866 f47d044bc9
Epdiy Waveform update Lilly Go 4.7
* ED047TC2 waveform
2021-11-01 13:54:07 +01:00
Jason2866 70b1977d3c
Update library.json 2021-10-31 20:53:10 +01:00
Jason2866 1929cf27ce
LDF Platformio compile fix 2021-10-31 20:41:14 +01:00
Jason2866 da686d616f
Delete lib/libesp32_epdiy/hardware directory 2021-10-31 18:09:59 +01:00
Jason2866 003b367f2d
Delete lib/libesp32_epdiy/examples directory 2021-10-31 18:08:52 +01:00
Jason2866 344f929137
Delete lib/libesp32_epdiy/doc directory 2021-10-31 18:07:24 +01:00
Jason2866 c24694adab
correct entry in platforms 2021-10-31 17:47:10 +01:00
Jason2866 256c1ff08e del not needed code 2021-10-28 19:25:07 +02:00
Jason2866 8a764f86ee
fix compile with ESP32 2.0.x 2021-10-26 23:34:35 +02:00
s-hadinger 6158032723
Berry add stack increase observability (#13482)
* Berry add stack increase observability

* Berry stack increase in bytes
2021-10-26 23:13:16 +02:00
Stephan Hadinger cb27f53816 LVGL OpenHASP alpha 4 2021-10-26 21:58:21 +02:00
Christian Baars f4b6acf242
Fix ESP32-Homekit for IDF>4 2021-10-26 21:29:24 +02:00
Stephan Hadinger 07e848cd30 LVGL OpenHASP alpha 3 2021-10-25 22:20:48 +02:00
Stephan Hadinger 9fcd7c3ae4 Berry fix possible memory corruption 2021-10-24 10:23:36 +02:00
Theo Arends 2e87681612 BearSSL: support connect() without timeout on ESP32
BearSSL: support connect() without timeout on ESP32 (#13435)
2021-10-23 18:08:49 +02:00
Stephan Hadinger 03a3dd481e Missed one 2021-10-23 17:50:12 +02:00
Stephan Hadinger 1aa017a095 Roll back from #13435 2021-10-23 17:46:52 +02:00
Stephan Hadinger e047260158 LVGL add roboto condensed 2021-10-23 16:13:00 +02:00
Stephan Hadinger 6fa5aec939 LVGL OpenHASP alpha2 2021-10-23 15:08:33 +02:00
Theo Arends e6cc6dfcd1
Merge pull request #13435 from Leo-PL/fix_bearssl_connect_esp32
BearSSL: support connect() without timeout on ESP32
2021-10-22 09:33:49 +02:00
Lech Perczak b5730a9be9 BearSSL: support connect() without timeout on ESP32
Arduino-ESP32 supports both versions of 'connect' method, with and
without timeout argument. Since most users of
WiFiClientSecure_light class use version without this argument -
for example - Telegram, export both on ESP32 to fix build failure
with USE_TELEGRAM enabled on ESP32.

Fixes: 3d5c68b850 ("Berry class ``webclient`` for HTTP/HTTPS requests")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
2021-10-21 23:29:47 +02:00
Stephan Hadinger 0a5bccc8d9 Berry json dump for subclasses 2021-10-21 21:41:20 +02:00
Stephan Hadinger 85a0ba4b6d Change limit 2021-10-20 23:06:29 +02:00
Stephan Hadinger 13e8287554 Berry python compat for ranges 2021-10-20 22:59:16 +02:00
Stephan Hadinger 9f7a52633a Berry add module ``python_compat`` to be closer to Python syntax 2021-10-20 19:04:18 +02:00
Stephan Hadinger 3d3d634070 Berry support for tele rules 2021-10-19 22:38:54 +02:00
Stephan Hadinger 24afc50375 Berry add access to Settings 2021-10-19 21:47:48 +02:00
s-hadinger e7159c8c8c
Merge pull request #13410 from s-hadinger/berry_set_solidified_fix
Berry prevent crash when setting static variable for solidified class
2021-10-19 20:56:09 +02:00
Stephan Hadinger 3b90a68799 Berry prevent crash when setting static variable for solidified class 2021-10-19 20:32:41 +02:00
Stephan Hadinger 0fa343c447 Berry add a watchdog 2021-10-19 20:14:31 +02:00
Stephan Hadinger 58694c99e0 Berry fix tasmota.cmd result 2021-10-18 18:09:31 +02:00
Stephan Hadinger f3c11c6951 Berry return last message in tasmota.cmd() 2021-10-18 11:24:11 +02:00
Stephan Hadinger e49eadff4e Berry bytes() allow negative indices 2021-10-17 19:13:32 +02:00
Stephan Hadinger 149920e363 Berry fix string literal 2021-10-17 16:05:13 +02:00
Stephan Hadinger 560e676be3 LVGL Berry remove constants 2021-10-15 21:26:33 +02:00
Stephan Hadinger 164d14496b LVGL Berry namespace ``lv.*`` added and removed ``lv_*`` constants 2021-10-15 19:34:37 +02:00
Stephan Hadinger 8837ad6ff1 Berry stability fix 2021-10-14 09:15:19 +02:00
Stephan Hadinger 48410e9536 Berry safer rule management 2021-10-11 19:10:37 +02:00
s-hadinger 416b3f8e05
Berry add stack dump in case of exception (#13319)
* Berry add stack dump in case of exception

* Fix type in Berry

* More typo
2021-10-10 19:53:38 +02:00
s-hadinger 497d49b417
Merge pull request #13304 from s-hadinger/tls_dual_mode
TLS dual mode
2021-10-09 10:06:49 +02:00
Stephan Hadinger 1a96a39d3a TLS dual mode 2021-10-09 09:49:00 +02:00
Stephan Hadinger 0b69194134 Berry remove persist tosrting 2021-10-08 21:00:50 +02:00
Stephan Hadinger 59e5747301 Berry reduce pressure on gc 2021-10-07 21:35:56 +02:00
Stephan Hadinger fba096500e Berry fix heap size control in high memory pressure 2021-10-07 19:03:34 +02:00
Theo Arends a176778956 Fix Tasmota logging when NIMBLE is enabled 2021-10-07 14:15:20 +02:00
Stephan Hadinger aaec57db1c Berry fix Energy module 2021-10-05 21:28:34 +02:00
Stephan Hadinger 1077ce3db7 OpenHASP phase 1 2021-10-04 22:36:22 +02:00
Stephan Hadinger ddb1eb7fea Berry and LVGL fixes 2021-10-04 19:15:27 +02:00
Theo Arends 47a85d975a
Merge pull request #13271 from gemu2015/udisp_fix
fix rotate
2021-10-04 14:57:38 +02:00
Stephan Hadinger 22daee620a Fix ctypes for energy and lvgl 2021-10-04 13:42:09 +02:00
gemu2015 01ec66b7b6 fix rotate 2021-10-04 13:04:48 +02:00
Stephan Hadinger 4a18748f74 Berry improvements to `persist` 2021-10-03 16:34:45 +02:00
s-hadinger 6878bf9fbf
Berry add module ``import persist`` (#13264)
* Berry add module ``import persist``

* Call `persist.save()` before restart
2021-10-03 11:54:29 +02:00
Stephan Hadinger 98acc6fe2d LVGL updated to v8.0.2 **breaking changes** 2021-10-02 09:33:59 +02:00
Barbudor 6783f91566 prepend OPTH_ to conflicting symbols 2021-10-01 17:57:02 +00:00
Theo Arends 63f526972c
Merge pull request #13252 from gemu2015/multi_display
fix multi display issues
2021-10-01 16:12:57 +02:00
Stephan Hadinger a21e4a58fc Berry add `tasmota.global` 2021-09-30 19:51:40 +02:00
gemu2015 7e38e75116 fix multi display issues 2021-09-30 19:09:38 +02:00
Stephan Hadinger b5c58d0273 Berry support for NAN 2021-09-28 22:47:40 +02:00
Stephan Hadinger 2f494feb80 Berry smart compile to bytecode 2021-09-28 22:17:11 +02:00
Stephan Hadinger 27dbe91a1c Berry fix Energy mapping 2021-09-28 20:03:24 +02:00
Stephan Hadinger e5be88ad15 Berry print stack trace when exception, more detailed with line numbers if `#define USE_BERRY_DEBUG` 2021-09-27 13:39:12 +02:00
s-hadinger 70d46bf32a
Merge pull request #13226 from s-hadinger/berry_ctypes_accept_bool
Berry ctypes accepts `bool` as parameter
2021-09-27 13:17:37 +02:00
Stephan Hadinger 735aea937a Berry ctypes accepts `bool` as parameter 2021-09-27 12:53:28 +02:00
Stephan Hadinger 7e93d5c370 Berry fix flip 2021-09-27 12:13:11 +02:00
Theo Arends 939ac5da33 Satisfy security police 2021-09-25 13:19:14 +02:00
Stephan Hadinger 509daa24dc Berry revamped ``energy`` module to expose all C variables to Berry (read/write) 2021-09-24 18:05:16 +02:00
s-hadinger 883a9fb12c
Berry refactored bytes class (#13208)
* Berry refactored bytes class

* Fix
2021-09-24 08:04:55 +02:00
Theo Arends 16f9e2bd88
Merge branch 'development' into development+SCD40 2021-09-23 14:42:04 +02:00
Stephan Hadinger 28c65dd0c1 Berry simplification of `ctypes` 2021-09-22 13:54:20 +02:00
s-hadinger 176e2d8fac
Berry string range (#13194)
* Berry string range

* Fix regressions
2021-09-21 11:59:40 +02:00
s-hadinger 036430ec65
Berry improve `introspect.toptr()` (#13178)
* Berry improve `introspect.toptr()`

* Fix unwanted change
2021-09-19 23:27:51 +02:00
s-hadinger 74bd4cfd53
Berry add `tasmota.get_switch()` (#13173) 2021-09-19 15:52:13 +02:00
s-hadinger 5e2686407d
Berry introspect toptr (#13172)
* Berry introspect, add `toptr` and `fromptr`

* Remove warning
2021-09-19 15:35:51 +02:00
Stephan Hadinger 60d9b95ff4 Berry fix compiler bug in complex compound assignments 2021-09-18 16:00:56 +02:00
Jason2866 b02560fd8f
Webcam compile time optimization
* Optimize compile time (1)
2021-09-16 19:24:01 +02:00
Stephan Hadinger 9fa3cb4544 Berry add `path.last_modified()` 2021-09-15 22:25:36 +02:00