Commit Graph

1060 Commits

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