Commit Graph

6313 Commits

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