Commit Graph

8837 Commits

Author SHA1 Message Date
Theo Arends 7238d857e9 Add SHT3x I2C bus2 support 2023-10-20 14:52:21 +02:00
Theo Arends f05470bf81 Add HYT I2c bus2 support 2023-10-20 13:35:24 +02:00
Norbert Richter 1f8cd6a259
Fix NeoPool filtration mode display (#19801) 2023-10-19 18:01:56 +02:00
Theo Arends e3253fea8f Add I2C bus2 support to BH1750 2023-10-19 18:01:12 +02:00
Theo Arends b39adacc41 Fix HTU21 bus number 2023-10-19 17:44:59 +02:00
Theo Arends 49709807c7 Add I2C bus2 support to HTU temperature sensor 2023-10-19 17:37:19 +02:00
Theo Arends b6811b2f4e Prep ESP32 I2C bus2 support 2023-10-19 16:59:53 +02:00
Theo Arends 70287d90ad Bump v13.2.0.1 2023-10-19 11:45:12 +02:00
stefanbode d5f506b1e3
reverted back some function and fix frequency storage (#19791)
* optimize disc write delay during shutter movement

changed to dynamic write delay to ensure no disc write on multiple shutter movement with stepper shutters.

* optimize disc write delay

ensure disc write will be postponed until all shutters stopped

* reverted back to simple version

* removed duplicate obsolete compiler options
2023-10-18 23:41:52 +02:00
Theo Arends 58324da242 Final fix ;-) (#19763) 2023-10-18 16:19:13 +02:00
Theo Arends 1fa036f176 Fix unsorted DS18Alias (#19763) 2023-10-18 16:12:02 +02:00
Theo Arends 13c6bc91cc Fix empty name if no DSAlias defined (#19763) 2023-10-18 15:15:49 +02:00
stefanbode 2daaa367ff
stepper shutter channel fix (#19784) 2023-10-18 11:29:35 +02:00
Christian Baars 17143cea44
remove HomeKit remnants from mi32 legacy driver (#19782) 2023-10-17 21:00:46 +02:00
sfromis ab420b6cc1
DS18x20_USE_ID_AS_NAME in my_user_config.h (#19777)
Add mention of #define DS18x20_USE_ID_AS_NAME
2023-10-17 11:00:39 +02:00
Christian Baars b98ad59d11
Delete xsns_62_esp32_mi_homekit.c (#19778) 2023-10-17 11:00:02 +02:00
s-hadinger 82858616f6
Zigbee fix timezone when device reads LocalTime attribute (#19772) 2023-10-17 09:02:14 +02:00
Barbudor 8e9299ec97
fix mis-order (#19769)
* fix mis-order

* fix mis-order on esp32 too
2023-10-16 21:47:31 +02:00
bovirus 5a9da83997
Update Italian language (#19754) 2023-10-16 16:07:37 +02:00
s-hadinger 367768b00e
Re-enable features for Arduino 3 (#19761) 2023-10-16 12:44:05 +02:00
Norbert a04995a3f4
Update xdrv_63_modbus_bridge.ino, brackets not needed. (#19759) 2023-10-16 09:42:55 +02:00
JeroenSt 91ba05ac3b
ModbusBridge write memleak fix (19733) (#19758)
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-10-16 08:26:26 +02:00
s-hadinger 8467b41290
Teleinfo use Apparent Power as Active Power approximation (#19756) 2023-10-16 08:20:07 +02:00
s-hadinger d3784a26ab
Audio Core3 compilation for ESP32C3 (#19755) 2023-10-15 22:46:01 +02:00
stefanbode 124fbf8dcb
fix shutterfrequency change on mutiple channels (#19737)
* fix shutterfrequency change on mutiple channels

* LEDC channel management for stepper shutter

LEDC channels dynamically assigned to ensure up to 16 shutters can be defined. Number of simultaneous moving shutters is limited by number of LEDC channels.

* bugfix  >=
2023-10-15 18:40:26 +02:00
Jason2866 56314e5423
Update de_DE.h 2023-10-15 14:51:11 +02:00
Saentist 715b64dc28
RU Translation fix (#19746) 2023-10-15 11:57:53 +02:00
Eduardo Spremolla b63a061aeb
Update xsns_02_analog.ino for calibrated values on ESP32 (#19732)
ESP32  ADC has variables errors, but calibrations values are put in eFuses at factory test.
analogReadMilliVolts() from api correct the ADC reading with tata values.
Since now the value are mV and not ADC numbers, the fast solution is to revert it back to ADC numbers:
divide by Vcc  => ANALOG_V33*1000  and multiply by ANALOG_RANGE
Other way is to modify all sensor cases to account for the different unit.
2023-10-15 11:57:13 +02:00
s-hadinger 16307bc4b8
More audio refactoring for core3 (#19749) 2023-10-15 11:22:20 +02:00
bovirus 67deceeba8
Update Italian language (#19730) 2023-10-13 17:50:06 +02:00
Jason2866 2950de0016
rm WifiClientSecure 2023-10-13 16:57:01 +02:00
Theo Arends 0984c01828 Update changelogs 2023-10-13 14:50:51 +02:00
Theo Arends 5cee525d02 Add Active Power Total
Add Active Power Total if multiple phases AND both positive and negative values (#19141)
2023-10-13 13:56:04 +02:00
chefpro 32cbd330aa
Add Rescan and RetryRead to onewire scan for bulletproove onewire (#19700)
Co-authored-by: Peter Rustler <peter@rustlerit.de>
2023-10-13 11:29:19 +02:00
nusse f245821828
HC8 sensor support (#19714)
* HC8 sensor support

* HC8: fix json

* HC8: missing languages

* HC8: move macros to proper locations

---------

Co-authored-by: Daniel Maier <daniel.maier@tu-berlin.de>
2023-10-13 11:28:41 +02:00
Jason2866 a3dcbc6661
Remove `WiFiClientSecure` (#19725)
* Update HttpClientLight.cpp
* Update HttpClientLight.h
* Update Powerwall.h
* Update xdrv_10_scripter.ino
2023-10-12 20:10:16 +02:00
bovirus 4eefed79ac
Update Italian language (#19712) 2023-10-11 17:12:25 +02:00
stefanbode dade00bf59
Fix shutterfrequency esp32 (#19717) 2023-10-11 17:12:07 +02:00
Paul Blacknell 663e6ab21b
Update xsns_110_max17043.ino (#19709) 2023-10-09 16:52:56 +02:00
Paul Blacknell f41e525f5a
fix: account for MAX17043 alert status on start (#19708) 2023-10-09 16:14:41 +02:00
Theo Arends 39e0cf574d Refactor AP1 information 2023-10-09 11:33:24 +02:00
tyler.li a1cce95c08
MAX31855/MAX6675 sensors driver support up to 6 (#19704)
* Support multiple MAX31855/MAX6675 sensor up to 6

* code format

* revert tasmota_template_legacy.h

* revert original variable names

* revert original variable names

---------

Co-authored-by: arendst <mhtarends@gmail.com>
Co-authored-by: litao07 <litao07@kuaishou.com>
2023-10-09 10:44:24 +02:00
SteWers 6bec09b23f
[WebUI] WiFi Information (#19705)
* [WebUI] WiFi Information

Structured and more infos on WebUI Information page

* [WebUI] WiFi Info multiple lines

Divide one long line into multiple short lines
2023-10-09 08:39:12 +02:00
chefpro 9fbb4a8b0b
Fix modbus receive handling for float types (#19697)
Co-authored-by: Peter Rustler <peter@rustlerit.de>
2023-10-08 13:14:53 +02:00
s-hadinger 8c6788c6bc
Audio exclusive mode (#19698) 2023-10-07 22:11:37 +02:00
s-hadinger bf9c5b86c6
Remove warnings when compiling Audio with Arduino 3 (#19687) 2023-10-06 19:47:10 +02:00
Theo Arends 74bcbd898e Fix compilation when webserver disabled 2023-10-06 12:17:37 +02:00
Theo Arends 21ac018d70 Fix compile error 2023-10-06 11:23:58 +02:00
Matteo Albinola 2302d38eb0
Windmeter: add measure interval setting (#19542)
* Add new setting windmeter_measure_intvl and update speed computation

* Ensure windmeter_measure_intvl is not below 1

* Keep same settings order in response messages and add better comments
2023-10-06 10:53:38 +02:00
s-hadinger c5c78f45d0
Fix audio_slm.be 2023-10-06 08:11:29 +02:00
s-hadinger 11aad19800
Audio support for Microphone + Berry (#19677) 2023-10-05 21:47:07 +02:00
Theo Arends d96ed15e95 Bump version v3.1.0.4 2023-10-04 13:52:08 +02:00
Theo Arends 99df8edc2d Fix ESP32 chip version number 2023-10-04 12:47:58 +02:00
s-hadinger 473a8ee999
Audio refactoring, filters and I2SConfig (#19662) 2023-10-03 22:39:02 +02:00
s-hadinger e32c39f21d
Fix access to version from Berry 2023-10-03 19:21:47 +02:00
Christian Baars 58d43333f5
conform to API changes (#19654) 2023-10-03 16:20:48 +02:00
s-hadinger 77cba731b9
Partition_Wizard compatible with grow on mount (#19645) 2023-10-02 23:32:55 +02:00
s-hadinger 795a194d65
Audio prepare for Arduino3 (#19637) 2023-10-02 09:18:53 +02:00
Christian Baars f0b7984466
MI32 legacy: add mi32name, small fixes (#19619)
* add mi32name, small fixes

* remove unused variable
2023-09-29 17:47:17 +02:00
stefanbode 540acdc638
smaller fixes (#19621)
* position report during moverment

during moving the teleperiod will now report the actual position

* fix error on inverted shutter
2023-09-29 17:46:41 +02:00
Barbudor 335e18e8cb
Allow webbutton up to 32 (#19580)
* Allow webbutton up to 32

* use named const
2023-09-29 09:56:52 +02:00
gemu 3bcdf9487d
fix compile error with new email lib (#19608) 2023-09-27 18:36:38 +02:00
stefanbode 955d2d86dd
fix JSON Bug (#19607) 2023-09-27 16:05:32 +02:00
s-hadinger 31e56903c5
Audio refactoring and fixes (#19594) 2023-09-25 23:31:32 +02:00
stefanbode 0f6b59f67e
fix #16560 (#19589)
shutter reacted on QUAD press with HOLD event. Fixed
2023-09-25 09:25:45 +02:00
s-hadinger 74900edc96
Audio change of configuration file format (#19585) 2023-09-24 18:59:43 +02:00
Christoph Friese 5d97a73ddf
Add ENS16x (air quality) and ENS210 (temp & RH) sensors (#19479)
* Add files via upload

Added ENS16x library enabling read-out of ENS160 and ENS161 sensor component (follow-up of CCS811 and iAQcore)
Added ENS210 library to read out ENS210 temperature & humidity sensor

* Add files via upload

Add air quality sensor readout for ENS160 and ENS161 checking two possible I2C addresses (follow up sensor for CCS811 and iAQcore)
Add temperature and humidity sensor readout checking two possible I2C addresses

* Update BUILDS.md

Add USE_ENS16x and USE_ENS210

* Update decode-status.py

Add USE_ENS16x and ENS210

* Update I2CDEVICES.md

Add USE_ENS16x and USE_ENS210

* Update my_user_config.h

Add USE_ENS16x and USE_ENS210

* Update support_features.ino

Add USE_ENS16x and USE_ENS210

* Update tasmota_configurations.h

Add USE_ENS16x and ENS210

* Update tasmota_configurations_ESP32.h

Add USE_ENS16x and USE_ENS210

* Update xsns_111_ens16x.ino

Corrected I2X number

* Update xsns_112_ens210.ino

Corrected I2C number

* Disable USE_ENS16x and USE_ENS210 by default

* Added code size information

* cut down in libs

* optimize tasmota side

* fix ens16x web display

* final fix on alternate addresses

* update code & RAM usage

---------

Co-authored-by: Barbudor <barbudor@barbudor.net>
2023-09-24 18:30:15 +02:00
Barbudor 0d7c2dee72
support https URL (#19582) 2023-09-24 15:39:20 +02:00
s-hadinger 81d287a3b0
Berry fix audio MP3 (#19578) 2023-09-23 12:23:51 +02:00
s-hadinger 375c825d32
More cleaning of audio for ESP32 (#19577) 2023-09-23 11:25:58 +02:00
s-hadinger 06da24df83
Update berry scripts for Shelly (#19535) 2023-09-22 17:32:34 +02:00
Andrew Klaus 3061b06f3b
Adding SGP40 support to SGP4X driver (#19560) 2023-09-22 10:15:04 +02:00
stefanbode 7a75eb7021
Improvement in shuttersetup (#19565)
* Improvement in shuttersetup

- reduce call of energy to 10x a sec.
- stop detection more rigid to avoid wrong messages
- more accurate calculation of duration

* fix energy hickup on autosetup
2023-09-22 08:38:01 +02:00
s-hadinger 761ddaa57b
Berry counter 0-base (#19561) 2023-09-21 09:42:28 +02:00
s-hadinger 7de25acac0
Minor refactoring of audio code for Arduino3 (#19559) 2023-09-21 09:00:28 +02:00
s-hadinger fc513af351
Berry counter (#19558)
* Berry read and write Counters

* rename counter
2023-09-20 22:28:40 +02:00
Theo Arends ffd09da89a Fix DS18B20 for ESP32 with over 33 gpios 2023-09-19 15:20:10 +02:00
s-hadinger ddeb380a19
I2S improvements to MP3 play (#19547) 2023-09-18 22:49:49 +02:00
Christian Baars d6a9eaf8aa
Preps for IDF5.1: microphone/input for i2s audio (#19544) 2023-09-18 20:39:15 +02:00
s-hadinger 2d0339e8bf
Fix IR compilation for ESP32 with Arduino3 (#19537) 2023-09-17 21:12:36 +02:00
Paul Blacknell d2aee662fd
fix: add command data to cmnd response (#19524) 2023-09-15 22:16:27 +02:00
Theo Arends d595e64600 Bump version v13.1.0.3 2023-09-14 15:49:31 +02:00
Theo Arends 81fc4e336b Fix Arduino3 compilation 2023-09-14 14:17:51 +02:00
Theo Arends 2682d82628 Fix ESP32C3 relay click on restart 2023-09-13 23:16:38 +02:00
s-hadinger 00bd97fdc7
Matter virtual lights (#19511) 2023-09-13 22:49:46 +02:00
Theo Arends 860e12b88a Add frequency to BL0942 2023-09-13 15:49:14 +02:00
Theo Arends fffd68ad9c Fix BL0942 higher baudrates 2023-09-13 15:09:30 +02:00
gemu cb4671ee88
fix hardware serial port swap on ESP8266 (#19505) 2023-09-13 09:09:01 +02:00
Theo Arends 088ac1815b Add BL0942 baudrate selection 2023-09-12 21:48:13 +02:00
Theo Arends ee43b43add Fix ESP8266 compilation (#19485) 2023-09-12 15:01:30 +02:00
Theo Arends 16aab339e7 Clean up support command code 2023-09-11 11:45:27 +02:00
Theo Arends 597c3655b0 Fix MAX17043 invalid JSON (#19495) 2023-09-11 11:35:26 +02:00
Paul Blacknell 728b1b2d36
Update xdrv_29_deepsleep.ino (#19492) 2023-09-10 22:35:54 +02:00
Paul Blacknell b117164993
Improved parsing of accumulation data from HRG-15 rain sensor (#19485)
* fix: more robust parsing of accumulation data

* fix: further parsing checks
2023-09-10 22:33:54 +02:00
Theo Arends 0e6a012499 Fix possible MQTT disconnect exception 2023-09-09 23:30:55 +02:00
Theo Arends f9fd813842 Fix core 2.0.12 exception 2023-09-09 23:04:08 +02:00
s-hadinger 4c6ff44e42
Zigbee fix warnings with Arduino3 (#19486) 2023-09-09 15:27:16 +02:00
s-hadinger f1bd9446d5
Matter events phase 1 (#19484) 2023-09-09 14:50:40 +02:00
Paul Blacknell 4cc81f0dbc
Don't reset the MAX17043 battery fuel gauge after waking from Deep Sleep (#19412)
* fix: don't reset the device when coming out of deep sleep

* fix: move debug log message to inside the device validation

* Update xsns_110_max17043.ino

* add: update global battery percentage when max17043 reports new value
2023-09-09 09:48:30 +02:00
s-hadinger 4100682297
Fix TLS by removing redundant BearSSL code from libmail (#19472) 2023-09-06 20:12:59 +02:00
stefanbode f7775b5194
cosmetic changes only (#19468)
- reorder functions alphabetically
- reformat equations for better reading following guidelines
- adding comment for understanding
2023-09-06 16:52:40 +02:00
s-hadinger f4bc7c34c6
Support for IPv6 link-local zones for esp-idf 5.1 (#19469) 2023-09-06 14:48:12 +02:00
stefanbode 3cb63bcb67
Enable multipress events on buttons (#19465) 2023-09-06 09:37:29 +02:00
s-hadinger c2f8821b2f
`Sendmail` upgraded to ESP-Mail-Client v3.4.9 from v1.2.0, using BearSSL instead of MbedTLS (#19460)
* `Sendmail` upgraded to ESP-Mail-Client v3.4.9 from v1.2.0, using BearSSL instead of MbedTLS

* Fix compilation on ESP8266

* Fix compilation

* fix compilation
2023-09-04 23:00:37 +02:00
stefanbode 1ea12583d1
Fix migration error to filesystem settings (#19454) 2023-09-04 21:36:45 +02:00
s-hadinger c6938e2048
Reduce IRAM consumption of HDMI CEC to 1453 bytes (#19452)
* Reduce IRAM consumption of HDMI CEC to 1453 bytes

* Add changelog
2023-09-03 23:15:33 +02:00
s-hadinger bb4d99114a
Berry move mapping from C++ to C (#19450) 2023-09-03 22:50:03 +02:00
s-hadinger fe0423c6cd
Berry cleaned udp class (#19449) 2023-09-03 21:49:35 +02:00
s-hadinger a781ba3fc2
Fix compilation on Arduino 3 (#19447)
* Fix compilation on Arduino 3

* Fix compilation
2023-09-03 19:02:44 +02:00
s-hadinger 4cb8b987a4
Berry move solidified code to C (#19446) 2023-09-03 18:30:22 +02:00
bovirus 262c8b421b
Update italian language (#19442) 2023-09-03 12:23:48 +02:00
Christian Baars 4f6afbf849
all output parts for I2S and IDF5.1 (#19440) 2023-09-02 22:07:20 +02:00
s-hadinger f4b3574ed4
Berry fast_loop is now called every 5ms whatever the Sleep value (#19436) 2023-09-02 11:10:50 +02:00
s-hadinger f7c4c16a9c
Support for HDMI CEC protocol (#19434) 2023-09-01 21:46:18 +02:00
Theo Arends 48cf04db3a Fixed PCF8574 mode 1
- Fixed PCF8574 mode 1 with base relays exception 3/28 regression from v12.4.0.4 (#19408)
- Bump version v13.1.0.2
2023-08-31 15:15:18 +02:00
stefanbode 2bae1f4368
sorry... (#19429) 2023-08-31 10:50:29 +02:00
stefanbode 3301875983
Added compiler option for doubleclick window (#19428) 2023-08-31 08:09:25 +02:00
Theo Arends ff17a377cc Allow display of revision v0.0 2023-08-30 16:03:03 +02:00
Theo Arends 62c36a49b3 Add ESP32-C6 GPIO26/28 in template
Add ESP32-C6 GPIO26/28 in template as Red pins used by flash (QIO) but optionally free if DIO/DOUT
2023-08-30 15:14:46 +02:00
Christian Baars 8e8e019e0f
expected changes for arduino30 (#19421) 2023-08-30 14:17:21 +02:00
Norbert Richter 39083b6add
Fix xdrv_122_file_settings_demo buffer overflow (#19405) 2023-08-29 19:53:40 +02:00
Theo Arends a4cfc414be Final change to GUI twilight 2023-08-29 19:49:20 +02:00
Jason2866 4ebcd89b4f
enable more driver for Arduino 3.0 2023-08-29 19:09:06 +02:00
Barbudor 5395b8c4bd
fix and improve pzem_dc (#19402) 2023-08-27 22:49:24 +02:00
Theo Arends 23d6c0f5d5 Add twilight info to GUI (#19334) 2023-08-27 17:24:33 +02:00
SteWers dd8b85282a
EnergyMargins - always send MQTT telemetry message (#19397) 2023-08-27 10:53:04 +02:00
Theo Arends 3ed1bead44 Update decode-status 2023-08-26 16:20:46 +02:00
Andre H. Beckedorf 8683bc7722
Added passive mode for Sen5x sensor (required for Ike@ Vindstyrka) (#19388)
* Added a passive mode in sen5x sensor for parasitic installations. This skips reset & initialization of sensor on startup and reduces the polling to every 10 seconds to not interfere with and confuse the other I2C master on the bus, e.g. Ike* Vindstyrka.

* Removed obsolete updateCount. Cleanup.
2023-08-26 16:14:30 +02:00
s-hadinger ab94b16d8d
Fix IRHVAC crash v2 2023-08-26 15:04:08 +02:00
Theo Arends d4c1315248 Allow ADE7880 user defines (#19391) 2023-08-26 14:50:33 +02:00
s-hadinger 4ad3070558
Fix crash in IRHVAC (#19389) 2023-08-26 10:17:53 +02:00
Theo Arends 7f24d2027f Fix rotary edge cases (#19164) 2023-08-25 17:06:27 +02:00
xsp1989 9bb9ea0941
translate label (#19385) 2023-08-25 13:17:31 +02:00
Theo Arends 03c72501a5 Finally add ESP32-P4 ;-) 2023-08-25 13:11:00 +02:00
Theo Arends d5b12c8718 Consolidate esp32 hardware info 2023-08-25 12:48:35 +02:00
Theo Arends b1fba92e87 Fix idf chip revision 2023-08-25 10:55:20 +02:00
Charles 87735fb232
Teleinfo power fix (#19381)
* fix power #19244

* cosmetic display
2023-08-25 09:38:36 +02:00
Theo Arends d340c91cd7 Revert "Fix idf chip revision"
This reverts commit e5cb367581.
2023-08-24 20:52:36 +02:00
Theo Arends e5cb367581 Fix idf chip revision 2023-08-24 17:48:41 +02:00
Theo Arends 9b6efc674d Fix compilation 2023-08-24 15:17:04 +02:00
stefanbode d1e85635e3
fix inverted shutter inconsistencies (#19374)
* inverted shutter fix on overflow

* fix inverted_shutter > 9

fix on inverted shutter at esp32.
fix tilt behavior on inverted shutter

* fix tilt behavior on inverted shutter
2023-08-24 12:39:42 +02:00
Christian Baars 65a1a4feeb
Neopixel add SPI driver for C2 and some minor updates (#19372) 2023-08-24 10:34:17 +02:00
Theo Arends 0d80e639ef Fix Core 3 compilation 2023-08-23 15:29:42 +02:00
Theo Arends 701d33f645 Phase 2 support C2/C6 2023-08-23 13:02:13 +02:00
stefanbode ca14dc5507
Shutter ESP32 fixes (#19362)
* fix esp32 shutter

* fix shutterinvert+shutterbutton
2023-08-22 09:21:30 +02:00
btsimonh c9b5e5ab1f
Add new webcam driver over latest dev. (#19280)
* Add new webcam driver over latest dev. To use the old one, define USE_WEBCAM_LAGACY

* enable build without RTSP.
check pin_pwdn before using it n 0x105!!!

* more fixes around pwdn.  Make wcresolution -1 set the resoltuion setting to 'disbale cam' value (15).

* fix task stop - wait for debug to leave-> prevents guru. pin task to core 0.

* split motion from other code.  Add USE_WEBCAM_MOTION to control inclusion of motion code (big hit). Change from using USE_WEBCAM_LEGACY to USE_WEBCAM_V2

* logging minimisation - behind WEBCAM_DEV_DEBUG
2023-08-22 08:24:05 +02:00
Theo Arends dd877972be Phase 1 support C2/C6 2023-08-21 17:10:06 +02:00
Theo Arends 37a527696a Phase 1 support C2/C6 2023-08-21 16:18:21 +02:00
Theo Arends 0c3b559630 Phase 1 support C2/C6 2023-08-21 16:00:20 +02:00
Theo Arends 5b3b2a7a62 Changed display invert setting
Changed display invert setting after tasmota start in uDisplay driver (#19337)
2023-08-18 11:34:01 +02:00
stefanbode 7927c989c4
fix shutterinvert (#19341)
* fix shutterinvert

* fix shutterinvert
2023-08-18 09:02:17 +02:00
Theo Arends 2eaa0fcb67 Update switch comments 2023-08-17 23:28:27 +02:00
Theo Arends b8804cf2a8 Add variables to rules
Add variables ``%power<1..28>%`` and  ``%switch<1..28>%`` to rules (#19331)
2023-08-17 15:34:13 +02:00
Paul Blacknell aa097e9034
add: shutdown command for PID controller (#19318) 2023-08-16 11:17:54 +02:00
Theo Arends d9530f32a6 Sync dev with release v13.1 2023-08-15 10:37:54 +02:00
Paul Blacknell be88e701d9
Add commands to allow setting of timeprop parameters (#19310)
* add: commands to set timeprop settings

* Update my_user_config.h

* fix: properly generated json response to commands
2023-08-15 09:43:55 +02:00
paulusbrand 877d4250bb
Removes software based no load threshold. (#19302)
Lowers ADE7953 builtin no load detection threshold to be able to measure 5 watt power levels.
2023-08-14 10:08:16 +02:00
SteWers f40f4a1947
[DS18x20] Enhance use of aliases (#19026)
* [DS18x20] Enhance use of aliases

`defineDS18x20_USE_ID_AS_NAME`:
Always show part of the address, even for one sensor
`#define DS18x20_USE_ID_ALIAS`:
The command `DS18Alias` can now be use with alphanumeric aliases, which replace the sensor name

* [DS18x20] change to calloc()
2023-08-12 14:57:58 +02:00
Paul Blacknell df1a526f02
fix: properly detect device is offline after maximum misses reached (#19298) 2023-08-12 11:32:29 +02:00
Christian Baars b5cc48dd64
ESP32: pass flashmode at build time to macro definition (#19299)
* pass flashmode at build time to macro definition

* fix 8266 builds
2023-08-12 11:31:06 +02:00
Paul Blacknell 9eb184c30e
Improvements to PID controller driver (#19285)
* add: update DEBUG_THERMOSTAT to only control the virtual switch

Also, debug output is still generated but end user can control this debug level 3

* add: debug output of main controller parameters when thermostat enabled

Also, add units for debug outputs added to make them more intelligible

* Update xdrv_39_thermostat.ino

* add: debug message when sensor is detected as not alive

fix: display thermostat number in debug messages

* add: log message prefix string for thermostat

* Update xdrv_39_thermostat.ino

fix: typos in comments
add: debug messages

* add: debug prefix for thermostat

* add: debug prefix added to output lines

* fix: comment typos and small grammatical changes for clarity

* add: debug prefix 'THE' added to debug output

* add:  display PID status and key info on web output

* fix: remove extraneous comments that included unused code fragments

* add: local sensor handling improvements

add: define a local sensor name
add: define the local sensor measurement parameter
add: limit sensor not seen error message to every 60 seconds to avoid flooding the logs
add: include interval since which sensor data was last updated
fix: properly update the maximum interval time so missing sensor data is properly alerted

* Update xdrv_49_pid.ino
2023-08-10 16:20:06 +02:00
Christian Baars 7544d2f23c
fix IRAM_ATTR specified both in function declaration and definition (#19286) 2023-08-10 12:19:18 +02:00
Paul Blacknell c3fadde3e8
Improvements to thermostat debug output (#19279)
* add: update DEBUG_THERMOSTAT to only control the virtual switch

Also, debug output is still generated but end user can control this debug level 3

* add: debug output of main controller parameters when thermostat enabled

Also, add units for debug outputs added to make them more intelligible

* Update xdrv_39_thermostat.ino

* add: debug message when sensor is detected as not alive

fix: display thermostat number in debug messages

* add: log message prefix string for thermostat

* Update xdrv_39_thermostat.ino

fix: typos in comments
add: debug messages

* add: debug prefix for thermostat

* add: debug prefix added to output lines

* fix: comment typos and small grammatical changes for clarity

* add: debug prefix 'THE' added to debug output
2023-08-08 10:55:05 +02:00
Christian Baars 76aa6747a5
more idf5.1 preps: Berry SPI (#19273) 2023-08-06 21:10:36 +02:00
Jason2866 7488ed03f0
Tasmota based on Arduino 3.0.0 (#19270) 2023-08-06 13:44:28 +02:00
s-hadinger 0b3d6fd146
Prepare for Arduino v3 / esp-idf v5 2nd batch (#19265) 2023-08-05 20:34:24 +02:00
Theo Arends e52c6105c6 Bump version to v13.0.0.4 2023-08-05 15:41:12 +02:00
s-hadinger 5c8c7cdfca
Prepare for Arduino v3 / esp-idf v5 (#19264) 2023-08-05 15:11:10 +02:00
usr44 ab9a519d32
Update ru_RU.h (#19214) 2023-08-05 14:52:25 +02:00
stefanbode 959d105413
Change shutterbutton hold behavior with grouptopic (#19263)
* skip stop on hold if grouptopic

If shutterbutton is defined with a grouptopic send on HOLD, there is no stop on releasing the button. All shutters will move to defined position

* do not stop on hold release if group submitt

If mqtt broadcast is defined on hold then release the hold button will not anymore stop the local shutter. All shutter will move to defined position
2023-08-05 14:51:56 +02:00
Theo Arends 7c3c3855c4 Fix console Firefox layout 2023-08-05 12:35:03 +02:00
Theo Arends fc798540b7 Fix console min height 2023-08-05 11:56:06 +02:00
s-hadinger 362326f004
Zigbee Berry minor fix and cleaning (#19257)
* Zigbee Berry minor fix and cleaning

* Fix compilation
2023-08-05 09:50:39 +02:00
Christian Baars 732e4106b8
add wifitest3 (#19259) 2023-08-04 20:17:36 +02:00
Theo Arends e2c79b45e4 Save some more code bytes 2023-08-04 17:24:05 +02:00
Theo Arends 7736ba8af1 Change console height
Change console height from default 318 pixels to viewport (#19241)
2023-08-04 16:11:58 +02:00
stefanbode 6572f0ed39
Fixing SHUTTERINVERT issues (#19243)
* fix wrong inverted shutter

* fix inverted shutter for esp32
2023-08-03 11:55:20 +02:00
Vincent de Groot 5e591ef7db
Integrate MAX17043 driver mechanisms in xsns_110 (#19219) 2023-08-03 11:54:41 +02:00
s-hadinger df50a56c25
Fade would fail when the difference between start and target would be too small (#19246) 2023-08-02 17:48:12 +02:00
stefanbode 355b1e3b74
unsigned overflow fixed (#19221)
fixed overflow on negative value with dimmer 100%
2023-07-30 15:01:21 +02:00
s-hadinger 2c15cfe4da
Reduced log level for TeleInfo (#19216) 2023-07-29 23:09:03 +02:00
msedv fb45e73384
Four files which used #ifdef EPS8266 instead of #ifdef ESP8266 - which e.g. broke the MFRC522 functionality between 12.5 and 13.x. (#19209) 2023-07-29 16:50:27 +02:00
s-hadinger f2ab3b36a9
Zigbee decode Aqara 0000/FF01 attribute 03 as Temperature (#19210)
* Zigbee decode Aqara 0000/FF01 attribute 03 as Temperature

* Changed to AqaraTemperature
2023-07-29 14:19:15 +02:00
stefanbode de3b0a4b00
ensure minimum interrupt time (#19211)
prevent interrupts <30 micro seconds because sometimes see crashes on esp8266.
esp32 stop of interrupt >30microseconds and < 105microseconds
2023-07-29 14:15:00 +02:00
s-hadinger 11f056040e
Make TCPStart ip filter more IPv6 friendly (#19199) 2023-07-26 22:52:48 +02:00
s-hadinger 1a91dc441b
Berry improve tasmota.scale_uint() (#19197) 2023-07-26 22:31:22 +02:00
s-hadinger 9f16f09f29
Berry `mqtt.publish` now distinguishes between `string` and `bytes` (#19196) 2023-07-26 19:54:14 +02:00
Theo Arends 978a21240c Update changelogs 2023-07-24 15:30:48 +02:00
Theo Arends 0ddcea9905 Add alternative for PCA9685
Add alternative for PCA9685 as define PCA9685_V2 (#18805)
2023-07-24 15:11:20 +02:00
Theo Arends 17cf73595f Refactor MAX17043 driver
Refactor MAX17043 driver optional enable library (default off providing smaller footprint (-250 bytes)
2023-07-24 14:28:57 +02:00
Theo Arends f626539c18 Refactor MAX17043 driver 2023-07-24 12:29:43 +02:00
Jason2866 c5be85f443
Update de_DE.h 2023-07-23 14:13:23 +02:00
gemu 994c105bda
fix empty line problem (#19171) 2023-07-23 11:55:01 +02:00
Vincent de Groot 547169c57d
changing reference to xsns109 (#19170) 2023-07-23 11:30:44 +02:00
bovirus 31c3555d4d
Update italian language (#19169) 2023-07-23 09:39:17 +02:00
s-hadinger 6d3aedcafe
Berry SK6812_GRBW crash (#19166) 2023-07-22 21:51:37 +02:00
Theo Arends 421c95a51b Update change logs 2023-07-22 14:55:20 +02:00
Vincent de Groot bc41500d9c
MAX17043 sensor integration (#18788)
* Restart MAX17043 from the scratch

* revert change

* Changed battery capacity in charge (capacity is the Ah value of the battery, this degrades over time when battery ages)

* merge

* Changing xsns_109 to 110

* fix nr

* removed old xsns109

* Update I2CDEVICES.md

* clean-up usage of Interface
2023-07-22 13:33:47 +02:00
Theo Arends 973ce106e7 Fix compilation (#19134) 2023-07-22 11:28:23 +02:00
Theo Arends c7a22f175b Update changelogs 2023-07-21 14:55:06 +02:00
Theo Arends b149443691 Fix default battery level
- Fix default battery level (#19160)
- Bump version to v13.0.0.3
2023-07-21 14:35:22 +02:00
s-hadinger 758b0237b4
Matter latency improvement for single attribute reads and single commands (#19158) 2023-07-20 21:26:55 +02:00
stefanbode d1a4296867
New DEEPSLEEP topic for HA + Battery Level % support (#19134)
* New LWT on deepsleep

To allow better integration into HA LWT topic will report details of sleep status:
16:54:04.388 MQT: hm/tele/ESP_3284D1/LWT =
{"Sleep":{"Time":"2023-07-17T16:55:03","Sleep":1689612844,"Wakeup":1689612903}}

* Revert LWT back to non JSON

Send DeelSleep on LWT
Send Deepsleep parameters on topic DeepSleep

* Setting default for batteryLevel

* Enable BatteryPercentSet

Changing the battery level e.g. by rule

* Added Battery % to status message

* added battery_level_percent

* Added battery % support in STATE message

* Enable setting battery level

101 is reserved for power-plug. No battery Level reported

* Setting default for battery Level

101 is reserved for power plug
0..100 normal battery values

* Revert back LWT to Offline

Removed "DeepSleep" LWT status until further decision is made. Current implementation is technical sufficient for HA to detect a battery powered device

* Added discovery message after deepsleep change

* Added discovery for battery and deepsleep
2023-07-20 09:51:08 +02:00
s-hadinger 3da5124348
Berry add AES CCM decrypting in a single call to avoid any object allocation (#19153) 2023-07-19 21:15:08 +02:00
s-hadinger 2a3690b866
Berry `tasmota.loglevel()` and `tasmota.rtc_utc()` for faster performance (#19152) 2023-07-19 20:58:50 +02:00
s-hadinger 91f15d228b
Zigbee DIYRuZ_Geiger (#19151) 2023-07-19 20:41:49 +02:00
sfromis 6382c2806c
More user-friendly defaults for DisplayMode and DisplayDimmer (#19138)
Changing default for DisplayMode from 1 to 0. Users are getting confused by the display doing something they did not ask for (and not being aware of DisplayMode). This got worse with LVGL/HASPmota displays becoming common, with users having much less reason to dive into the old DisplayXxxxx commands. And it may even be hard to see that it is even a display of time/date causing the display to flicker.

Changing default for DisplayDimmer from 10% to 50%. The low brightness of 10% is not always easy to see, especially in daylight. 50% is generally better, while not going "full blast" with 100%.
2023-07-18 08:26:51 +02:00
s-hadinger ada754c582
Berry add `energy.update_total()` to call `EnergyUpdateTotal()` from energy driver (#19117) 2023-07-15 17:06:10 +02:00
stefanbode ebca2f0a07
Zero-Cross Dimmer fixes (#19109)
* Fix Zero-Cross flickering on Savedata

* Fix reboot on DIMMER usage with Zero-Cross

* Fix Flickering on dimmer 0
2023-07-14 09:10:20 +02:00
Theo Arends 9638beacec Fix possible buffer overflow 2023-07-12 12:45:02 +02:00
Theo Arends 5b6a25a7a0 Fix driver config backup and restore
Fix driver config backup and restore (#18295)
2023-07-12 10:52:58 +02:00
Theo Arends 889e6ea54d Fix driver config restore 2023-07-11 16:12:04 +02:00
Theo Arends 258976c014 Verify correct functionality 2023-07-10 18:14:23 +02:00
Theo Arends 43bc81010f Configuration file save and restore .xdrvsetXXX
Configuration file save and restore now backup and restore ``.xdrvsetXXX`` files too (#18295)
2023-07-10 16:03:32 +02:00
btsimonh b1cc87d24f
File UI changes (#19014)
* Remove recursion into folders on Manage Files.  May be enabled with UFILESYS_RECURSEFOLDERS_GUI.  On Edit of a file, Save and Magane btuttons return to the folder containgint the file being edited.  On delete file, UI returns to the folder that the deleted file was in.

* Make newfile put in in the current folder, and return to current folder on save of manage button.

* Add folderOnly and FileOnly functions to reduce code duplication.
Enable folder delete.
Enable folder listing to be aborted (x in browser)
Disbale ESP32 Download Task.  Needs attention.
Allow folder create from newfile name.
2023-07-10 10:27:20 +02:00
Theo Arends 05d589f2d7 Set ESP32-C3 max supported ADC channels to 5 2023-07-08 18:04:13 +02:00
Theo Arends ac4c4505a5 Bump version v13.0.0.2
Update changelogs
2023-07-08 17:37:12 +02:00
Theo Arends f726c904ab Enable ESP32 shutter driver
Enable ESP32 shutter driver (#18295)
2023-07-08 17:21:06 +02:00
gemu d9d9ca2651
fix modbus-tcp, add U32,U64 etc (#19063) 2023-07-07 19:50:51 +02:00
stefanbode 8ce7cb4ccd
Enhance ZC-Dimmer for falling and leading edge dimmer (#19054)
* Update tasmota_types.h

* Update xdrv_68_zerocrossDimmer.ino
2023-07-07 19:50:36 +02:00
s-hadinger 57c4825ccd
`BrRestart` now supports web handlers to work after Berry restart (#19057) 2023-07-06 21:37:46 +02:00
xsp1989 862edddb56
Fix BUG: Zigbee devices cannot be added through routing nodes (#19036) 2023-07-06 21:10:57 +02:00
s-hadinger f56307e321
Fix to Partition_Wizard for shelly (#19056) 2023-07-06 20:59:50 +02:00
MIzzzzon f462fa772d
Create GC9A01_display.ini (#19043) 2023-07-06 16:05:38 +02:00
s-hadinger 492759567a
Partition Wizard is now able to convert to safeboot from Shelly partition layout (#19034) 2023-07-05 09:55:17 +02:00
Theo Arends 522e6cf234 Implement deepsleep(0)
Implement deepsleep(0) as command ``restart 9`` (#19024)
2023-07-03 21:07:45 +02:00
Theo Arends fc9065d4c8 Fix miel_hvac
Fix miel_hvac (#18923)
2023-07-03 11:55:21 +02:00
s-hadinger d72f3b9978
Command ``BrRestart`` to restart the Berry VM (experimental) (#19003)
* Command ``BrRestart`` to restart the Berry VM (experimental)

* Add web button for Berry Restart
2023-07-02 21:52:01 +02:00
Theo Arends 85aed3a17d Remove phase_count_virtual 2023-07-01 14:31:03 +02:00
Theo Arends 139ac367f0 Add support for energy dummy relays
Add support for energy dummy relays using SO48
2023-07-01 14:25:05 +02:00
Theo Arends 6dd8aabeef Cleanup scripter logging 2023-07-01 14:04:27 +02:00
Theo Arends 3edb5bb096 Move SD card init up
Move SD card init up (#18934)
2023-07-01 12:48:33 +02:00
Jacek Ziółkowski 2705374160
add Energy.phase_count_virtual to berry energy module (#19004)
* add Energy.phase_count_virtual to berry energy module

* Update xdrv_52_3_berry_energy.ino

* Update xdrv_52_3_berry_energy.ino
2023-06-30 22:19:59 +02:00
Theo Arends ad404dfc0c Allow disable of frequency
Allow disable of frequency in dummy driver
2023-06-30 11:55:48 +02:00
Theo Arends 1e3b41dd2d Fix PCF8574 mode2 init using scripts
Fix PCF8574 mode2 init using scripts (#18934)
2023-06-30 11:37:20 +02:00
Theo Arends 58e13edea0 Change loglevel message 2023-06-30 11:31:59 +02:00
Theo Arends ca452c5e43 Add Energy->phase_count_virtual 2023-06-30 11:14:37 +02:00
Theo Arends 465ae023ab Update change logs 2023-06-29 14:10:49 +02:00
Andrew Klaus eb655a4a8f
Add support for SGP41 TVOC/NOx Sensor (#18880)
* Initial support for SGP41

* Removing delay() use from SGP4x driver

* Using i18n for TVOC/NOx raw values as well
2023-06-29 09:04:08 +02:00
Theo Arends 504b51a9b4 Add command ``Delay -1``
Add command ``Delay -1`` to wait until next second (#18984)
2023-06-28 11:53:23 +02:00
jonschz a51096e400
update light when `VirtualCT` is invoked (#18972)
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2023-06-27 14:23:44 +02:00
Paul Blacknell 7892a38795
add HybridControllerPhase to json payload (#18842) 2023-06-26 21:56:07 +02:00
p2122 6ebd447bf2
Add files via upload (#18957) 2023-06-26 20:22:21 +02:00
Theo Arends 0930bbddf5 Fix ESP32 Matter support 2023-06-26 12:38:29 +02:00
Theo Arends d9a66547aa Bump version v13.0.0.1 2023-06-26 11:12:31 +02:00
s-hadinger 339c1cedb7
Zigbee firmware for Sonoff-ZB-Pro v20230507 (#18968) 2023-06-25 21:24:08 +02:00
Christian Baars 99a0f2add1
MI32 legacy: Allow submitting WiFi credentials via BLE using Berry (#18962) 2023-06-25 14:31:04 +02:00
gemu 3642d8ef37
fixes TS_FLOAT (#18961) 2023-06-25 12:08:42 +02:00
Jason2866 b419ae3a92
add matter as a default option in most env (#18942) 2023-06-24 11:39:26 +02:00
s-hadinger 36de007909
Berry replace `string.format`with `format` (#18945)
* Berry replace `string.format`with `format`

* remove import.string
2023-06-23 18:33:31 +02:00
Norbert 04521e5542
Change format of KNX Group address (#18928)
"%d.%d.%d" -> "%d/%d/%d"

Co-authored-by: Norbert <Noschvie@users.noreply.github.com>
2023-06-22 21:56:55 +02:00
Ian Anderson 635e240293
Update Tuya_ZG-204ZL.zb (#18922)
Added in mapping for battery level on ZG-204ZL
2023-06-21 10:33:39 +02:00
Norbert Richter 1f5c1baeae
Fix NeoPool NPFiltration switch result (#18871) (#18908) 2023-06-19 22:53:51 +02:00
Jacek Ziółkowski 5059a11b9f
Add entry for Growatt 12KTL-3S (#18898) 2023-06-18 20:26:42 +02:00
s-hadinger 28861821a6
Zigbee fixed regression with SetOption101 (#18884) 2023-06-14 22:46:18 +02:00
stefanbode 156a3551b0
Repair SHUTTER Shelly 2.5 with manual relay change on switches (#18877)
* Repair manual relay change

* Repair manual relay change
2023-06-14 16:14:10 +02:00
s-hadinger 69b2b93d61
Matter UI and logs polishing (#18866) 2023-06-12 19:45:18 +02:00
stefanbode 0e3b32e848
Readded up/down/open/close commands (#18864)
* Update xdrv_27_shutter.ino

* fix shutterposition with up/down/open/close
2023-06-12 19:09:19 +02:00
Subhash Chandra 2f616eef2c
make IRHVAC send incremental changes. (#18310)
This change will allow mqtt messages simpler by allowing something like
`publish cmnd/ir-bridge/IRHVAC {"Power": "On"}`.
The simpler format is required for working with mqtt clients like
iotMQTTPanel or similar on android.

Limitations:
- Requires full message be sent at-least once. I work around this with
   a `system#boot` rule
- Gets messy with multiple devices. I have only one AC per room, and
  this doesn't doesn't interfere with other IR devices.

TODO:
- [ ] Change the build flag `INCREMENTAL_IRAC`to a `SetOption`
- [ ] Persist `irac_prev_state` across reboots.
- [ ] Support multiple devices.
2023-06-10 14:53:02 +02:00
btsimonh 63cc575c8b
Berry Webclient: Change StreamBytes to StreamBeBytesWriter, and improve wc_getbytes (#18837)
This reduces allocation to a single allocaiton, but also theroetically allows the Bytes object to grow if content-length was unset.

(cherry picked from commit 936477f5977dd1a4f899498cc7cc0baf05b34a89)
2023-06-10 11:28:31 +02:00
Barbudor 6aed929e17
fix #18817 http response for status with retain (#18819)
* fix http response for status with retain

* take 2

* add a failsafe when JSONlen reach zero
2023-06-09 07:59:24 +00:00
btsimonh fc92dc0995
Add wcclient.get_bytes() to Berry (#18829)
(cherry picked from commit 5903b21448a3f088b12bd47a04996ff84e467a3a)
2023-06-09 08:56:05 +02:00
blakadder 676165f3f6
better way to support LSBJ (#18827) 2023-06-08 20:39:02 +02:00
blakadder ae67c6cfa1
Add support for INMP441 MEMS microphone (#18823)
* Add INMP441 MEMS mic support

* add I2S audio defines as preview
2023-06-08 16:24:44 +02:00
blakadder 5a8f13d57f
Pdm_mic (#18807)
* add I2S LSB flag

* add support for PDM microphones
2023-06-07 12:34:44 +02:00
Norbert a19079b2ec
Fix spelling. (#18799) 2023-06-06 10:21:12 +02:00
blakadder 24233924c5
add I2S LSB flag (#18793) 2023-06-04 23:01:46 +02:00
s-hadinger 844caf51f9
Fixed HASPmota event when value is non-integer (fixes #18229) (#18791) 2023-06-04 20:06:04 +02:00
s-hadinger 61f17221d0
Berry simplify I2S implementation (#18778) 2023-06-02 16:36:09 +02:00
s-hadinger f8df9e5f00
Berry `webclient.url_encode()` is now a static class method, no change required to existing code (#18775) 2023-06-02 13:29:57 +02:00
Theo Arends 4e7475dbd4 Bump version v12.5.0.4 2023-06-02 10:25:02 +02:00
jonschz 9d57a19be3
Fix interaction of `SO92`, `VirtualCT`, and `RGBWWTable` (#18768)
* remove unused variable

* Relocate SO92 implementation
This way, SO92 does not ignore SO106

* Relocate RGBWWTable implementation
This fixes a bug related to RGBWWTable and SO92.
Also, the code is tidier this way

* Cleanup: Reduce code duplication

* more consistent behaviour for SO92 and free_cw

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2023-06-01 22:12:57 +02:00
s-hadinger b9d855ef79
Berry RS256 crypto algorithm (RSASSA-MCKS1_v1-5 with SHA256) used for JWT (#18763) 2023-06-01 10:02:23 +02:00
s-hadinger 3c75bc92a2
Zigbee Berry mapping fix attributes (#18747) 2023-05-29 23:05:45 +02:00
s-hadinger 3f094c9be1
Display descriptor for ST7735 128x160 display (#18741) 2023-05-29 18:50:03 +02:00
Theo Arends 07b7a7ee9a Fix initial ESP32 Energy kWh total time 2023-05-29 16:19:55 +02:00
Theo Arends bf2982854b Fix #18737 2023-05-29 14:21:33 +02:00
s-hadinger fe570a1b26
Matter Border Router for ESP8266 (experimental) (#18734) 2023-05-29 10:40:24 +02:00
Jason2866 7b55e1aca2
Make `USE_DISPLAY_MODES1TO5` in firmware `LVGL` possible (#18729)
* Make `USE_DISPLAY_MODES1TO5` in firmware `LVGL` possible
2023-05-27 17:00:14 +02:00
Theo Arends d91e1e8bcc Fix berry scheme select 2023-05-27 12:33:50 +02:00
Theo Arends e87714dbcd Add TODO 2023-05-26 17:51:20 +02:00
Theo Arends fcf3477165 Initial support for WS2812 scheme 14 2023-05-26 17:47:57 +02:00
s-hadinger 6fa22aae6b
adjust neopixel busy time (#18723)
* adjust neopixel busy time

* Adjust time for Berry
2023-05-25 19:21:18 +02:00
Theo Arends e05d75248e Add undocumented feature 2023-05-25 17:13:31 +02:00
Barbudor 75f634dc71
freeze readings before deepsleep (#18720) 2023-05-25 12:20:30 +02:00
Theo Arends d0e88c9dae Fix BusyDelay WS2812 2023-05-24 17:24:48 +02:00
Theo Arends fc67cca8b4 Add generic SystemWaitIfBusy() to fix WS2812 led flicker
Add generic SystemWaitIfBusy() to fix WS2812 led flicker
2023-05-24 16:21:59 +02:00
Theo Arends 4be618fe7b Fix WS2812 string distortions during analogRead()
Fix WS2812 string distortions during analogRead()
2023-05-24 15:09:26 +02:00
Theo Arends 10f9c20078 Fix ESP32 SPI initialization for MFRC522
Fix ESP32 SPI initialization for MFRC522 (#18711)
2023-05-23 14:34:47 +02:00
gemu 242eb3074a
fixes and enhancements (#18718)
* onewire fixes, webui radiobuttons

* fix regression
2023-05-23 11:30:59 +02:00
gemu e969bf0e0e
optional prefix size and serial invert (#18717) 2023-05-23 08:46:00 +02:00
Theo Arends 44b33281b6 Even more bling bling 2023-05-22 16:21:50 +02:00
Theo Arends 9a88677122 More AS608 bling bling
More AS608 bling bling (#18163)
2023-05-22 12:42:24 +02:00
Theo Arends 80afc8793f AdafruitFingerprint library from v2.0.4 to v2.1.0
AdafruitFingerprint library from v2.0.4 to v2.1.0 (#18163)
2023-05-22 11:48:03 +02:00
Theo Arends 22abc8ad99 Fix ESP32 InfluxDb initial connection delays
Fix ESP32 InfluxDb initial connection delays using HTTPClient (#18015)
2023-05-21 16:21:43 +02:00
Theo Arends ae518424bc Add IPv4 DNS lookup to influxdb
- Add IPv4 DNS lookup to influxdb (#18015)
- Add response to influxdb send
2023-05-21 15:34:36 +02:00
stefanbode a76ebaae48
Shutter continuous improvement (#18701)
* Update xdrv_27_esp32_shutter.ino

* Update xdrv_27_shutter.ino

* Update xdrv_01_9_webserver.ino

* Update xdrv_12_discovery.ino

* shutterinvert

removed slider display to driver
fix wrong invert display

* codereduction+refactor slider

removed webui slider into driver
optimized code

* update slide, fix invert shutters

- refactor sliders into driver
- fix percent calculation on iverted shutters

* fix on realpercent if inverted shutter

* fix ShutterPercentToRealPosition

fix on inverted shutter

* added shutter to bootloop reset

* bugfix integration

* bugfix
2023-05-21 12:25:11 +02:00
Bernhard Urban-Forster d5ad79985b
haas: sync shutter discovery and fix for more than 4 shutter (#18694)
* discovery: hoist shutter computation out of loop

* haas: sync shutter discovery and fix for more than 4 shutter
2023-05-20 09:06:56 +02:00
Ian Anderson 63a83c7289
Added quirks file for Tuya_ZG-204ZL (#18693) 2023-05-20 07:51:46 +02:00
Theo Arends f5d6578fb5 Fix correct JSON display of WifiPower float 2023-05-19 17:41:18 +02:00
Theo Arends 4afcdc11d6 Simplify Berry Mute option 2023-05-19 16:30:48 +02:00
Theo Arends 77103baa0a Add internal support for max log level 2023-05-19 15:20:21 +02:00
s-hadinger 043ea2986b
Berry `tasmota.wifi()` would wrongly report wifi as up (#18687)
* Berry `tasmota.wifi()` would wrongly report wifi as up

* Fix ESP8266 compile

* Fix display of IP in wifiman

* Improve wifiman IP handling for IPv6
2023-05-18 11:23:09 +02:00
s-hadinger 2b76e8e668
HASPmota `meta` attribute and improved `berry_run` (#18685) 2023-05-17 21:40:05 +02:00
Theo Arends 4a7e4f9a17 Refactor dynamic wifi tx power 2023-05-17 11:44:14 +02:00
Theo Arends 57f85ae478 Optimize dynamic WiFi power 2023-05-17 10:45:00 +02:00
stefanbode 4d131fd543
zero-cross dimmer cleanup (#18674)
removed zero cross dimmer initialize
2023-05-17 08:54:22 +02:00
stefanbode adff41f962
bugfix (#18673) 2023-05-16 22:34:07 +02:00
Theo Arends 0385204ca7 Add command ``WifiPower 0``
Add command ``WifiPower 0`` to enable dynamic wifi power based on RSSI by @TD-er (#15443)
2023-05-16 18:55:55 +02:00
btsimonh f8b26a90f6
Add mutex to many camera functions. (#18655)
* Add mutex to many camera functions.

* Allow stream to continue after wcinit command (and other commands which reconfigure).

* Adust retries on camera init, specifically log success if it retried.
Shorten messages to save rom.
I have seen fail of 0x103 and 0x20002 succeed on second try.
2023-05-16 12:21:25 +02:00
s-hadinger 81d7785f66
LED PWM ac_dimmer curve was wrongly applied instead of Gamma (#18666) 2023-05-15 22:51:14 +02:00
s-hadinger 98bfc172c1
Zigbee support for air sensors (#18665)
* Zigbee support for air sensors

* ppm
2023-05-15 22:04:13 +02:00
Theo Arends 9b8f3b6b4c Add command I2CScan0
Add command I2CScan0 to scan both busses if available
2023-05-14 15:21:19 +02:00
Theo Arends f1a9a0b45b Add support for PCA9557
Add support for PCA9557 8-bit I/O expander (#18632)
2023-05-14 15:08:09 +02:00
Theo Arends 26508e55fc Merge branch 'development' of https://github.com/arendst/Tasmota into development 2023-05-14 14:42:23 +02:00
Theo Arends 7cad4f95b6 Enable I2c on webcam 2023-05-14 14:42:11 +02:00
CCTweaker 885737a1fd
Add support for PCA9557 8-bit IO expander (#18632)
* add PCA9557 driver

* text correction

* added switches and buttons

* update max devices to 8

* cleanup
2023-05-14 14:19:39 +02:00
Jeroen f860722eba
Added Endianess Parameter (#18650)
https://github.com/arendst/Tasmota/discussions/18244

Co-authored-by: JeroenSt <nospam@nospam.org>
2023-05-14 14:18:45 +02:00
Jason2866 0bf27e70fe
fix logic when init cam was successful (#18653) 2023-05-14 14:08:53 +02:00
Theo Arends 86979646ff Energy power delta report delayed
Energy power delta report delayed by two seconds allowing hardware to stabilize (#17751)
2023-05-11 18:10:52 +02:00
Christian Baars 79a826a206
Update xdrv_81_esp32_webcam.ino (#18637) 2023-05-11 09:28:33 +02:00
f-reiling 3a6cd9b63c
start modus tcp bridge automatically (#18634)
* added default port for modbus tcp bridge to start automatically

* updated ifdef style

* renamed define for modbus default port
2023-05-10 14:38:52 +02:00
Jason2866 3c951d7751
fix GT911 crash in LVGL firmware (#18633)
* fix GT911 crash

* remove wrong frag when using GT911
2023-05-10 14:02:51 +02:00
Jason2866 64e844d387
Disable crashing GT911 driver (#18631) 2023-05-10 11:28:59 +02:00
Jeroen 632176765d
Added define to adjust calibration precision. (#18613)
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-05-10 09:38:27 +02:00
TID bef49b4617
Update polish language (#18615) 2023-05-10 09:36:54 +02:00
Mateusz Bronk 6a7b2b0c6e
IR: Extended the A/C protocol with Command/iFeel/SensorTemp (#18612)
* IR: Added support for new A/C protocol fields

New fields introduced in IRremoteESP8266 v2.8.5:
1. Command (one of: [Control | Config | iFeel | Timer], default: Control) - allows to set IR command type (e.g. iFeel for no-beep ambient sensor report)
2. iFeel (boolean, default: false) - configures whether iFeel (ambient sensor temp. is used by the A/C unit)
3. SensorTemp - the ambient sensor temperature reading to send

Note:
 - Fan setting via int is now 6-value (breaking change -> 6 is the new max)

* IR A/C: Model now pretty-printed to JSON

Model string is the default (falls back to int if n/a)

* IR A/C: Added separate JSON resp. per command type

* No change for "kControlCommand" (default/legacy).
* SensorReport/Timer/Config commands only contain relevant JSON nodes

Additionally:
 Clock has time semantics (input: minutes, output: HH:MM), except for "config" mode,
 where state.clock is used as ConfigKey and state.sleep is used as ConfigValue.

---------

Co-authored-by: Mateusz Bronk <2566147+mbronk@users.noreply.github.com>
2023-05-09 21:35:56 +02:00
SteWers be27b4c488
Update de_DE.h (#18621) 2023-05-09 20:12:24 +02:00
Theo Arends 6fe1bbd617 Update changelogs 2023-05-08 15:10:15 +02:00
Jeroen 45eb82bc3f
Fix for not sending changes to mqtt (#18600)
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-05-08 09:59:28 +02:00
Jeroen 6cb92ffe49
Fix for aligment at displayfloat command (#18601)
* Fix for wrong aligment at displayfloat command

* Added alignment parameter to prevent regression

---------

Co-authored-by: JeroenSt <nospam@nospam.org>
2023-05-08 09:58:26 +02:00
bovirus cdc6ba7c96
Update italian language (#18605) 2023-05-08 09:57:13 +02:00
Christian Baars cf60e34578
fix webcam init for some cases (#18606)
Co-authored-by: Christian Baars <christianbaars@MacBook-Pro-von-Christian.local>
2023-05-08 09:57:00 +02:00
Theo Arends da5396a080 Add filesystem size to esp8266 GUI 2023-05-07 17:25:18 +02:00
Theo Arends 91523fd90b Add GM861 optional heartbeat 2023-05-07 16:01:33 +02:00
Jason2866 eccc1af0a2
disable SHT pig on i2c / add missing GT911 defines (#18595)
* disable SHT pig on i2c / add missing GT911

* GT911 missing in config
2023-05-07 15:32:15 +02:00
gemu a46b926530
fix i2c touch init (#18594) 2023-05-07 14:48:49 +02:00
Theo Arends 0287291cd9 Add GM861 optional AIMId decode 2023-05-07 14:11:29 +02:00
Theo Arends e9d1e8c725 Change command FileUpload binary index 2023-05-06 18:09:11 +02:00
Theo Arends b9464a21a8 GM861 add support for AIM 2023-05-06 17:18:52 +02:00
stefanbode 25e55ae073
#18548 fix shuttersetup (#18586)
- code optimization
- shuttersetup reluctant on relay to energy measure relation
2023-05-06 15:46:29 +02:00
s-hadinger 8b2539a35a
Partition_Manager.tapp fixed (#18588) 2023-05-06 12:18:12 +02:00
Theo Arends d7b6d72e19 Add support for GM861
- Add support for GM861 1D and 2D bar code reader (#18399)
- Bump version to v12.5.0.2
2023-05-05 16:50:19 +02:00
s-hadinger 069278f966
Berry add `tcpclientasync` class for non-blocking TCP client (#18584) 2023-05-05 15:13:22 +02:00
gemu 687b26ad13
Scripter update (#18578)
* add ds2480b library

* add onewire support

* reset on error

* call to get esp32 HWS

* DS2480 serial invert option
2023-05-05 09:17:17 +02:00
s-hadinger c26ec44407
Matter POC for remote Relay (#18575) 2023-05-03 23:03:01 +02:00
stefanbode 9097f508fd
BugFix Garage + new shutterbuttons options (#18572)
* Fix GarageMode movements

* BugFix Garage + new shutterbuttons options

- Removed logging
- shutterbuttons support incremental change
- garage mode, fix #18539 and fix #18442
2023-05-03 21:44:09 +02:00
s-hadinger 3fa42072b1
Fix HASPmota demo for the new Berry rule engine (#18570) 2023-05-03 17:33:21 +02:00
stefanbode c498995f79
Update xdrv_68_zerocrossDimmer.ino (#18556)
* Update xdrv_68_zerocrossDimmer.ino

* Address IRAM issue report

removed some IRAM from ESP8266. Further improvement to ESP32 as soon as measurement is available.
2023-05-02 15:53:17 +02:00
Theo Arends cda2bf157d Add support for TC74
Add support for TC74 temperature sensor by Michael Loftis (#18042)
2023-05-01 16:26:07 +02:00
Jeroen 616652ea22
Added support for Dingtian Relay Board v3.6.10 (#18535)
* Added support for Dingtian Relay Board v3.6.10

* Output OE was never initialized

* Removed white spaces trying to fix language builds

* Fix for https://github.com/arendst/Tasmota/pull/18535#pullrequestreview-1406978097

* Fixed language builds

---------

Co-authored-by: JeroenSt <nospam@nospam.org>
2023-05-01 14:51:02 +02:00
Jeroen c5612a50fb
Fix for https://github.com/arendst/Tasmota/discussions/15703#discussioncomment-5713294 (#18534)
Added and fixed comments

Co-authored-by: JeroenSt <nospam@nospam.org>
2023-04-29 14:46:38 +02:00
Tim L 1d0c19311d
Add support for WT32_SC01 Plus display (#18538) 2023-04-29 14:45:10 +02:00
stefanbode 17d1d7f5fa
Update xdrv_68_zerocrossDimmer.ino (#18532) 2023-04-28 17:33:12 +02:00
bovirus d206de52f1
Italian language update (#18531) 2023-04-28 08:38:46 +02:00
Theo Arends f86bc7d8ab Prep GM861 2023-04-27 17:44:33 +02:00
Theo Arends 53bd49ddcd Remove USE_ARDUINO_OTA from ESP32 2023-04-27 16:35:47 +02:00
Jason2866 c33472d9b6
ArduinoOTA support only ESP8266 (#18528)
* ArduinoOTA support only ESP8266

* add comment ArduinoOTA
2023-04-27 14:19:27 +02:00
stefanbode 60855bf367
Enabled ZCDimmerSet for ESP8266 (#18518)
* Enabled ZCDimmerSet for ESP8266

- Increased interrupts time to get stablity. Savedata issue is gone. 
- Increased accuracy to trigger an on sinus curve.
- Enabled high resolution trigger ZCDimmerSet for ESP8266

* Update xdrv_68_zerocrossDimmer.ino
2023-04-27 08:03:00 +02:00
s-hadinger 6702321784
Matter shutter with tilt (#18525) 2023-04-26 22:53:26 +02:00
Jeroen ee9d086aba
Solved: ModbusBridge reading int16 returns uint16 (#18524)
https://github.com/arendst/Tasmota/issues/18522

Co-authored-by: JeroenSt <nospam@nospam.org>
2023-04-26 22:27:53 +02:00
stefanbode afbdb3d54f
Added TILTCONFIG to status13 message for MATTER support (#18512) 2023-04-26 11:39:59 +02:00
stefanbode bec24baa75
Changes JSON message to actual position and not outdated (#18502)
* Report actual position in JSON

* Update xdrv_27_shutter.ino

* Update xdrv_27_esp32_shutter.ino

* copy&paste error
2023-04-26 08:39:49 +02:00
Christian Baars f6763eb37b
Berry: add BLE server/advertiser (#18494) 2023-04-26 08:39:29 +02:00
stefanbode 39abde2583
Worked on ESP32 dimmer with Zero cross (#18481)
* Worked on ESP32 dimmer with Zero cross

Until now the ESP32 does not support zero-cross dimmer. I take a sneak how they did in in ESPhome and adapted the approach to TASMOTA. At the end it works that smooth that likely i will change ESP8266 either so we have a common code. Currently ESP8266 is not touched.
There is a minor issue with savedata == default. When changing the dimmer value the interrupts get stopped during write of the config data to flash.

* ESP8266 Dimmer added

Worked all so well and the code is much smaller. There is no need for reconfiguration on existing users. But there are settings not needed anymore. Will work on the documentation. Anyhow existing installations can upgrade without hickup

* Optimized endpoints at dimmer 0 and 100

* Removed debug stuff

* Fix Issue at dimmer = 0

* Small bugfix

* Final checked Version

* Update xsns_01_counter.ino

* Add missing func

* Update xsns_01_counter.ino

* Moved out of the house of counter and build my own one

* New ZeroCross Driver

* Update xdrv_91_zerocrossDimmer.ino

* evolving

* Delete xdrv_91_zerocrossDimmer.ino

* Add files via upload

* Changed drv number from 1 to 68

* Commit to merge
2023-04-25 13:46:19 +02:00
Jason2866 98cad1a192
Create ST7735S_Air101-LCD_display.ini 2023-04-24 16:53:37 +02:00
Theo Arends c1db67ce37 Refactor GDK101 driver 2023-04-23 18:09:33 +02:00
Felix Laevsky 21bb822dec
Fix for ModuleAddress command (#18490) 2023-04-23 10:51:00 +02:00
gemu 799ba675eb
add xpt2046 option for spi bus 2 (#18480)
* allow spi bus 2

* xpt spi bus 2

* xpt option bus

* xpt option spi bus 2

* exclude c3

* exclude s2

* fix s3

* typo
2023-04-23 10:19:31 +02:00
Theo Arends 5a2266289e Update Sievert 2023-04-21 16:55:09 +02:00
Jason2866 11a43ea99b
Tasmota Core 208 (#18460)
* Tasmota Core 2.0.8
* Fix Linker errors
2023-04-20 20:01:35 +02:00
s-hadinger b235dffb29
Fix Berry hue_bridge (#18459) 2023-04-19 23:45:05 +02:00
Theo Arends 9f77cfd890 Fix single pin latching relay power on state
Fix single pin latching relay power on state (#18386)
2023-04-19 16:17:04 +02:00
InHi66 eb40496e4b
Update xsns_20_novasds.ino (#18444) 2023-04-18 17:20:47 +02:00
Theo Arends 6f6c43a724 Add command ``SetOption152 0/1``
Add command ``SetOption152 0/1`` to select two (default) or one pin bistable relay control (#18386)
2023-04-18 17:16:29 +02:00
Theo Arends 2684141722 Fix ESP8266 Energy Export Active
Fix ESP8266 Energy Export Active no update regression from v12.3.1.3
2023-04-18 15:34:19 +02:00
Theo Arends 05f6bcf211 Bump v12.5.0.1 2023-04-17 10:10:55 +02:00
s-hadinger e2e142f289
Zigbee fix compilation for future core (#18432)
* Zigbee fix compilation for future core

* More fixes for ESP32
2023-04-16 23:16:28 +02:00
Theo Arends 96f6f69f13 Increase TasmotaClient receive buffer
Increase TasmotaClient receive buffer from 100 to 250 (#18427)
2023-04-16 14:39:29 +02:00
Theo Arends e158b181d6 Add SDM72D_M config 2023-04-16 13:52:10 +02:00
ferix98 2a8b859e37
Added I2SRtttl command (#18423) 2023-04-16 12:04:22 +02:00
Theo Arends 1e571e1d14 Update templates 2023-04-15 14:58:21 +02:00
bovirus ae5dd61b8a
Update Italian language (#18415) 2023-04-15 12:16:54 +02:00
Theo Arends c2a6dd81e8 Fix ESP32 energy monitoring set StartTotalTime
Fix ESP32 energy monitoring set StartTotalTime regression from v12.3.1.5 (#18385)
2023-04-14 17:42:31 +02:00
Theo Arends e07efd625f Add support for GDK101 gamma radiation sensor by Petr Novacek (#18390) 2023-04-14 16:50:54 +02:00
Szewcson 4fdd1ad94d
Ftlab gdk101 Gamma Radiation Sensor Module support (#18390)
* Support for GDK101.

* GDK101 driver rework

---------

Co-authored-by: PetrNovacek <39201428+r21m@users.noreply.github.com>
2023-04-14 15:29:00 +02:00
Theo Arends d88d42341d Fix future compile error 2023-04-14 12:01:47 +02:00
stefanbode 3da96a55d5
Fixes and enhancements autosetup from testbench (#18405) 2023-04-13 21:56:35 +02:00
Barbudor 870874d181
fix display of adcparam param4 for ct (#18397) 2023-04-13 09:04:17 +02:00
stefanbode 6d9beb5d79
autosetup of shutters for shelly devices (#18393)
* New autocallibration and setup for shelly devices

* setup command
2023-04-12 09:39:48 +02:00
stefanbode 1c0936c6d5
fix setting migration issue (#18383)
* fix setting migration issue

* next try to fix migration issue

@arendst: I saw you made also some changes to the xdrv122. I copied this and it looks like setting the crc32 was the root of the issue. You removed it and I do the same now. Looks much better.
2023-04-11 08:17:55 +02:00
s-hadinger 6007f2d970
Berry `webserver.html_escape()` reusing the internal HTML escaping function (#18381) 2023-04-10 19:16:01 +02:00
s-hadinger 3354e2acbf
Matter log unknown opcodes (#18379) 2023-04-10 16:20:11 +02:00
gemu f06104b0b7
Scripter update (#18374)
* bug fixes and enhancements

* tcp reconnect
2023-04-10 10:04:00 +02:00
Barbudor 52060259ce
improve ADC_CT (#18369) 2023-04-08 21:31:50 +02:00
stefanbode 86be6c8a3d
Additional limit check on tilt changes (#18364)
* limit check on tilt position

* limit check on tilt changes
2023-04-08 09:40:38 +02:00
Theo Arends 545c6a3511 Refactor saving some bytes 2023-04-07 13:03:20 +02:00
Theo Arends 4f983105f3 Allow compound commands in json command
Allow compound commands in json command (#18358)
2023-04-07 12:36:02 +02:00
bovirus 97993934f2
Italian language update (#18352) 2023-04-07 09:13:18 +02:00
Anton ACE d8bdcebc78
xsns_105_lox_o2: LOX-02 Oxygen sensor support (#18333)
* xsns_105_lox_o2: LOX-02 Oxygen sensor support

* strtof removed, ConvertTemp added
2023-04-06 09:52:15 +02:00
Paul Blacknell 1be4d15f65
add: include EmergencyState in Thermostat sensor json payload (#18344) 2023-04-06 09:50:37 +02:00
Theo Arends 9c6fdc7027 Sync discoveries 2023-04-05 14:06:43 +02:00
stefanbode afd22b5b42
fix #18331 (Wrong discovery on ESP32_shutter (#18334)
* fix ESP32_shutter wrong discovery

* fix wrong discovers on ESP32 shutter

* fix wrong discovers on ESP32_shutter

* Update xdrv_12_discovery.ino
2023-04-05 13:47:12 +02:00
stefanbode b287d05098
Enable motordelay for tilt operations (#18330)
* implement motordelay also for tilt operations

* enable motordelay for tilt operations

* Update xdrv_27_esp32_shutter.ino
2023-04-04 17:45:33 +02:00
stefanbode f109d6ff72
Ensure Shuttermotorstop even on direct relay operation (#18329)
* Ensure motorstoptime also on direct relay change

When relay is triggered with button or switches it did not take the motorstoptime into account

* Ensure motorstoptime also on direct relay change

When relay is triggered with button or switches it did not take the motorstoptime into account

* Ensure motorstoptime also on direct relay change

When relay is triggered with button or switches it did not take the motorstoptime into account
2023-04-04 16:17:12 +02:00
Zbyněk Kocur b1ea413eae
Update xsns_86_tfminiplus.ino: FIX json output (#18321)
Fixes JSON measurement output. Output numbers like Distance and SignalStrength were published as a string. Now they have the right data type.
2023-04-03 16:47:44 +02:00
Theo Arends 542eca3154 Global fix http(s) connect issues 2023-04-03 16:12:29 +02:00
Theo Arends 6b2efa16dc Fix ESP32 WebQuery and WebGetConfig 2023-04-03 14:55:47 +02:00
Theo Arends d9353cf1e3 Fix upload connection error 2023-04-03 14:17:08 +02:00
Theo Arends 96e5f0dd38 Version bump v12.4.0.5
- Add Matter support for Light and Relays on ESP32 by Stephan Hadinger (#18320)
2023-04-03 10:06:03 +02:00
Theo Arends 326c605122 Prep support ESP32 enum SerialConfig 2023-04-02 14:20:03 +02:00
stefanbode efa7ae492e
Fix webpage, when ESP32 driver used (#18305)
* Fix to enable ESP32 shutter

* required changes for dual operation with ESP32 shutter

* fix

* Fix missing information on webpage
2023-04-01 14:53:01 +02:00
stefanbode d8f9a920ce
refactoring shutterbuttons completed (#18303)
* added support to set tilt with the shutterposition

Documentation will be changed.
OLD: shutterposition <position>
NEW: shutterposition <position>(optional)/<tilt>

e.g. shutterposition 50,-90

* refactoring of shutterbuttons completed

moved away from bitmatrix to struct Typedef to enable further development and functionality.
Added support to define tiltposition with shutterbuttons
2023-03-31 09:46:36 +02:00
Anton ACE 736ac74f53
xsns_103_sen5x bugfix (#18297) 2023-03-30 08:49:48 +02:00
Theo Arends 3cbe3dbf8b Create xdrv_27_esp32_shutter.ino 2023-03-29 15:58:46 +02:00
Theo Arends 2630c8e097 Delete xdrv_27_ESP32_shutter.ino 2023-03-29 15:58:26 +02:00
stefanbode 5c14a3169b
Shutter esp32 support up to 16 shutters (#18295)
* Updates to support ESP32 shutter compiler option

* New ESP32 shutter driver

* Update xdrv_27_ESP32_shutter.ino

* Update xdrv_27_shutter.ino

* Update support_command.ino

* Update xdrv_27_shutter.ino

Fix compile error

* Update xdrv_27_ESP32_shutter.ino

Fix compile error

* Update xdrv_27_shutter.ino

Fix compile error

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2023-03-29 15:43:19 +02:00
Theo Arends b321fab868 Refactor PCF8574 driver 2023-03-27 15:42:40 +02:00
Theo Arends 61b8e95543 Fix ESP32 change baudrate (#17869) 2023-03-26 16:37:29 +02:00
s-hadinger 2afa863e54
Berry fix `light.set()` (#18268) 2023-03-26 15:59:18 +02:00
Theo Arends 0f08a07658 Fix PCF8574 input mode (#18232) 2023-03-26 15:05:16 +02:00
Theo Arends 215c9cc30f Simplify base modes 2023-03-26 11:39:30 +02:00
Theo Arends ebe308acfc refactor button/switch code 2023-03-25 18:15:24 +01:00
Theo Arends 4645af038c Add BASE 2 for absolute relays 2023-03-25 17:50:23 +01:00
pkkrusty 3daedae2da
Add speed and heading info to GPS driver (#18035)
* Add speed heading to driver

Added NAV-VELNED messages to driver, allowing speed and heading info on the main web page and JSON messages. Probably could be optimized; mostly another exercise in copy/paste

* wrap velocity code in #define USE_GPS_VELOCITY

Code space increases by 0k4, not sure about RAM (don't know how to measure). But added a struct with 320 bits, so maybe 40 bytes?

* Add documentation up top

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2023-03-25 15:37:38 +01:00
Theo Arends 1e1c536a50 Consolidate Energy Column Gui 2023-03-25 15:16:06 +01:00
Theo Arends 9ae7b86efc Save some bytes 2023-03-25 11:59:42 +01:00
Theo Arends b32a093c0c Fix multidigit SwitchModes display
Fix multidigit SwitchModes display
2023-03-25 11:36:10 +01:00
Theo Arends 5bb624ad09 Add command ``SwitchMode0``
Add command ``SwitchMode0`` to show or set all SwitchModes
2023-03-25 11:29:49 +01:00
pkkrusty b456b97dda
Include fix state in JSON output (#18254)
Mirror the webpage display, and make fix status available for triggers and rules.
2023-03-25 10:23:58 +01:00
Theo Arends 56b3fbe917 Add MCP23xxx absolute buttons and switches 2023-03-24 18:00:24 +01:00
Theo Arends 938399e086 Add absolute button/switch support
Add absolute button/switch support (#18232)
2023-03-24 17:20:28 +01:00
stegerfa 0081022543
fixes building the sensor names in case of multiple channel thermostat function (#18248)
now it will follow SetOption64 (hyphen vs underscore)
hyphen is the standard - underscore the much safer option in my cases
as many user user underscore the mistake was not detected till now

Co-authored-by: Fabian Steger <git@fabian-steger.de>
2023-03-24 14:54:23 +01:00
bovirus d7370e7211
Update italian language (#18240) 2023-03-22 20:11:00 +01:00
Theo Arends 00c60450c6 Consolidate messages
- Consolidate messages
- Fix sen5x
2023-03-22 13:25:55 +01:00
SteWers ab03654e02
[Thermostat] Enhancement publishing of control method (#18235)
Enhancement publishing of control method. Independent, if hybrid mode is used or not.
2023-03-22 10:41:53 +01:00
Theo Arends 6aab3d4c5e Bump version v12.4.0.4
- Add Matter support simple Relay on Apple Homekit by Stephan Hadinger (#18239)
- Bump version v12.4.0.4
2023-03-22 10:39:59 +01:00
s-hadinger a36edadc0f
Berry fix `tasmota.get_power(index)` (#18237) 2023-03-21 22:30:50 +01:00
Jeroen a68bc49cab
Added option to output TCP requested modbus data to MQTT (#18231)
https://github.com/arendst/Tasmota/discussions/17369

Co-authored-by: JeroenSt <nospam@nospam.org>
2023-03-21 09:39:32 +01:00
Jeroen fbbb4eaf84
Fix for issue: https://github.com/arendst/Tasmota/issues/18088 (#18228)
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-03-20 21:26:38 +01:00
Theo Arends 59677d7e4a Consolidate sensor parameters 2023-03-20 17:11:05 +01:00
gemu daa64f098c
Scripter update (#18226)
* fix failure with negative values in >D

* Create Powerwall.h
2023-03-20 12:13:36 +01:00
Theo Arends 34ee7c67d8 Update changelogs
- Add support for PMSA003I Air Quality Sensor by Jean-Pierre Deschamps (#18214)
- Add support for DingTian virtual switch/button/relay (#18223)
2023-03-20 10:21:16 +01:00
Jean-Pierre Deschamps 5661a6798f
Support for pmsa003i (#18214)
* Initial support for PMSA003I air quality sensor.

* Updated pmsa003i support to the latest dev branch

* Fixed typo in esp32 configuration

Removed all global variable and use the PM25_AQI_Data struct from Adafruit library
Fix typo Xsns100 to Xsns104
Fix Typo XI2C_71 to XI2C_78

* Move everything in custom Struct for PMSA003I driver

---------

Co-authored-by: Jean-Pierre Deschamps <info@jpdeschamps.com>
2023-03-20 09:52:22 +01:00
Barbudor 948a82d75e
Add virtual Buttons & Switches in Digtian driver (#18223)
* add support for virtual buttons or switches

* remove DINGTIAN key from SENSOR when using buttons-switches
2023-03-19 20:19:48 +01:00
Theo Arends 115105bf7c Consolidate energy messages 2023-03-18 18:26:43 +01:00
Theo Arends 9a3a479c4f Reduce heap fragmentation 2023-03-17 21:17:53 +01:00
Theo Arends 54a2688cbf Bump v12.4.0.3
- Bump v12.4.0.3
- Refactor energy monitoring reducing stack usage and solve inherent exceptions and watchdogs (#18164)
2023-03-17 21:05:51 +01:00
stefanbode d0f4637611
Fix #18198 (#18204)
* Fix #18198

Fix wrong movement with tilt if additional endstop defined

* simplify
2023-03-16 14:38:04 +01:00
Theo Arends cc09ff21e1 Refactor RFSensor 2023-03-15 12:05:40 +01:00