Commit Graph

6359 Commits

Author SHA1 Message Date
Theo Arends 2d9d8fa5c2 Add better ESP32 model exclusions 2022-02-20 14:42:51 +01:00
Theo Arends 282384c4c8
Merge pull request #14920 from bovirus/patch-6
Italian language update
2022-02-20 14:14:52 +01:00
Theo Arends eb566c3b62 Fix ESP32C3 compilation 2022-02-20 14:12:05 +01:00
Theo Arends 7211b45ac4 Revert "Merge pull request #14921 from arendst/ethernet_onlyESP32"
This reverts commit 8388f1cdce, reversing
changes made to 2c963df8f0.
2022-02-20 14:11:12 +01:00
Jason2866 8388f1cdce
Merge pull request #14921 from arendst/ethernet_onlyESP32
Ethernet only for ESP32
2022-02-20 14:06:04 +01:00
Theo Arends 2c963df8f0 Bump version 10.0.0.2 2022-02-20 14:02:06 +01:00
Jason2866 47b6170722
Update tasmota_configurations_ESP32.h 2022-02-20 14:00:25 +01:00
bovirus 877966d1ac
Italian language update 2022-02-20 13:32:57 +01:00
Theo Arends b94c41760d Enable ethernet in tasmota32.bin 2022-02-20 12:52:02 +01:00
Theo Arends 74d17d32c6 Fix SPM simulate possible duplicates 2022-02-20 11:41:51 +01:00
Theo Arends 1aa9d9da29 Fix timer max power devices dropdown menu 2022-02-20 11:17:38 +01:00
Theo Arends 743121c68a
Merge pull request #14781 from SteWers/Solax-X1-Rework-request-and-respond-processing
[Solax X1] Rework request and respond processing
2022-02-19 15:23:27 +01:00
Theo Arends a9f03eb89a
Merge pull request #14895 from stefanbode/patch-9
Ensure FUNC_INIT has correct RELAY state
2022-02-19 14:44:28 +01:00
Theo Arends 317830aeb0
Merge pull request #14896 from SteWers/SR04-dev
[SR04] fix mode 1 detection
2022-02-19 14:36:05 +01:00
Theo Arends 202f83b4ff Fix 32 device issue 2022-02-18 16:13:55 +01:00
Theo Arends e6cafcfa42 Sonoff SPM increase max number of relays
Sonoff SPM increase max number of relays supported to 32 (8 SPM-4Relay modules)
2022-02-18 11:42:56 +01:00
stefanbode 77b9f9faaa
changed compiler option to USE_RULES check 2022-02-17 20:01:03 +01:00
SteWers bcf2bc5cf1
[SR04] fix mode 1 detection
Detection of sensors running in mode 1 fixed.
2022-02-17 19:16:24 +01:00
SteWers 2bdec2d9fc [Solax X1] rework 02/2022 final 2
- removed command index
- new syntax: on demand request of IDinfo data via command `EnergyConfig ReadIDinfo`
- new syntax: on demand request of config data via command `EnergyConfig ReadConfig`
- replaced `dtostrfd()` with `%*_f`
2022-02-17 18:59:44 +01:00
stefanbode 1235309d48
fix minimal firmware issue 2022-02-17 18:39:46 +01:00
stefanbode 8e3fe4adac
Ensure FUNC_INIT has correct RELAY state
Address #14886
2022-02-17 18:21:09 +01:00
stefanbode bffe9ee23c
Bugfix wrong wakeup time 2022-02-17 09:26:27 +01:00
s-hadinger aa96691756
Merge pull request #14882 from s-hadinger/berry_log_fix
Berry fix wrong color in console
2022-02-16 22:27:56 +01:00
Stephan Hadinger de925142b2 lvgl updates and M5Stack Fire button support 2022-02-16 22:07:18 +01:00
Stephan Hadinger 6928615eb7 Berry fix wrong color in console 2022-02-16 22:03:58 +01:00
SteWers 57b57dcf25 [Solax X1] rework 02/2022 final
- rework of the request cycle
- more reliable and reusable respond processing for more and further requests
- periodically request of IDinfo data to get the converters serial number and display it on the WebUI
- restructure the usage and names of variables; especially the global ones, to prevent naming conflicts
- on demand request of IDinfo data via command `EnergyConfig12 ReadIDinfo`
- on demand request of config data via command `EnergyConfig12 ReadConfig`
- many other code optimisations
2022-02-16 19:33:57 +01:00
gemu2015 2583d679e1 fix break, add spi 2022-02-16 16:16:27 +01:00
Theo Arends d45a0426e7 Bind BL6523 2022-02-16 15:41:37 +01:00
Theo Arends 386f4090a3
Merge pull request #14854 from jvstch/release/Add-BL6523-Energy-monitor
Added support for BL6523 chipset based Energy Monitors
2022-02-16 14:50:58 +01:00
jeevasdev ef3fb678a4 break when the case breaks :) 2022-02-17 00:42:22 +11:00
jeevasdev 42e259bad0 Abort after waiting for 1s and changed to delay() 2022-02-17 00:33:11 +11:00
jeevasdev 97ceb7d6ae Add support for Settings for calibration constants 2022-02-17 00:01:27 +11:00
Theo Arends d004522332 Add SSPM force mapping 2022-02-16 12:09:04 +01:00
Theo Arends 13bebb7750
Merge pull request #14874 from kissandr/tcp_bridge_client
xdrv_41_tcp_bridge - add client connection mode
2022-02-16 12:07:09 +01:00
Andras Kiss 1b423bfa28 add client connection mode 2022-02-16 11:32:58 +01:00
Theo Arends b93984f654
Merge pull request #14862 from stefanbode/patch-6
prevent deepsleep if teleperiod <> 100 or 300
2022-02-16 08:44:37 +01:00
stefanbode 07388b4511
Address #14863
Send additional discovery on setoption 114 send
2022-02-16 07:57:18 +01:00
Stephan Hadinger 7a006d7f47 Berry faster allocator for small objects 2022-02-15 22:51:11 +01:00
Stephan Hadinger 42b73ecfce Berry add module mqtt 2022-02-15 21:58:05 +01:00
stefanbode ecd4ec76f3
prevent deepsleep if teleperiod <> 100 or 300
because teleperiod is send directly after start, deepsleep will wait for the second teleperiod in cases where it is defined e.g. to 60. #14860
2022-02-15 20:26:49 +01:00
Theo Arends 4566aaee05 Refactor wiegand to 32-bit
Refactor wiegand from 64-bit to 32-bit while keeping full 34-bit support
2022-02-15 17:52:45 +01:00
jeevasdev a5e840ff5e Trim Log messages. 2022-02-16 03:04:28 +11:00
jeevasdev f2bd57c5e6 NRG sensor rewrite. 2022-02-16 02:32:29 +11:00
Theo Arends c074573f09 Fix wiegand 34-bit rfid reading and presentation
Fix wiegand 34-bit rfid reading and presentation (#14834)
2022-02-15 14:32:42 +01:00
Stephan Hadinger cf09c5246e Zigbee ZStack3 fix to changing channel 2022-02-15 12:11:45 +01:00
jeevasdev 6a7cb4f95e Squashed commit of the following:
commit 1dc0638bbe4901efbe2c0bacefbcc32dac08e8ea
Author: jeevasdev <jeevasdev@protomail.com>
Date:   Tue Feb 15 20:37:14 2022 +1100

    Converted to xnrg as per review comment.

commit fa5570b0980e4bff1773a72eb417d8853f5c9e8e
Author: jeevasdev <jeevasdev@protomail.com>
Date:   Tue Feb 15 13:46:50 2022 +1100

    Added helper message to main comment.

commit bf7864fb56885161a19855a2ae92fe8a9348a8be
Author: jeevasdev <jeevasdev@protomail.com>
Date:   Tue Feb 15 13:43:45 2022 +1100

    Added BL6523 language files.

commit 0920d5c530b8253c12e436437b2954913ef1126d
Author: jeevasdev <jeevasdev@protomail.com>
Date:   Tue Feb 15 13:34:34 2022 +1100

    Added BL6523 to tasmota_template.

commit e119fc8a044e47179169b0caa7f1e31d099b4932
Author: jeevasdev <jeevasdev@protomail.com>
Date:   Tue Feb 15 13:28:38 2022 +1100

    Add BL6523 based smartmeter support main ino.
2022-02-15 21:03:30 +11:00
jeevasdev 73e3b44477 Converted BL6523 to nrg driver 2022-02-15 20:41:25 +11:00
jeevasdev c8b8fe2da4 Added support for BL6523 chipset based Energy Monitors 2022-02-15 13:51:43 +11:00
Philip Kauffman e404bd49c3 prometheus: add 'friendlyname' to tasmota_info 2022-02-14 16:34:40 -06:00
Theo Arends 3e914a7ad1 Quick fix for displaying valid 26-bit tags
Quick fix for displaying valid 26-bit tags (#14834)
34-bit tags is a challenge as we currently do not support 64-bit variables. To be continued.
2022-02-14 18:29:26 +01:00
Theo Arends 5d9da0f971 Rename file 2022-02-14 15:59:21 +01:00
Theo Arends eeca6c708f Fix unsupported use of %f 2022-02-14 15:42:33 +01:00
Theo Arends f910b00d71 Fix BL0939, BL0940 and BL0942 energy monitoring buffer miscompares
Fix BL0939, BL0940 and BL0942 energy monitoring buffer miscompares resulting in wrong daily energy values regression from v9.5.0.8 (#14829)
2022-02-14 15:30:55 +01:00
Stephan Hadinger 05ac33c231 Berry bootloop protection 2022-02-14 14:53:42 +01:00
Stephan Hadinger 77ca774b95 Berry always enable rules 2022-02-14 12:51:29 +01:00
Maxime Vincent da11c4d463
Orno WE517 power meter: Fix Phase 2 Amps Reactive address 2022-02-14 08:40:32 +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 14f667b0d4 Fix HM10 define ambiguity 2022-02-13 11:48:28 +01:00
Theo Arends 0d5914cc03 Fix GPIO OptionE1 selection regression
Fix GPIO OptionE1 selection regression (#14821)
2022-02-13 11:22:10 +01:00
Theo Arends 5dabb623bf
Merge pull request #13517 from dcoder42/development
Added support for Mi Scale V1
2022-02-13 11:08:25 +01:00
Theo Arends bfdd0b698f
Merge pull request #14818 from Jason2866/Homekit
Integrate Homekit in Bluetooth configuration
2022-02-13 11:07:30 +01:00
Jason2866 c630ffaae2
Homekit with Bluetooth firmware (#293) 2022-02-12 21:00:15 +01:00
Laszlo Magyar ff756725e9 fix typo 2022-02-12 20:36:16 +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
Theo Arends 3d2c9945a8 Fix SSPM energy yesterday when zero 2022-02-12 16:37:48 +01:00
Theo Arends 1022c91b7c Bump dev version to v11.0.0.1 2022-02-12 16:00:19 +01:00
Theo Arends b713c8e365
Merge pull request #14762 from SteWers/Energy-fix-PowerDelta
[Energy] fix PowerDelta
2022-02-12 10:25:13 +01:00
Theo Arends e82f282236
Merge pull request #14775 from gemu2015/sml_update
allow word swap in modbus response
2022-02-12 10:24:21 +01:00
Theo Arends 804c4747eb
Merge pull request #14806 from stefanbode/patch-5
Fix shutter-stepper driver if >1 door moving
2022-02-12 10:24:03 +01:00
Jason2866 09ab5d2673
Merge pull request #14807 from Staars/development
add yeelight dimmer to legacy Mi32
2022-02-11 19:20:51 +01:00
Jason2866 127e6ff248
missing `;` 2022-02-11 19:07:46 +01:00
stefanbode 33e956d438
missing... 2022-02-11 18:47:00 +01:00
stefanbode 0d8b3c9d1a
ESP32 compiler option 2022-02-11 18:44:37 +01:00
stefanbode a627df0ad1
Fix shutter-stepper driver if >1 door moving
Accelerate and decelerate did not work properly on two pins with different frequencies. Was always synced to the last send frequency without PIN awareness. If moving two doors or more frequency must work for each door independent
2022-02-11 18:05:44 +01:00
Staars 9749c9af59 add yeelight dimmer 2022-02-11 18:03: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
gemu2015 ecd8e2ed29 add sml write once cmd 2022-02-11 08:01:07 +01:00
Jason2866 cddbb47930
show splash screen
in build lvgl. Easy check for correct display.ini
2022-02-09 18:15:53 +01:00
Theo Arends bd83b9fdc2
Merge pull request #14773 from arendst/rm_variants
rm firmware32 variants core2 / odroid-go
2022-02-09 10:04:37 +01:00
Theo Arends b992abd912
Merge pull request #14774 from curzon01/development
Expand config_version ESP32 id
2022-02-09 10:04:12 +01:00
SteWers 3679ec4c08 [Solax X1] Rework request and respond processing
Complete rework of the request cycle and the respond processing. This is more reliable and reusable for more and further requests.
Right now the serial number of the converter is requested and displayed in the WebUI.
2022-02-08 20:55:57 +01:00
Norbert Richter 0dfb27a930
Expand config_version ESP32 identifier 2022-02-08 19:05:54 +01:00
gemu2015 8b7f18dcf4 allow word swap in modbus response 2022-02-08 17:15:41 +01:00
Jason2866 dee69c931d
Delete xdrv_84_esp32_core2.ino 2022-02-08 16:44:25 +01:00
Jason2866 cc71f85483
Delete xdrv_80_esp32_odroidgo.ino 2022-02-08 16:43:50 +01:00
Jason2866 d1253f603b
rm firmware odroid / core2 2022-02-08 16:41:03 +01:00
Stephan Hadinger 35d8039820 Fix xy calculation 2022-02-08 16:39:59 +01:00
Norbert Richter e79db330d5
Fix config_version mapping 2022-02-08 16:30:10 +01:00
SteWers 39979b5aab
[Energy] fix PowerDelta
The power change must be greater then the "PowerDelta" value. So it was not possible to send a MQTT message for a change of 1 W.
2022-02-07 22:33:09 +01:00
Stephan Hadinger 53625b6f59 LVGL increase stack size for Freetype 2022-02-07 22:16:28 +01:00
Theo Arends 85d8bcd241 Fix duplicate initial totals 2022-02-07 16:03:59 +01:00
Stephan Hadinger 155bfea4cd IR update tolerance after update 2022-02-07 13:51:02 +01:00
Theo Arends 005a556d41 Fix esp32 wire library induced compile error
Fix esp32 wire library induced compile error (#14754)
2022-02-07 11:40:35 +01:00
Theo Arends 152a5d364a Add bootcount to Info3 message 2022-02-06 18:11:42 +01:00
Theo Arends 6835eabc39 Fix SPM total updates for all relays 2022-02-06 12:21:29 +01:00
Theo Arends cb0e9d1316
Merge pull request #14743 from barbudor/am2301B_as_aht2x
List AM2301B as compatible with AHT2X driver
2022-02-06 09:56:52 +01:00
Theo Arends b237d49ae6
Fix initial energy setting 2022-02-06 09:54:32 +01:00
Barbudor 84fec5271a also in my_user_config comment 2022-02-05 18:26:37 +01:00
Theo Arends 91f35449dd Add LVGL_FREETYPE to lvgl image 2022-02-05 17:04:31 +01:00
Theo Arends f218660b71 Revert CalVer in favour of SemVer 2022-02-05 15:50:04 +01:00
Theo Arends c50fa27af0 Revert versioning
Change from Calendar Versioning (CalVer) back to Semantic Versioning (SemVer) for better major change indication and future support
2022-02-05 15:36:29 +01:00
Theo Arends a995a6e78c Clean up SPM code 2022-02-05 12:20:13 +01:00
Theo Arends 9c1adc2bdc Add postpone flash writes for SPM energy updates 2022-02-05 11:29:35 +01:00
Theo Arends 58289a59f1
Merge pull request #14710 from pkkrusty/patch-4
Add seconds to MAX7219 DisplayClock command
2022-02-05 09:20:06 +01:00
pkkrusty 5e20756922
Replace noob code with pro code for assembling string
%02d pads an integer with leading zeros up to 2 digits. Amazing!
2022-02-04 19:22:29 +00:00
Theo Arends 7f6b6529c7
Merge pull request #14724 from tidabek/development
Update polish language
2022-02-04 17:54:28 +01:00
TID e6f6e64121
Update pl_PL.h
Update polish language
2022-02-04 16:53:47 +01:00
Theo Arends 0d7ea9eb28 Add rule variables %timer1% to %timer16%
Add rule variables %timer1% to %timer16% (#14619)
2022-02-04 16:18:56 +01:00
Theo Arends c113a2a4b8
Merge pull request #14619 from alexasf/development
Added %timer1% to %timer16% variables to rules
2022-02-04 15:57:38 +01:00
Theo Arends a491793b6c
Merge pull request #14721 from bovirus/patch-4
Update italian language
2022-02-04 14:55:14 +01:00
Theo Arends 101e787bb7 Fix SR04 sensor driver
Fix SR04 sensor driver regression from 2022.01.2
2022-02-04 14:53:42 +01:00
bovirus 476072ca20
Update italian language 2022-02-04 14:48:33 +01:00
pkkrusty abee978080
Forgot to change the length of tm variable 2022-02-04 12:19:42 +00:00
Theo Arends c47fef51bc Bump version to v2022.1.4 2022-02-04 12:00:53 +01:00
Theo Arends 7669c9b471 Fix Sonoff SPM energy total/yesterday
- Fix Sonoff SPM energy total/yesterday
- Add energy yesterday persistence
- Add SspmEnergyYesterday command
- Add SspmOverload command
- Add SPI support
2022-02-04 11:22:09 +01:00
stefanbode b4568e8356
compiler check.... 2022-02-04 09:34:19 +01:00
stefanbode 611118aa81
typo fix 2022-02-04 09:13:02 +01:00
stefanbode 8676ca0ede
#14678 added option to let direction relay execute before power on
Added to new user_config.override options 
 #define SHUTTER_RELAY_OPERATION_TIME = 100 // wait for direction relay 0.1sec before power up main relay
 #define MOTOR_STOP_TIME = 500 // wait 0.5 second after stop to do any other action. e.g. move in the opposite direction
2022-02-04 09:04:03 +01:00
stefanbode 06cdb42cec
#14678 option to let direction relay to execute.
Two new compiler options for user_config.override (below default values)
#define SHUTTER_RELAY_OPERATION_TIME = 100 // wait for direction relay 0.1sec before power up main relay
#define MOTOR_STOP_TIME = 500 // wait 0.5 second after stop to do any other action. e.g. move in the opposite direction
2022-02-04 08:58:42 +01:00
pkkrusty 6172eff331
Add seconds to MAX7219 DisplayClock command
As extra digits are available, may as well use them to allow more accuracy. Also changed the colon/dot to remain illuminated since the seconds fulfill the heartbeat function, and colon/dot serves as just a separator.

TM1637 and TM1638 code is unchanged.
2022-02-03 21:20:43 +00:00
Theo Arends 19dc1b620f Relax ESP32 SPI enable signalling 2022-02-03 15:35:14 +01:00
Norbert Richter 06380d89f3
Add ESP32C3 setting identifier 2022-02-03 12:33:55 +01:00
Stephan Hadinger d1e14e50c8 Berry add light_state class 2022-02-02 22:03:58 +01:00
Theo Arends 9ed989b657
Merge pull request #14694 from arendst/webcam
Try to fix webcam without PSRAM
2022-02-01 22:35:02 +01:00
Barbudor bb70312ccb fix ethdnsserver overwritten 2022-02-01 22:15:27 +01:00
Jason2866 e146c21e0f
Try to fix webcam without PSRAM
see https://github.com/espressif/arduino-esp32/pull/6219/files
2022-02-01 15:57:41 +01:00
Stephan Hadinger 8f8f0aba42 Initial support for ESP32S3 with support for 38 configurable GPIOs 2022-02-01 12:05:56 +01:00
alexasf 878d6ef02f
Merge branch 'arendst:development' into development 2022-02-01 07:29:35 +03:00
Beormund 04e14d0ff2 Added antiburn module
An LCD/OLED anti-screenburn feature. To use:

* copy Antiburn.tapp to file system
* Either issue Tasmota command antiburn or
* Programmatically using lv.antiburn()

The lvgl screen will change form black to red to green to blue to white each second for 30 seconds. The antiburn cleaning can be cancelled by touching the screen or it will complete after 30 seconds.
2022-01-31 18:55:05 +00: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 7dc7d5665d
Merge pull request #14683 from stefanbode/patch-3
Refactor Deepsleep to new uint64 capability
2022-01-31 08:33:26 +01:00
Stephan Hadinger 60b3c8006e Berry add uuid module 2022-01-30 23:05:32 +01:00
stefanbode a4361acc06
Refactor Deepsleep to new uint64 capability
removed 71min limit and simplify driver.
2022-01-30 20:27:32 +01:00
Jason2866 c6fa952a3e
add S3 2022-01-30 17:02:26 +01:00
Jason2866 4a4d3d1bb7
Esp32 s3 2022-01-30 12:55:03 +01:00
Stephan Hadinger d8ef441424 Small fixes to Berry audio 2022-01-30 11:07:15 +01:00
Theo Arends cd4aec2935
Merge pull request #14649 from barbudor/fix_mi_ble_temp_in_F
MI32 BLE sensor support fahrenheit and publish temp unit
2022-01-30 09:28:49 +01:00
gemu2015 10cfc1166c some fixes 2022-01-30 08:53:56 +01:00
Milenko Mitrovic d13381f130 Send MQTT message when weight/impedance is stabilized or direct bridge mode is enabled.
Fixed impedance measurement on V2 scale.
2022-01-30 00:25:22 +01:00
s-hadinger f6df3b7c9f
Merge pull request #14658 from s-hadinger/berry_h_bridge
Berry add H-bridge example
2022-01-29 12:46:53 +01:00
Stephan Hadinger 01b74517d2 Berry add H-bridge example 2022-01-29 12:45:26 +01:00
s-hadinger 85ced7fbad
Merge pull request #14657 from s-hadinger/berry_display_dimmer
Berry add `display.dimmer()`
2022-01-29 11:52:30 +01:00
Stephan Hadinger 98ddcc6658 Berry add `display.dimmer()` 2022-01-29 11:11:21 +01:00
Beormund ea125a455f Create WT32_SC01.ini
display.ini for the WT32-SC01 development board with built in display.
2022-01-28 23:16:31 +00:00
barbudor e3e692de38 support fahrenheit and plublish temp unit 2022-01-28 23:27:20 +01:00
Stephan Hadinger 9ee8d6a6af LVGL TS fix (again) 2022-01-28 22:59:23 +01:00
s-hadinger fff6c7d6ba
Merge pull request #14640 from s-hadinger/axp_exten
AXP192 add `set_exten`
2022-01-28 19:27:31 +01:00
Stephan Hadinger 0ef94e2429 AXP192 add `set_exten` 2022-01-28 19:17:03 +01:00
Theo Arends 8f05016f39
Merge pull request #14633 from stefanbode/patch-2
Added WIFI check to avoid extensive battery usage
2022-01-28 17:02:46 +01:00