Commit Graph

5447 Commits

Author SHA1 Message Date
Theo Arends 5803407209 Revert "Chk if this fixes memory leak (#13251)"
This reverts commit 789c3acf38.
2021-10-02 14:05:52 +02:00
Theo Arends 811152a630 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2021-10-02 14:04:36 +02:00
Theo Arends 21c0200bd7 Fix ESP32 restart hang when USE_EMERGENCY_RESET is enabled 2021-10-02 14:04:32 +02:00
s-hadinger 6ee08a1bf0
Merge pull request #13257 from s-hadinger/lvgl_fix_init
LVGL fix init display desctriptor
2021-10-02 11:00:40 +02:00
Stephan Hadinger 4eee590a04 LVGL fix init display desctriptor 2021-10-02 10:59:41 +02:00
Stephan Hadinger 319b6e664a Lvgl8 minor cleaning 2021-10-02 10:31:38 +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 789c3acf38 Chk if this fixes memory leak (#13251) 2021-10-01 17:15:28 +02:00
Theo Arends a45c2ca66b Fix unwanted pre-init functionality toggling non-display relays. 2021-10-01 16:19:23 +02: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
Adrian Scillato 86e72bbedd
Merge pull request #13235 from ascillato/Allow-KNX-and-Zigbee
Fix Optional Compilation of ZigBee with KNX
2021-09-29 17:11:33 -03:00
Theo Arends 0b944fddba Fix unwanted display interactions
Fix unwanted display interactions when no display is configured
2021-09-29 16:36:33 +02:00
Theo Arends b47e91c8ab Add energy total spilt 2021-09-29 15:33:58 +02:00
Theo Arends 9b35c54ed1 Revert "Add support for split energy totals"
This reverts commit d3fc03d398.
2021-09-29 14:53:23 +02:00
Theo Arends d3fc03d398 Add support for split energy totals
Add command ``SetOption129 1`` to enable split total energy results (#13030)
2021-09-29 12:08:03 +02:00
Adrian Scillato e49dfa7296
KNX: Fix Energy Driver dependency 2021-09-28 15:55:38 -03:00
Adrian Scillato e28a3342cb
Allow KNX and Zigbee 2021-09-28 15:53:14 -03:00
Stephan Hadinger 27dbe91a1c Berry fix Energy mapping 2021-09-28 20:03:24 +02:00
Theo Arends 2455d4bfec Prep energy total by phase 2021-09-27 14:31:16 +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
Barbudor 7c8d966206 easier to disable PID_USE_TIMPROP 2021-09-25 17:20:36 +00:00
Theo Arends 1a53f9a757 Default enable EQ3 in ESP32 bluetooth image
Default enable EQ3 in ESP32 bluetooth image (#13103)
2021-09-25 13:47:01 +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
Theo Arends 7c71c3bdd8 Add command ``WebQuery <url> GET|POST|PUT|PATCH [<headers>] <body>``
Add command ``WebQuery <url> GET|POST|PUT|PATCH [<headers>] <body>`` to extent HTTP requests (#13209)
2021-09-24 11:34:44 +02:00
Theo Arends 16f9e2bd88
Merge branch 'development' into development+SCD40 2021-09-23 14:42:04 +02:00
gemu2015 038809e5c1 fix graph colors 2021-09-23 09:51:51 +02:00
gemu2015 21cce99467 ws2812 RGBW 2021-09-23 08:18:58 +02:00
gemu2015 db1036e8b9 fix sml obis 2021-09-22 16:40:52 +02:00
Stephan Hadinger 28c65dd0c1 Berry simplification of `ctypes` 2021-09-22 13:54:20 +02:00
Theo Arends e89eb985bb Add support for BL0939 energy monitor
Add support for BL0939 energy monitor as used in ESP32 based Sonoff Dual R3 V2 Pow (#13195)
2021-09-22 12:45:56 +02:00
Theo Arends f537534df0 Fix SHP10 legacy support 2021-09-22 11:56:28 +02:00
Barbudor 4cb51c00af typo fix 2021-09-21 18:54:43 +02:00
Barbudor 85e04ab0c2 fix it_IT 2021-09-21 18:43:40 +02:00
Barbudor 65989d2552 bl09xx driver for both bl0939 and bl0940 2021-09-21 18:25:52 +02:00
Theo Arends 4087f15aa8 Rename xnrg_x0_dummy.ino 2021-09-21 14:37:45 +02:00
Arnold 6a3dd401dc
SCD40 disabled by default in sensors image 2021-09-20 21:31:21 +02:00
Theo Arends 84b7acc059 Refactor USE_AHT2x 2021-09-20 15:30:12 +02:00
Theo Arends e31fbcf283
Merge pull request #13129 from cbcercas/AHT2x
support AHT20 without enabling AHT1x
2021-09-20 15:21:45 +02:00
Theo Arends 2143491b37 Refactor Serial.swap 2021-09-20 14:31:00 +02:00
Theo Arends e0e9b9a98c
Merge pull request #13159 from Jason2866/rm_ha_disco
Remove home assistant discovery
2021-09-20 11:29:51 +02:00
Theo Arends 290d38669e
Merge pull request #13153 from Arnold-n/development+autorunscript
Add PRECONFIGURED_SCRIPT and START_SCRIPT_FROM_BOOT options
2021-09-20 11:27:05 +02:00
Theo Arends 21ac944940
Merge pull request #13077 from ajithvasudevan/max7912_scrolltext_enhancement
Enhanced 7-Segment command DisplayScrollText for indefinite as well as finite scrolling
2021-09-20 11:16:59 +02:00
Theo Arends 6959b60dcd
Merge pull request #13103 from btsimonh/EQ3PR
Add driver xdrv_85_BLE_EQ3_TRV
2021-09-20 11:16:04 +02:00
Theo Arends 9173175a2d
Merge pull request #13143 from barbudor/serial_console_swap
Serial.swap if TXD/RXD on GPIO13/15 (ESP8266)
2021-09-20 11:15:08 +02:00
s-hadinger 74bd4cfd53
Berry add `tasmota.get_switch()` (#13173) 2021-09-19 15:52:13 +02:00
Jason2866 3c449cf8e0
Update tasmota_configurations_ESP32.h 2021-09-17 20:26:36 +02:00
Jason2866 f27bcb5103
Merge pull request #13148 from Jason2866/Cam_compile_opti
Webcam build optimization
2021-09-17 14:39:56 +02:00
Jason2866 7231f63129
USE_TASMOTA_DISCOVERY for Webcam 2021-09-17 14:35:13 +02:00
Arnold 0de562567b
Add PRECONFIGURED_SCRIPT and START_SCRIPT_FROM_BOOT options
Change allows to define a PRECONFIGURED_SCRIPT in user_config_override.h
and to start a script from boot by defining START_SCRIPT_FROM_BOOT.
2021-09-16 23:44:54 +02:00
Theo Arends b5367f7743
Merge pull request #13004 from ascillato/Fix_compilation_for_USE_LIGHT
Fix compilation issue when disabling `USE_LIGHT` feature
2021-09-16 20:48:36 +02:00
Jason2866 b02560fd8f
Webcam compile time optimization
* Optimize compile time (1)
2021-09-16 19:24:01 +02:00
Arnold-n 0d7b049509 Correcting SCD40 on ESP32 code size 2021-09-16 09:06:52 +02:00
Arnold-n 7d3df14640 add code size info and enable in ESP32 build 2021-09-16 08:08:50 +02:00
Barbudor 4fa80c1609 Serial.swap if TXD/RXD on GPIO13/15 (ESP8266) 2021-09-15 21:02:24 +02:00
s-hadinger 6b48d9949b
Merge pull request #13142 from s-hadinger/berry_resolifify
Berry update and global resolidify
2021-09-15 20:08:42 +02:00
s-hadinger e8b30eadfe
Force PWM reapply after frequency change (#13141)
* Force PWM reapply after frequency change

* Fix compilation is USE_LIGHT is not defined
2021-09-15 19:54:55 +02:00
Stephan Hadinger 418ebf1e4e Berry update and global resolidify 2021-09-15 19:36:48 +02:00
Arnold-n 8fcf9bea57 resolving conflict with scd30 driver and removing USE_SCD41 to simplify and align with config files 2021-09-15 18:20:44 +02:00
Arnold Niessen a260fa85a3 configuration files updated for SCD40/41 2021-09-15 13:26:39 +02:00
Arnold Niessen 0fea60d8ee Add SCD40/41 support 2021-09-15 12:02:27 +02:00
s-hadinger f9e1ab1c90
Minimum PWM Frequency lowered to 2Hz on ESP32 (#13123) (#13135)
* Minimum PWM Frequency lowered to 2Hz on ESP32 (#13123)

* Forgot main file
2021-09-15 11:10:48 +02:00
stefanbode 147f285035
Implemented new PWM_MIN value for ESP32 and ESP8266
New minimum value for PWM_MIN now in code. Before it was hard coded 100Hz
2021-09-15 10:08:09 +02:00
s-hadinger f4dadc625b
``DisplayDimmer`` has now range 0..100 instead of 0..15 (#13132)
* ``DisplayDimmer`` has now resolution of 8 bits instead of 4, and uses Gamma for LED

* Fix changelog
2021-09-14 22:40:26 +02:00
Stephan Hadinger 55202aa7f5 Berry support for Serial 2021-09-14 22:07:20 +02:00
Christopher BRAVO CERCAS c7d7e2f4da support AHT20 without enabling AHT1x 2021-09-14 20:45:20 +02:00
s-hadinger 2dcf49ca38
Merge pull request #13125 from s-hadinger/fix_ezsp_esp32
quick fix since this causes a crash on ESP32
2021-09-14 09:28:50 +02:00
Stephan Hadinger 99cfd1dcfc quick fix since this causes a crash on ESP32 2021-09-14 08:58:27 +02:00
Stephan Hadinger 0c879ebe25 Berry solidified AXP192 driver 2021-09-14 08:44:54 +02:00
Jason2866 eb4c0d6229
SHOW_SPLASH and remove redundant code 2021-09-13 15:47:04 +02:00
Stephan Hadinger 7b13bfc404 Fix DAC on ESP32C3 2021-09-13 14:12:41 +02:00
Stephan Hadinger 8ee3bae70d Support for ESP32/ESP32S2 DAC gpio via Berry 2021-09-13 13:44:39 +02:00
Jason2866 d3cc32cdc8
FreeType fonts for core2 2021-09-12 21:17:32 +02:00
s-hadinger eca751fbc3
Merge pull request #13112 from s-hadinger/crashrecorder_remove_warning
Remove warning in crashrecorder
2021-09-12 21:09:55 +02:00
Stephan Hadinger 983d13efa3 Remove warning in crashrecorder 2021-09-12 19:55:15 +02:00
Stephan Hadinger 16b0970a65 Fix Teleinfo for Denky D4 2021-09-12 19:44:01 +02:00
s-hadinger 607f6322d7
Merge pull request #13110 from s-hadinger/berry_light_fix
Berry setlight fix
2021-09-12 19:40:46 +02:00
Stephan Hadinger 3d46daa830 Berry setlight fix 2021-09-12 19:31:47 +02:00
Jason2866 6403dc8fcc touch buttons always needed 2021-09-12 16:40:37 +00:00
Jason2866 3333875308
Fix compile error
when using lvgl driver
2021-09-12 18:19:46 +02:00
Stephan Hadinger bc5f346926 Crash recorder ``Status 12`` for ESP32/ESP32S2/ESP32C3, supporting Esp-idf 3.3/4.4 2021-09-12 12:24:09 +02:00
Simon Hailes e1111ca98e Add driver xdrv_85_BLE_EQ3_TRV 2021-09-10 13:56:24 +01:00
Stephan Hadinger b2da0b2ed7 LVGL add lv_clock_icon 2021-09-09 20:32:19 +02:00
Stephan Hadinger 04c0f42981 Improved wifi widgets 2021-09-08 19:40:18 +02:00
Jason2866 d665bf10c1
Merge pull request #13082 from btsimonh/mikeyslinkchange
change link displayed in TAS for MI BLE sensors which need a key to p…
2021-09-07 15:55:32 +02:00
Jason2866 a8f0fcab56
Merge pull request #13080 from btsimonh/BLEc3fixes
use type SemaphoreHandle_t where TasAutoMutex is used to silence new …
2021-09-07 15:55:16 +02:00
Simon Hailes 605f1f2d4b change link displayed in TAS for MI BLE sensors which need a key to point to the new repo https://github.com/tasmota/ble_key_extractor/blob/gh-pages/index.html 2021-09-06 22:23:03 +01:00
Stephan Hadinger 6e1b775f28 LVGL update example to match doc 2021-09-06 23:12:39 +02:00
s-hadinger 749f46a7bc
Merge pull request #13078 from s-hadinger/zigbee_tuya_0102
Add Tuya Window Covering attributes
2021-09-06 23:00:56 +02:00
Simon Hailes 0183376555 use type SemaphoreHandle_t where TasAutoMutex is used to silence new compiler warnings 2021-09-06 18:52:20 +01:00
Ajith Vasudevan 2815211321 Enhanced 7-Segment command DisplayScrollText for indefinite as well as finite scrolling 2021-09-06 19:26:01 +05:30
Stephan Hadinger 8217c1330a Add Tuya Window Covering attributes 2021-09-06 14:45:10 +02:00
stefanbode 5ef1ec5d0d
Update xdrv_27_shutter.ino
#12849 Additional side effect correction
2021-09-05 22:07:50 +02:00
Stephan Hadinger cf23dade9a Forgot flag in ESP32S2/C3 templates 2021-09-05 20:46:12 +02:00
Stephan Hadinger b58958b8c6 ESP32 add GPIO 6/7/8/11 to template and remove GPIO 28-31 (remapping so backwards compatible) 2021-09-05 19:43:53 +02:00
stefanbode 53ac07baa9
shutter: fixed stepper wrong position #12849 follow up
Position was wrongly calculated on emergency stop
2021-09-05 12:24:54 +02:00
Jason2866 745c709249
core2 too 2021-09-04 15:11:40 +02:00
Jason2866 2b9828ab35
redundant removed
since it is default
2021-09-04 15:10:18 +02:00
Jason2866 e357f3aa75
USE_BERRY_PSRAM as default 2021-09-04 15:07:03 +02:00
Stephan Hadinger 75ec8816f6 Fix LVGO color names 2021-09-04 14:56:09 +02:00
Stephan Hadinger a0693c6ed1 Support for ESP32S2 GPIOs 2021-09-04 14:20:09 +02:00
Stephan Hadinger 5b29c261ca Berry fix for LVGL styles 2021-09-03 18:35:50 +02:00
André_Teixeira_1998 cbc13be1aa
Fixed 2 typos in Portuguese PT language file 2021-09-03 15:21:24 +01:00
stefanbode dd342d0e78
Added new functionality if motor of shutter stops late
I saw on my blind that if I move it in 5% steps it opens much more than it should. The reason is, that the motor runs to long. shuttermotordelay was only able to work with >0 values. Now also <0 is supported for standard shutters.
2021-09-03 12:57:51 +02:00
Theo Arends 0f1ebe8734 Workaround ESP32C3/S2 IDF temperature error message 2021-09-03 11:19:45 +02:00
Stephan Hadinger 9731b3ea53 Moved HttpClient to its own lib 2021-09-03 08:53:42 +02:00
Stephan Hadinger 8a1aca858e Disable TLS client by default 2021-09-03 08:16:08 +02:00
Jason2866 b1d4435e67 Capitilization 2021-09-02 21:32:12 +00:00
Stephan Hadinger 3d5c68b850 Berry class ``webclient`` for HTTP/HTTPS requests 2021-09-02 21:58:08 +02:00
Stephan Hadinger 19d313622a Fix PSRAM compilation for Esp32c3 2021-09-02 20:54:50 +02:00
Theo Arends c47307bd5e Add optional emergency reset
Add optional emergency reset when Rx is connected to Tx at restart
2021-09-02 12:25:53 +02:00
Theo Arends b4bcccba35
Merge pull request #13028 from barbudor/fix_opentherm_json
Fix opentherm json
2021-09-02 10:47:38 +02:00
Theo Arends 1c4bca8a8c Add command ``WebGetConfig <url>``
Add command ``WebGetConfig <url>`` if ``#define USE_WEBGETCONFIG`` is enabled to restore/init configuration from external webserver (#13034)
2021-09-02 10:46:29 +02:00
Theo Arends 4e835a63da
Merge pull request #13034 from barbudor/dev_webconfig
add command WebGetConfig
2021-09-02 10:10:41 +02:00
Stephan Hadinger dcc25cf7e9 Fix compilation for ESP8266 2021-09-01 23:06:39 +02:00
Stephan Hadinger a2fdeff9c5 Fixed crash when PSRAM is absent and ``BOARD_HAS_PSRAM`` set 2021-09-01 22:48:02 +02:00
Barbudor 8d736b160d update logs 2021-09-01 21:37:21 +02:00
Barbudor cc51a37738 add command webgetconfig 2021-09-01 21:30:54 +02:00
Theo Arends 62983899b6 Refactor webinfo 2021-09-01 17:43:04 +02:00
Theo Arends 44c0059a88 Add VINDRIGTNING user compile time control
Add user compile time control over VINDRIGTNING undocumented values
2021-09-01 17:32:25 +02:00
Theo Arends 2b0845a697 Add status comments to MQTT code 2021-09-01 15:41:49 +02:00
Theo Arends c26adde183 Bump version to v9.5.0.8 2021-09-01 11:34:19 +02:00
Theo Arends feab616277 Fix Sonoff L1 (lite) smoother color transitions 2021-09-01 11:14:30 +02:00
Theo Arends 6ddb14bc6a Add Command ``SetOption2 1``
Add Command ``SetOption2 1`` to enable display of global temperature/humidity/pressure info to JSON sensor message
2021-09-01 09:42:10 +02:00
Theo Arends 1b5406fdd9
Merge pull request #13007 from Seestern93/DimmerNewState
SwitchMode11 & 12 (Dimmer) new state#10 as delayed single-press
2021-09-01 08:18:01 +02:00
Adrian Scillato 31c8567db3
Add Key to set the default of SO128 2021-08-31 21:25:06 -03:00
Adrian Scillato f0b53cb145
Add Key to set SO128 at compile time 2021-08-31 21:22:05 -03:00
Barbudor 62946c22b0 refactor in single append 2021-08-31 18:01:01 +02:00
Barbudor 8033917a36 fix opentherm json 2021-08-31 17:51:18 +02:00
Theo Arends f77690dd9a Add some comms checks 2021-08-31 17:00:45 +02:00
Theo Arends 1affb8f20c Update release notes 2021-08-31 16:41:19 +02:00
Theo Arends ef4431b8e6 Fix VINDIKTNING PM2.5 measurement
Fix VINDIKTNING PM2.5 measurement (#13012)
2021-08-31 16:28:24 +02:00
bovirus f1c4eb3cfd
Update it_IT.h
Update for Italian language.
Please check and merge.
2021-08-31 11:51:22 +02:00
Stephan Hadinger 547d47e297 Berry strftime 2021-08-30 23:15:27 +02:00
Stephan Hadinger 06037b10a5 Berry support for Curve 25519 EC crypto 2021-08-30 21:01:06 +02:00
Theo Arends e45dbc66e0 Fix Shelly Dimmer 2 Energy usage
Fix Shelly Dimmer 2 Energy usage (#12815)
2021-08-30 18:03:24 +02:00
Theo Arends 547791058a Remove redundant code 2021-08-30 11:09:10 +02:00
Theo Arends 3a85922a94 Fix Shelly Dimmer 2 Energy calculation
Fix Shelly Dimmer Energy calculation (#12815)
2021-08-30 10:53:23 +02:00
Seestern93 d24221da00 Adapt action for state 10
Adapt action to execute switch#state=10 as needed.
2021-08-30 00:13:40 +02:00
Seestern93 dbeb82c93e Update tasmota.h
Add enum of new state#10
2021-08-29 23:24:31 +02:00
Seestern93 1d5fd6f20a SwitchState10
Add Switch#State=10 to SwitchMode11&12;
Revert changes done by arendst (Switchmode17&18) as new proposal for integrating POWER_DELAYED into existing switch modes 11 & 12
2021-08-29 23:03:14 +02:00
Seestern93 535900f9f3 Merge remote-tracking branch 'upstream/development' into DimmerNewState 2021-08-29 22:41:34 +02:00
Jason2866 b35072c1e1
Some corrections 2021-08-29 16:58:20 +02:00
Adrian Scillato 5eedf7a690
Disable AC_ZERO_CROSS_DIMMER for Tasmota-Lite 2021-08-28 18:18:53 -03:00
Adrian Scillato 506342a0e1
Disable AC DIMMER for Minimal Firmware 2021-08-28 18:06:02 -03:00
Adrian Scillato d8df7d7f17
Add USE_AC_ZERO_CROSS_DIMMER Key to my_user_config 2021-08-28 17:26:14 -03:00
Adrian Scillato ee27476890
Satisfy requirements for features that require USE_LIGHT 2021-08-28 17:23:25 -03:00
Adrian Scillato 09a7d0b4a5
Fix compilation if undef USE_LIGHT and def USE_HOME_ASSISTANT 2021-08-28 17:20:10 -03:00