Commit Graph

6496 Commits

Author SHA1 Message Date
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
stefanbode d49410c17e
Update xdrv_29_deepsleep.ino 2022-01-28 16:52:00 +01:00
stefanbode 3b8b473bd4
fix logging 2022-01-28 16:50:11 +01:00
stefanbode 9388c70689
Update xdrv_29_deepsleep.ino 2022-01-28 16:36:46 +01:00
stefanbode 6df1f0bb26
added compiler option: #ifdef DEEPSLEEP_NETWORK_TIMEOUT
additional code optional compiled
2022-01-28 16:15:48 +01:00
Theo Arends d4b67d2b1c
Merge pull request #14620 from mrekin/clean_test
Cubic CO2 sensors support (CM110x)
2022-01-28 16:15:06 +01:00
Theo Arends c3354ac9f3
Merge pull request #13970 from mrekin/development
BLE_MI_HM10: support for Mi Scale v1/v2
2022-01-28 16:14:47 +01:00
Max bbcc8f5b52 Last logic update and fixes
1. Logic update/sync according esp32 code
2. Fixed some errors for MiScaleV1 (but still tested only with V2) - just code reviewed :)
2022-01-28 14:26:52 +03:00
stefanbode 11284bbd49
Introduce DEEPSLEEP_NETWORK_TIMEOUT = 15
Network timeout can be configured in seconds or totally disabled by = 0
2022-01-28 12:06:59 +01:00
Max 061b867619 Update tasmota_template_legacy.h
Removed unexpected changes
2022-01-28 11:25:55 +03:00
Theo Arends 730322422a
Merge pull request #14627 from SteWers/SolaxX1-no-PV2
[Solax X1] no PV 2 per default
2022-01-28 09:14:32 +01:00
Theo Arends 1033bdf7df
Merge pull request #14628 from s-hadinger/pwm_multi
Increase PWM channels to 16 (Esp32 only)
2022-01-28 09:13:25 +01:00
Stephan Hadinger d922aa7beb LVGL log TS when released 2022-01-28 08:56:00 +01:00
stefanbode 13280c985d
Added WIFI check to avoid extensive battery usage
The device is send to an additional deepsleep cycle if there could not establish a WIFI connection with IP in the first 15 seconds after startup. Normal connection time is 6-7 seconds. Address #14483
2022-01-28 08:39:41 +01:00
Max 48ded69b90
Merge branch 'arendst:development' into development 2022-01-28 09:28:59 +03:00
alexasf 5e9765bc9f
Merge branch 'arendst:development' into development 2022-01-28 07:20:22 +03:00
Stephan Hadinger 539c508918 Increase PWM channels to 16 (Esp32 only) 2022-01-27 21:30:05 +01:00
SteWers 001710d502 [Solax X1] no PV 2 per default
- no secondary PV per default
- the usage is described in the documentation
2022-01-27 21:11:02 +01:00
Stephan Hadinger f4aaaa2462 Berry add limit to tcp reads 2022-01-27 18:48:57 +01:00
Max af2fe0da3a Update en_GB.h
Dublicate removed
2022-01-27 19:42:26 +03:00
Max 79c81be364
Merge branch 'arendst:development' into clean_test 2022-01-27 16:54:27 +03:00
Max 83ab20bb11 some tiny updates 2022-01-27 16:42:58 +03:00
alexasf 076b490331
Update xdrv_10_rules.ino 2022-01-27 14:55:25 +03:00
stefanbode bcfc6fd2cd
Move time calculation into local timezone
Switch from UTC to local time to make better predictions on wakeuptime for long deepsleep cycles. #14483
2022-01-27 12:04:59 +01:00
alexasf 72fe98cee1
Merge branch 'arendst:development' into development 2022-01-27 13:06:42 +03:00
alexasf ac02bc8288
Update xdrv_10_rules.ino
Added %timer1% to %timer16% variables to rules
2022-01-27 13:00:49 +03:00
s-hadinger 6a9d0847a3
Merge pull request #14608 from s-hadinger/lvgl_fix_ts
Update touchscreen x/y only when touched
2022-01-26 18:49:20 +01:00
Stephan Hadinger a0a38f638a Update touchscreen x/y only when touched 2022-01-26 16:20:48 +01:00
Theo Arends 15c3476698 Add more error checking to SPM 2022-01-26 13:59:55 +01:00
Max 22d549ca3d Update CM11 2022-01-26 15:03:21 +03:00
Max 1ef08e15f1 Squashed commit of the following:
commit 5563b50abdd70806099248bea875be63b1a8acbb
Author: Max <rekin.m@gmail.com>
Date:   Wed Jan 26 12:03:21 2022 +0300

    Update xsns_95_cm1107.ino

commit fbcfccb9732b3b47c7e5f2554e9d9f5765aad719
Merge: a7a792ff0 62458e367
Author: Max <rekin.m@gmail.com>
Date:   Wed Jan 26 09:44:09 2022 +0300

    Merge pull request #3 from arendst/development

    Add command ``SspmEnergyTotal<relay>``

commit a7a792ff026872736aad991aa23702fc53e278a2
Merge: a4199127a d7664c02a
Author: Max <rekin.m@gmail.com>
Date:   Tue Jan 25 18:48:12 2022 +0300

    Merge remote-tracking branch 'upstream/development' into CM11_sensor

commit a4199127a178265c0eefc08a07c41716ce72f7d3
Author: Max <rekin.m@gmail.com>
Date:   Tue Jan 25 18:38:35 2022 +0300

    CM11

commit ff0c88badc83ea789b217b5d400d0660573fe64c
Author: Max <rekin.m@gmail.com>
Date:   Tue Jan 25 18:37:23 2022 +0300

    Create xsns_95_cm1107.ino
2022-01-26 14:25:10 +03:00
Theo Arends 62458e3676 Add command ``SspmEnergyTotal<relay>``
Add command ``SspmEnergyTotal<relay>`` to (p)reset Sonoff SPM total energy without today's energy
2022-01-25 16:51:40 +01:00
Theo Arends d7664c02a7 Remove zero values from SspmHistory
Remove zero values from SspmHistory (#13447)
2022-01-25 12:19:56 +01:00
Theo Arends d09971e6d2
Merge pull request #14589 from SteWers/SML-check-free-GPIO
[SML] Check for used GPIO
2022-01-25 11:31:31 +01:00
gemu2015 dbe91e5a1a add sivat timer update 2022-01-25 10:58:22 +01:00
gemu2015 1f860deb02 web gui rework 2022-01-25 10:57:37 +01:00
Stephan Hadinger 522abfbf1f Fix compilation 2022-01-24 23:13:41 +01:00
Stephan Hadinger 8bd6a7eabc Try compiler fix 2022-01-24 23:05:29 +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
SteWers a75b465385 [SML] Check for used GPIO
- Check for used GPIO
- more meaningful error messages
2022-01-24 20:18:07 +01:00
Theo Arends 7b16162044
Merge pull request #14548 from tcwj2008/development
set SerialDelimiter=254 to post HEX string over the serial bridge
2022-01-24 17:41:25 +01:00
Theo Arends 1bbee95a20
Merge pull request #14582 from scottjames/development
PCA9685 (driver15) - add INVERT option
2022-01-24 17:40:32 +01:00
Jason2866 9edf7efddc
fix compile missing #define D_MQ "MQ" 2022-01-24 17:14:00 +01:00
Theo Arends 6ecfc312b3
Merge pull request #14581 from francescoadriani/development
Supports for MQ analog sensor for air quality
2022-01-24 17:00:28 +01:00
Theo Arends bb5cf22d0a Add command ``SspmLog<relay> [x]``
Add command ``SspmLog<relay> [x]`` to retrieve relay power state change and cause logging
2022-01-24 15:38:58 +01:00
Theo Arends dcfdb78935 Add/Release Sonoff SPM commands
Add/Release Sonoff SPM commands:
- Command ``SspmDisplay 1`` to display Sonoff SPM energy data in GUI for relays powered on only
- Command ``SspmHistory<relay>`` to retrieve daily energy of last six month (as defined by ARM firmware)
- Command ``SspmIAmHere<relay>`` to (faintly) blink Sonoff SPM-4Relay module error light of requested relay
- Command ``SspmScan`` to rescan Sonoff SPM modbus
2022-01-24 11:47:19 +01:00
rice103 3191ecc683 Added wiring diagram 2022-01-24 11:21:01 +01:00
Cheney 5e79ace165
set SerialDelimiter=254 to post HEX string 2022-01-24 12:01:14 +08:00
rice103 2bf3ac417b bug fix, implements filter to make average of data 2022-01-23 23:54:29 +01:00
rice103 d20aad968e Supports refresh each seconds of mq 2022-01-23 19:19:32 +01:00
Scott fd550fd104 PCA9685 (driver15) - Allow the "ALL" virtual pin 61 for pwm values
The datasheet shows register 250 is "ALL" pins, which corresponds to
virtual pin 61 (61*4+6=250).  Pin 61 was already allowed with PWM
command for OFF and ON, but not specified pwm values.  This update
allows virtual pin 61 to be assigned pwm values for all channels.

Example usage to set all channels to 2500:

`driver15 pwm,61,2500`
2022-01-23 13:14:19 -05:00
Scott James 2cd510beb9
Merge branch 'arendst:development' into development 2022-01-23 13:00:16 -05:00
Scott 8337fba960 PCA9685 (driver15) - add INVERT option
The INVERT option makes PWM and ON/OFF values meaningful for open-drain connected lights.

  - Activate with:  driver15 invert 1
  - PWM value is inverted, so 0 is "off" and 4096 is "on"
  - INVERT is included in status and telemetry
2022-01-23 12:38:17 -05:00
rice103 d45c8d3d24 Removed unused ANALOG_BOARD 2022-01-23 18:36:53 +01:00
rice103 06617c7fcb Using FastPrecisePow instead of pow 2022-01-23 18:27:32 +01:00
Theo Arends 15943ccad6 Add command ``Json {<Tasmota commands>}``
Add command ``Json {<Tasmota commands>}`` to enable input of any command as JSON tokens (#14568)
2022-01-23 17:43:17 +01:00
rice103 496de57c07 bug fix 2022-01-23 17:28:13 +01:00
rice103 37a77ef309 Merge branch 'development' of https://github.com/francescoadriani/Tasmota into development 2022-01-23 17:17:10 +01:00
rice103 e72248899e Supports for MQ analog sensor for air quality
It's support the analog sensor for quality air (also for esp-32)
-added on list of assignable pins in module
-with adcparams can choose wich mqx you have with seconds param ex: adcparam 10 4 (you have the mq-04)
2022-01-23 17:10:35 +01:00
Theo Arends 6b4dca6bc7
Merge pull request #14572 from ascillato/patch-1
Add %color% variable to rules
2022-01-23 16:46:58 +01:00
Theo Arends 33ff4fa056 Add undocumented JSON command 2022-01-23 12:29:06 +01:00
Adrian Scillato b6aff6a41a
Added %color% variable to rules 2022-01-22 21:22:23 -03:00
Theo Arends 692b7ec8c3 Minor define change 2022-01-22 17:55:55 +01:00
Theo Arends 3e555873f8 Fix US-100 serial detection
Fix US-100 serial detection (#14197)
2022-01-22 16:56:46 +01:00
Theo Arends 10e480bfd9
Merge pull request #14485 from obrain17/development
BLE_EQ3: Fix and enhance the JSON response
2022-01-22 12:36:46 +01:00
Theo Arends e108ee3580 Add command ``SetOption44 1..100``
Add command ``SetOption44 1..100`` to set base tolerance percentage for matching incoming IR messages (default 25, max 100) (#14555)
2022-01-22 12:33:02 +01:00
Theo Arends d625e7bd88
Merge pull request #14555 from hr-kapanakov/development
Add setting for IRremoteESP8266 tolerance
2022-01-22 11:42:35 +01:00
Staars dbd1fcf10c more error catching and reporting 2022-01-21 20:01:15 +01:00
Hristo Kapanakov f9b0947d67 Set default IR receive tolerance (25%) if set to zero 2022-01-21 18:56:19 +02:00
obrain17 0e4219150f
Change order of window -temp- dur.
Change order of "windowtemp" and "windowdur"
Add new fields iinto json description
2022-01-21 16:50:55 +01:00
Hristo Kapanakov 29723d5e9b Add setting for IRremoteESP8266 tolerance 2022-01-21 17:24:32 +02:00
Theo Arends b9f4d55dfc
Merge pull request #14547 from gemu2015/fixes
esp8266 email, scripter on 1m devices
2022-01-21 13:54:36 +01:00
Theo Arends 7aedab59e7
Merge pull request #14531 from SteWers/SML-serial-LED-dev
[SML] Serial activity monitor via LED
2022-01-21 11:38:11 +01:00
Cheney b7b525f3d9
Send HEX string to mqtt 2022-01-21 17:21:09 +08:00
gemu2015 f3be1445e4 esp8266 email, scripter on 1m devices 2022-01-21 08:03:12 +01:00
Stephan Hadinger 6abfbac514 Fix tcp (revert last change) 2022-01-20 23:04:13 +01:00
Stephan Hadinger fb59c63084 Berry improvement to constants 2022-01-20 22:02:21 +01:00
SteWers 03e4d65582 [SML] Serial activity monitor via LED
Visualize the activity of one or all serial meters via LED. It is helpful for debugging and also for viewing serial activity easily. The configuration is done via console commands:

- LED-GPIO for monitoring serial activity => sensor53 l2, l13, l15 ... or l255 for turn off (default)
- meter number for monitoring serial activity => sensor53 m1, m2, m3 ... or m0 for all (default)

To start at boot-time, add the entries in the boot-section (>B) of the script.
2022-01-20 20:19:50 +01:00
Theo Arends a538f35df4 Minor refactor BMP sensor 2022-01-20 15:01:52 +01:00
Theo Arends 67ea8ddb6a Refactor SR04 driver
Refactor SR04 driver (#14197)
2022-01-20 13:37:48 +01:00
Stephan Hadinger 8a3f25e608 Berry ctype functions 2022-01-19 22:56:11 +01:00
Jason2866 85e8d05f68
fix homekit enable 2022-01-19 17:12:02 +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
Adrian Scillato a596a406ba
Move post processing macros after user_config_override.h 2022-01-19 12:32:38 -03:00
Adrian Scillato 501c07acef
Move Post Processing Macros after user_config_override.h 2022-01-19 12:28:53 -03:00
Adrian Scillato 1fb81720a2
Fix compilation issue for Telegram 2022-01-19 11:33:12 -03:00
bovirus d03d8b5b20
Update Italian language
Please check and merge. Thanks.
2022-01-19 12:14:14 +01:00
Adrian Scillato d432b44268
Merge pull request #14499 from to-scho/development
fix for sr04 mode2
2022-01-18 14:34:25 -03:00
Adrian Scillato 5ac29a5f62
Satisfy requirements when enabling MQTT TLS from user_config_override.h
It is always needed to define `USE_TLS` if using `USE_MQTT_TLS`. The key `USE_TLS` is used inside the TLS_mini library (specifically at the top of WiFiClientSecureLightBearSSL.h).
2022-01-18 13:36:59 -03:00
to-scho 6b8fc2d550 fix for wrong stupid logic 2022-01-18 15:42:45 +01:00
to-scho 0930f4679c fix mode 2 detection of sr04 2022-01-18 15:20:42 +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
Christian Baars 2566156dd5
Update xdrv_52_3_berry_MI32.ino
fix standard ble build 1/2
2022-01-17 20:46:46 +01:00
Christian Baars c38784bf2d
Update tasmota_configurations_ESP32.h 2022-01-17 19:56:15 +01:00
Christian Baars 721888437b
Update xsns_62_esp32_mi.ino
add HomeKit and Berry
2022-01-17 19:47:56 +01:00
Christian Baars 483069d6da
Add files via upload 2022-01-17 19:46:19 +01:00
Christian Baars 0fff6bb6c4
Add files via upload 2022-01-17 19:43:07 +01:00
Christian Baars bcba4cd4d9
Update xdrv_01_webserver.ino
call legacy driver too for OTA
2022-01-17 19:41:17 +01:00
Stephan Hadinger 7d9226b3b5 LVGL fix calibration not applied when not touched 2022-01-17 19:37:38 +01:00
s-hadinger 70c6e730f0
Merge pull request #14486 from s-hadinger/alexa_fix_zigbee
Fix Alexa bug in discovery
2022-01-17 18:52:19 +01:00
Stephan Hadinger 21dd58e59f Fix Alexa bug in discovery 2022-01-17 18:36:13 +01:00
obrain17 5b83886065
Add files via upload
New file with:
Add
  "windowdur"
  "windowtemp"
  "day"
  "night"
  "offset"
to ResponseAppend_P

Assign
  cmdtype = 23
to "lock"
2022-01-17 17:33:05 +01:00
Theo Arends 7ea5b7c544
Merge pull request #14475 from pcdiem/pwmdimmer2
Fix millisecond comparisons
2022-01-17 16:55:42 +01:00
gemu2015 e352bfe8a0 optimizations and fixes, add return x 2022-01-17 12:09:21 +01:00
Jason2866 342af3d466
Merge pull request #14481 from s-hadinger/fix_minicustom32
Fix to allow compilation of minicustom32
2022-01-16 21:48:33 +01:00
Stephan Hadinger 23c2efbe8f Fix to allow compilation of minicustom32 2022-01-16 21:34:29 +01:00
Jason2866 4351798b74
Make webclient for minicustom possible 2022-01-16 20:40:01 +01:00
Paul C Diem b1b5261a83 Fix millisecond comparisons 2022-01-16 13:23:30 -06:00
Jason2866 fc48fe1d3b
fix include for HTTPUpdate 2022-01-16 17:58:46 +01:00
Theo Arends 62e9464753
Merge pull request #14455 from SteWers/SML-colon
[SML] Removed colon at the end of the labels
2022-01-16 16:21:20 +01:00
Theo Arends 4df42a28f5 Add command ``WebTime <start_pos>,<end_pos>``
- Add command ``WebTime <start_pos>,<end_pos>`` to show part of date and/or time in web gui based on "2017-03-07T11:08:02-07:00"
- Bump version to v2022.01.3
2022-01-16 16:19:28 +01:00
Theo Arends 361f74cc12
Merge pull request #14458 from barbudor/isl28022
INA28022 support in INA219 driver
2022-01-16 14:52:33 +01:00
Stephan Hadinger 5f36bc2ee9 LVGL calibrate touch screen 2022-01-15 23:03:24 +01:00
barbudor 4c270eb857 detect ISL28022 and read bus_voltage accordingly 2022-01-15 21:22:46 +01:00
SteWers 0119bd1fb0
[SML] Remove colon at the end of the labels
Remove colon at the end of the labels on the WebUI to use the same format then all other sensors. Just a little cosmetics.
2022-01-15 19:29:31 +01:00
Theo Arends 88b296cf83 Support for Eastron SDM230
Add support for Eastron SDM230 modBus energy meter (#13443)
2022-01-15 15:02:45 +01:00
Theo Arends 7a2d490e68
Merge pull request #13443 from dad401/development
Add support for SDM230 ModBus
2022-01-15 14:48:10 +01:00
Marcus 0e97d430a2 beautified changelog / disabled (uncommented) SDM230 define in tasmota_configurations 2022-01-15 14:25:05 +01:00
Marcus 31d60b5525 rebase / fixes 2022-01-15 14:20:31 +01:00
Marcus 4e913e6a7f fixed phase count and frequency common setting 2022-01-15 14:16:15 +01:00
Marcus 84da3deea9 restructered code
synced sdm230 driver default registers to generic energy driver values
made maximum power, phase angle and resettable energy optional
2022-01-15 14:16:15 +01:00
Marcus f58c06daee fixes 2022-01-15 14:16:15 +01:00
Marcus 17155798c0 added links for manuals / documentation 2022-01-15 14:14:32 +01:00
Marcus 3d139d2f2d - changed default baudrate for SDM230 to 9.600 baud
- fixed comment for SDM230_SPEED define in xnrg_21_sdm230.ino
2022-01-15 14:14:32 +01:00
Marcus 5834ca6e07 revert changes according to arendst: "It's legacy and will not work with any addition." 2022-01-15 14:14:32 +01:00
Marcus 2a5214bd08 changed all language file for SDM230 driver 2022-01-15 14:14:32 +01:00
Marcus 66ac4977c0 fixed some type: tasmota/tasmota_configurations_ESP32.h
moved AGPIO(GPIO_SDM230_XX) to the end:       tasmota/tasmota_template_legacy.h
2022-01-15 14:14:32 +01:00
Marcus 3d1df968a4 revert changes to: tasmota/support_features.ino 2022-01-15 14:14:32 +01:00
Marcus 8bc06238f3 changed: tasmota/i18n.h
missed this change. Now tasmota-sensors compiles with success!
2022-01-15 14:14:32 +01:00
Marcus ba55d67cbc changed: BUILDS.md
changed:       CHANGELOG.md
	changed:       tasmota/language/de_DE.h
	changed:       tasmota/language/en_GB.h
	open/todo:     update all other localization files
	changed:       tasmota/my_user_config.h
	changed:       tasmota/support_features.ino
	changed:       tasmota/tasmota_configurations.h
	changed:       tasmota/tasmota_configurations_ESP32.h
	changed:       tasmota/tasmota_template.h
	changed:       tasmota/tasmota_template_legacy.h
	changed:       tasmota/xdrv_03_energy.ino
	new file:     tasmota/xnrg_21_sdm230.ino

added support (POC) for Eastron SDM230 ModBus (based on existing drivers SDM120 and SDM630) - suggestion for future versions:
use the same pin names for all SDM(72|120|220|230|630) drivers, e.g.: GPIO_SDMxxx_TX and GPIO_SDMxxx_RX and integrate
all drivers into one (xnrg_xx_SDM-ModBus.ino)
2022-01-15 14:14:32 +01:00
Theo Arends 9b92744d4d
Merge pull request #14441 from thehefi/patch-1
fix preprocessor directive remarks
2022-01-15 14:14:28 +01:00
bovirus 821ee9738a
Update Italian language
Please check and merge. Thanks.
2022-01-15 12:25:56 +01:00
Stephan Hadinger 3954831a27 LVGL screenshot disk full protection 2022-01-15 10:42:25 +01:00
Stephan Hadinger d862ad1661 Fix multicast 2022-01-14 23:02:05 +01:00
Stephan Hadinger fffcf1c2df Remove WiFiUDP32 to solve linker warnings 2022-01-14 22:53:19 +01:00
Helmut Fischer a7dbee27b8
fix preprocessor directive remarks 2022-01-14 21:47:40 +01:00
Theo Arends 5eb25ef1c4 Add SSPM mapping warning
Add SSPM mapping warning when  4Relay modules are added, removed or inserted
2022-01-14 12:45:50 +01:00
Theo Arends dc2fbb060a
Merge pull request #14429 from gemu2015/email_fix
fix esp8266 email
2022-01-14 10:12:50 +01:00
Theo Arends c692e2f216 Fix shutter mode 1 (#14405)
Fix shutter mode 1 (#14405)
2022-01-14 10:11:52 +01:00
gemu2015 f3b5201c67 fix esp8266 email 2022-01-14 10:00:32 +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
barbudor 82ff79d42a initial seamless support for ISL28022 2022-01-14 08:42:00 +01:00
barbudor 1f24d51e70 refactor ina219 for heap allocation 2022-01-13 23:10:46 +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
Theo Arends 4e62d9bbac Merge branch 'development' of https://github.com/arendst/Tasmota into development 2022-01-13 15:57:51 +01:00
Theo Arends 5163f6437e Fix GUI network information layout 2022-01-13 15:57:33 +01:00
Theo Arends 4f2d9000a8
Merge pull request #14409 from halfbakery/mqtt_discovery_fixes
Mqtt discovery fixes
2022-01-13 15:37:49 +01:00
Theo Arends 5c73fefbbc Fix ESP8266 compilation
Add commands for ESP32 ethernet configuration ``EthIpAddress``, ``EthGateway``, ``EthSubnetmask``, ``EthDnsServer1`` and ``EthDnsServer2`` (#14385)
2022-01-13 15:35:30 +01:00
Theo Arends e6e5d5174f Phase 2/2 Ethernet IP address config
Phase 2 of 2 Ethernet IP address config based on PR (#14385)
2022-01-13 15:27:24 +01:00
halfbakery d881e1f864 add state_class to energy totals to support Home Assistant long term statistics 2022-01-12 23:04:47 +01:00
halfbakery 17066e404c skip shutter tilt discovery if tilting is unconfigured 2022-01-12 22:54:49 +01:00
halfbakery fea4d3ec93 the cover state topic was useless and caused parsing errors in Home Assistant 2022-01-12 22:50:27 +01:00
Stephan Hadinger 636ac69a4b lvgl use native lv_png instead of library 2022-01-12 22:17:55 +01:00
Jason2866 5b02250c5f
Revert "Revert "Prep for a custom minimal ESP32 variant"" (#274) 2022-01-12 19:44:42 +01:00
Stephan Hadinger efda81fbf5 Berry Partition Manager v2 2022-01-12 19:20:55 +01:00
Theo Arends 04a4a656d2 Phase 1 Ethernet IP address config
Phase 1 Ethernet IP address config (#14385)
- Currently unable to change DNS servers
2022-01-12 17:32:21 +01:00
Theo Arends 2f54cfdf9c
Merge pull request #14386 from mbbrenner/development
Fix calculation of thermostat duty cycle value
2022-01-12 13:49:39 +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
s-hadinger 5a6a4789b3
Merge pull request #14384 from s-hadinger/fix_dac
Berry fix DAC support
2022-01-11 23:11:18 +01:00
Matthias Brenner 468a70665b Fix calculation of thermostat duty cycle value 2022-01-11 20:43:54 +01:00
Stephan Hadinger 0e78c0e41d Berry fix DAC support 2022-01-11 18:40:47 +01:00
Jason2866 d6e3747e4c
Update tasmota_configurations.h 2022-01-11 18:02:55 +01:00