Commit Graph

979 Commits

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