Commit Graph

6496 Commits

Author SHA1 Message Date
FransOv 4aa6614f0c
Update xsns_12_ads1115.ino 2022-02-28 20:54:35 +01:00
stefanbode 774a9ef439
ESP32 implementation for zero-cross dimmer 2022-02-28 16:47:21 +01:00
stefanbode f2f155aa96
Bugfix multiple zero-cross dimmer + speed optimization
- move sync from FUNC_LOOP to FUNC_EVERY_50MS
- Added documentation
- bugfix dimmer2 get off when dimmer1 get off
- automatic phase correction per channel
2022-02-28 16:06:49 +01:00
FransOv 12676d4184
Update xsns_12_ads1115.ino 2022-02-28 10:30:10 +01:00
Theo Arends a54774f247 Add delay loop after WiFi.begin()
Add delay loop after WiFi.begin() solving some Frotz!Bix issues (#14986)
2022-02-27 18:21:13 +01:00
stefanbode 8729b385f0
Prevent crash on start with >100Hz on counter input
Same procedure. setoption65 1 is a working workaround to avoid a crash on starting the device when there is a frequency of 100Hz or higher on one counter. The change temporarily disables the counter during the access to the flash. I', currently not sure if this is an ESP8266 only problem or also an ESP32 problem that the interrupt of the counter and flash access could cause a crash.
2022-02-27 17:45:05 +01:00
Theo Arends ac21d23efb Silence UBX at restart 2022-02-27 16:17:43 +01:00
Theo Arends 45a0b7cc84 Refactor time sync messages 2022-02-27 16:09:32 +01:00
Barbudor e1f202ea2c
Removing a useless debug log
I left a debug log in my previous PR. Sorry for that.
2022-02-27 15:47:05 +01:00
Theo Arends f0e46bc24a QuickFix DS3231 NTP server used with GPS 2022-02-27 15:09:09 +01:00
FransOv 18978b7e16
Update xsns_12_ads1115.ino
Added setting of Single-Ended / Differential and voltage range of the ADS1115 sensor
2022-02-27 14:54:01 +01:00
Theo Arends 47dce68e9e
Merge pull request #14982 from barbudor/teleinfo_dynamic_config_change
Teleinfo proper support for dynamic proper configuration change
2022-02-27 13:31:00 +01:00
Theo Arends d8a7251016
Merge pull request #14980 from barbudor/tcpbridge_reliability_fixes
add some protection on tcpbridge
2022-02-27 13:30:26 +01:00
Barbudor 4cd5e77bea check TSerial correctly allocated 2022-02-26 23:34:00 +01:00
Barbudor adbb691e67 allow proper dynamic config change 2022-02-26 19:58:07 +01:00
Barbudor 2edb39d556 add some protection on tcpbridge 2022-02-26 18:02:16 +01:00
Theo Arends 7d8b4483d2 Fix GPS time sync rules 2022-02-26 14:39:39 +01:00
Theo Arends bea7e67363 Fix DS3231 init sequence 2022-02-26 13:38:01 +01:00
Jason2866 8ad5a1a1d1
add missing # 2022-02-25 20:44:33 +01:00
stefanbode 9fcdada673
fix minimal compiler failure 2022-02-25 20:31:42 +01:00
stefanbode 3ffa536b9a
Proposed Dimmer change 2022-02-25 20:25:16 +01:00
stefanbode 9ef95b4db5
avoid crash during savedata when heavy load on counter
https://arduino-esp8266.readthedocs.io/en/latest/reference.html
2022-02-25 20:23:20 +01:00
stefanbode a83be8d33d
Update xsns_01_counter.ino 2022-02-25 19:49:06 +01:00
Theo Arends a67898e8b3 Revert "Consolidate Russia"
This reverts commit 7b2c81b6dd.
2022-02-25 16:55:52 +01:00
Theo Arends 7ec39536dd Extent number of pulsetimers
Extent number of pulsetimers from 8 to 32 (#8266)
2022-02-25 15:15:07 +01:00
Theo Arends 343919cd56 Small refactoring 2022-02-24 16:28:45 +01:00
Theo Arends 7b2c81b6dd Consolidate Russia 2022-02-24 09:23:13 +01:00
Stephan Hadinger cce93b19b8 LVGL add display.driver_name 2022-02-23 19:34:13 +01:00
Stephan Hadinger 4d1ca3916d LVGL add enums and dithering 2022-02-23 19:19:54 +01:00
Theo Arends 77660b5d3c Fix discovery ethernet ip address
Fix discovery ethernet ip address (#14929)
2022-02-22 15:42:04 +01:00
Theo Arends 27fb078f1b
Merge pull request #14942 from pcdiem/pwm-dimmer-3
Always set ignore_any_key_time on button release
2022-02-22 15:24:14 +01:00
Theo Arends a6ec7dde16 Add ethernet ipaddress to GUI
Add ethernet ipaddress to GUI (#14929)
2022-02-22 15:13:26 +01:00
Paul C Diem 553b487152 Always set ignore_any_key_time on button release 2022-02-22 06:56:20 -06:00
Stephan Hadinger e83e501155 Berry add cron timers 2022-02-21 22:22:30 +01:00
s-hadinger a5147ae250
Merge pull request #14924 from s-hadinger/fix_zigbee_compilation
Fix Zigbee compilation with Hue emulation
2022-02-20 17:13:16 +01:00
Stephan Hadinger e5562d97bb Fix Zigbee compilation with Hue emulation 2022-02-20 17:05:00 +01:00
Theo Arends f4752041f5 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2022-02-20 14:43:01 +01:00
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
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