Commit Graph

3330 Commits

Author SHA1 Message Date
gemu2015 c50256f2b3 add pwm and alt_eeprom 2020-12-13 07:32:09 +01:00
gemu2015 fe3bef037c fix pin overrides 2020-12-13 07:31:10 +01:00
Paul C Diem e1391acaba Wrap remote dimmer reference in ifdef 2020-12-12 15:09:49 -06:00
Paul C Diem 5f1a24370f Support power tap and hold; increase hold from .5 to .75 seconds 2020-12-12 13:32:14 -06:00
Stephan Hadinger 1558f0c731 Zigbee add visual map of network 2020-12-12 19:05:47 +01:00
Alexander Kabakaev 056493740b show relay state in prometheus metrics 2020-12-12 12:18:00 +01:00
Javier Arigita a8f892e2e1 Bugfix to allow negative temperature setpoints 2020-12-09 21:11:19 +01:00
Stephan Hadinger c9a251b35c Zigbee fix error message 2020-12-08 22:11:48 +01:00
Platformio BUILD 7c28b2e237 Merge remote-tracking branch 'Tasmota/development' 2020-12-08 20:16:58 +00:00
BBBits ad6fcd7459 Resolve Truncated Value In KNX_RXx 2020-12-09 09:16:17 +13:00
Theo Arends 1fe5ebc726 Add RcSwitch case insensitive A test 2020-12-08 19:58:43 +01:00
Stephan Hadinger 7dd56aac9f Zigbee add ZbStatus0 and ZbMap 0x0000 2020-12-08 19:21:32 +01:00
Theo Arends c624ac7044 Add transfer error codes
Add transfer error codes related to device file type
2020-12-08 17:24:52 +01:00
Theo Arends 80434500da mDNS has been disabled from all pre-compiled binaries to allow new features
mDNS has been disabled from all pre-compiled binaries to allow new features
2020-12-08 11:49:11 +01:00
Theo Arends 2fcc8589f3
Merge pull request #10088 from vic42/prepare_pr
This is a fix for issue #10038 (first LED in a WS2812 string flicks c…
2020-12-08 10:48:22 +01:00
Vic a110046073 This is a fix for issue #10038 (first LED in a WS2812 string flicks colors instead of fading) 2020-12-07 22:24:00 +01:00
Jason2866 fdec66ee01
Fix zigbee32 compile error 2020-12-07 20:04:47 +01:00
Stephan Hadinger c1f103be5a Add Letsencrypt R3 CA 2020-12-07 19:37:11 +01:00
Theo Arends 43171d12a7 Fix ESP32 phy mode detection 2020-12-07 18:16:28 +01:00
Theo Arends 2f47a4b5c9 Refactor serial init 2020-12-07 17:03:22 +01:00
Theo Arends b9a3fd4342 Fix initial baudrate
Fix initial baudrate (#7447)
2020-12-07 15:33:09 +01:00
BBBits 4453e24aa6 Revert "IR rx Igore min bits if unknown 1st draft"
This reverts commit 07f107981d.
2020-12-07 20:40:51 +13:00
Platformio BUILD e60fbc6f9b Merge remote-tracking branch 'Tasmota/development' 2020-12-07 05:19:27 +00:00
BBBits 07f107981d IR rx Igore min bits if unknown 1st draft
Code should be in IRrecv.cpp
2020-12-07 18:18:29 +13:00
Stephan Hadinger 29e507a250 Change Thunk Stack size for 4K RSA #9704 2020-12-06 19:55:51 +01:00
Stephan Hadinger f24c46b231 Zigbee better support for Tuya Protocol 2020-12-06 19:20:42 +01:00
Theo Arends 9593e6da21 Prep for multiple addresses 2020-12-06 17:31:18 +01:00
Theo Arends 931929c952 Add support for MFRC522
Add support for SPI connected MFRC522 13.56MHz rfid card reader (#9916)
2020-12-06 16:32:07 +01:00
Theo Arends 80ab642076 Add command ``RfProtocol`` to control RcSwitch
Add command ``RfProtocol`` to control RcSwitch receive protocols by BBBits (#10063)
2020-12-06 14:58:00 +01:00
BBBits c5c28dec25 Address Theo's requests & some cleanups + errors
Removed all code changes out i18n.h  & support_command.ino
2020-12-06 10:45:01 +13:00
BBBits c62c6a821a Remove BAZMOD tags 2020-12-06 00:13:24 +13:00
BBBits 7d19e9b0e2 RC-Switch Protocol Disable via Console 2020-12-05 23:51:57 +13:00
Marcel 96c58fa665 Improved Opentherm error handling.
- Added error counter avoiding disconnect state after single frame error.
- Decreased cooldown period to avoid boiler entering PWM mode after line idle for more than 5s.
2020-12-04 15:53:32 +01:00
gemu2015 1e72d27178 bug fixes
and add pwm dac for esp32
2020-12-04 08:57:52 +01:00
gemu2015 dc2d1dc025 fix audio missing stop 2020-12-04 08:56:45 +01:00
gemu2015 e489aa8107 fix ili9488 missing dimmer preset 2020-12-04 08:56:13 +01:00
gemu2015 ec181d37c3 fix st7789 esp8266 2020-12-04 08:55:43 +01:00
Theo Arends 36d2cb499f
Merge pull request #10042 from effelle/development
HATasmota: Fix for shutters
2020-12-03 12:55:32 +01:00
Federico Leoni 219a254c84 Fix shutters discovery 2020-12-03 08:06:52 -03:00
Stephan Hadinger 748c4c8954 Disable IR receive while sending 2020-12-02 22:09:30 +01:00
Stephan Hadinger 4243b934fe Better support for PIR devices 2020-12-02 19:25:17 +01:00
Theo Arends 75d35d407e Removed PN532 define USE_PN532_CAUSE_EVENTS
Removed PN532 define USE_PN532_CAUSE_EVENTS replaced by generic rule trigger `on pn532#uid=`
2020-12-02 18:01:38 +01:00
Theo Arends d82cdfb35e Fix HaTasmota query in swn 2020-12-02 16:37:57 +01:00
Theo Arends 1dec999144 Add additional defines
Add defines UPGRADE_V8_MIN_KEEP_WIFI and UPGRADE_V8_MIN_KEEP_MQTT to keep wifi and/ot mqtt settings when define UPGRADE_V8_MIN is enabled (#10027)
2020-12-02 11:59:01 +01:00
Theo Arends 6bbb5492f6 Change GUI right justified column with left justified text
Change GUI right justified column with left justified text
2020-12-02 10:44:28 +01:00
Theo Arends bf1b6dae31 Refactor PN532 Rfid reader
- Refactor PN532 Rfid reader
- Add UID to GUI
2020-12-01 16:07:40 +01:00
Theo Arends 519a028477 Prep RC522 rfid reader pt3 2020-12-01 14:37:05 +01:00
s-hadinger 62b64c749b
Merge pull request #10031 from s-hadinger/fix_tls_crash
Fix TLS crash because of wrong stack size for tasmota-zbbridge
2020-12-01 14:24:32 +01:00
Stephan Hadinger 22a199450b Fix TLS crash because of wrong stack size for tasmota-zbbridge 2020-12-01 14:11:32 +01:00
Theo Arends 37a1fb0834 Add zigbee specific define 2020-12-01 12:18:32 +01:00
Stephan Hadinger 1f400d34a9 Make it stealth mode 2020-12-01 10:32:14 +01:00
Stephan Hadinger 83f78f8724 Clear settings if unable to convert 2020-12-01 08:48:06 +01:00
Stephan Hadinger 40e70d7938 Add option `#define UPGRADE_V8_MIN` to drop support for upgrading before v8.0 (saves 1.3kb)
This option is not enabled by default except for ZBBridge, whose version was always at least v8.0.
2020-11-30 21:43:57 +01:00
s-hadinger a178ef459b
Merge pull request #10025 from s-hadinger/zigbee_optim
Zigbee code size optimization
2020-11-30 19:51:15 +01:00
Stephan Hadinger 054e0730e1 Zigbee code size optimization 2020-11-30 19:25:05 +01:00
Stephan Hadinger 4ea69ce2ef Zigbee auto-mapping 2020-11-30 19:12:16 +01:00
Theo Arends 5892cffbda Prep RC522 rfid reader pt2 2020-11-30 17:54:40 +01:00
Theo Arends 0614906e03 Prep RC522 rfid reader 2020-11-30 12:52:59 +01:00
Theo Arends 7be7d96de6 Fix SPI regression from 9.1 2020-11-30 11:51:27 +01:00
Roberto Bonacina 5c7680fb58 Fix a typo in comments
Replaced "Humidy" with "Humidity" in the initial description of some
temperature and humidity sensor files.
2020-11-29 21:08:08 +01:00
Norbert Richter 4014436208
Fix support for using multiple MAX31865 sensors 2020-11-29 17:26:23 +01:00
Theo Arends 968f4613be
Merge pull request #10012 from joetriskaide/development
Enable payload of >32 bit length
2020-11-29 16:13:54 +01:00
Theo Arends ebe1c8dd82
Merge pull request #10013 from s-hadinger/zigbee_zbrestore_backup
Zigbee use of ZbRestore for backup
2020-11-29 16:04:35 +01:00
Theo Arends 7f1f9727ef Update comments 2020-11-29 15:59:40 +01:00
Stephan Hadinger 817ac3a01f Zigbee use of ZbRestore for backup 2020-11-29 15:45:34 +01:00
Theo Arends 95362af6e4 Update comments 2020-11-29 15:26:42 +01:00
Josef Reisinger f5871c0a4b Enable payload of >32 bit length 2020-11-29 15:23:47 +01:00
Theo Arends 4c43ce479d Try to fix TuyaMcu powerusage
Try to fix TuyaMcu powerusage (#10005)
2020-11-29 13:32:13 +01:00
Theo Arends 8eacb36f71
Merge pull request #9971 from Zefiro/development
Fixed typos in comments
2020-11-29 08:09:11 +01:00
Zefiro 712d735b17 Revert "Neopixel Dragon extension"
This reverts commit 878ce826bf.
2020-11-29 00:56:16 +01:00
Theo Arends 328e47d66e Fix ESP32 upload progress dots 2020-11-28 18:12:29 +01:00
Theo Arends 765e0e922d Prep for ESP32-C3 ph3 2020-11-28 17:00:15 +01:00
Theo Arends 17e6890809 Prep for ESP32-C3 ph2 2020-11-28 16:39:15 +01:00
Theo Arends 062c96e583
Merge pull request #10004 from effelle/TuyaMCU
TuyaMCU Update 2/3
2020-11-28 16:04:33 +01:00
Federico Leoni ae32549759 TuyaUpdate 2020-11-28 11:49:04 -03:00
Jason2866 db90ad2e46
wrong ota entry for tasmota32.bin 2020-11-28 15:43:49 +01:00
Stephan Hadinger d3bd47718f Zigbee remove debug log 2020-11-28 15:01:43 +01:00
Theo Arends b527ab4d66 Prep for ESP32-C3 ph1 2020-11-28 12:46:17 +01:00
Theo Arends 39b79f9a97 Add all ipaddress info to ipaddress command 2020-11-28 12:19:23 +01:00
Stephan Hadinger 65177935c8 Zigbee fix invalid temperature #9978 2020-11-27 22:53:42 +01:00
Stephan Hadinger 4cc04b7ceb Zigbee `ZbReset 1` also erases EEPROM 2020-11-27 21:47:13 +01:00
Theo Arends b56109d34e
Merge pull request #9996 from Staars/HM10
HM10: do not crash with zero sensors
2020-11-27 18:28:22 +01:00
Theo Arends c783ce445b Add NTP fallback servers x.pool.ntp.org 2020-11-27 18:22:44 +01:00
Staars 26dcf91531 do not crash with zero sensors 2020-11-27 17:39:06 +01:00
Theo Arends 8c9af52f72 Remove spaces 2020-11-27 16:45:25 +01:00
Theo Arends 4b5dbe7a86 Fix reset to defaults after 6 hours of DeepSleep
Fix reset to defaults after 6 hours of DeepSleep (#9993)
2020-11-27 16:43:56 +01:00
Theo Arends c57e79d51f
Merge pull request #9995 from emontnemery/fix_backlog_wrap_around
Fix wraparound bug in backlog
2020-11-27 15:31:29 +01:00
Erik aa12879356 Fix wraparound bug in backlog 2020-11-27 14:43:45 +01:00
Theo Arends 22fe64e265
Merge pull request #9992 from Staars/HM10
HM10: ports from MI32 to HM10
2020-11-27 13:42:23 +01:00
Federico Leoni 866b286bb8
HaTasmota: enhanced support for shutters 2020-11-27 09:05:45 -03:00
Staars f53ac70013 ports from MI32 to HM10 2020-11-27 11:48:02 +01:00
s-hadinger e899e01eef
Merge pull request #9989 from s-hadinger/zigbee_last_seen_grey
Zigbee UI change color of last seen depending on age
2020-11-26 20:45:53 +01:00
Stephan Hadinger f153086b7d Zigbee UI change color of last seen depending on age 2020-11-26 19:27:13 +01:00
Adrian Scillato f1f94eb30b
Update Spanish Translation 2020-11-26 15:14:46 -03:00
Paul C Diem b0fb9090bc Support rules that override button holds 2020-11-26 10:36:43 -06:00
Adrian Scillato 2721444af0
Fix HA Discovery Issue with Uninitialized Sensors 2020-11-26 10:08:31 -03:00
Jason2866 b641216198 minicustom 2020-11-26 09:49:24 +01:00
Paul C Diem 43ca3cc73a Check SO88 to use separate DGR 2020-11-25 16:17:18 -06:00
Paul C Diem 1b437e5aad Make light send/receive to/from relay dgr 2020-11-25 16:05:42 -06:00
Theo Arends 742171ca5e Add support for multiple WeMo devices
Add support for multiple WeMo devices by Magic73 (#9208)
2020-11-25 18:17:44 +01:00
Theo Arends d57416066d Merge branch 'development' of https://github.com/arendst/Tasmota into development 2020-11-25 17:30:46 +01:00
Theo Arends 3f597001d1 Add support for common anode sevenseg displays
Add support for common anode sevenseg displays by adding ``#define USE_DISPLAY_SEVENSEG_COMMON_ANODE`` by Ken Sanislo (#9963)
2020-11-25 17:30:25 +01:00
Theo Arends 9a91aedfaa
Merge pull request #9963 from ksanislo/development
common anode 7 segment display support
2020-11-25 17:25:09 +01:00
Theo Arends dfd0a0bf74 Refactor and fix TasmotaClient 2020-11-25 15:58:43 +01:00
s-hadinger e4de99eda8
Merge pull request #9972 from s-hadinger/zb_fix_compilation
Fix compilation for CC2530
2020-11-25 15:48:20 +01:00
Stephan Hadinger dd235e32d4 Fix compilation for CC2530 2020-11-25 15:21:18 +01:00
Theo Arends 9433b691a4 Fix ESP32 TasmotaClient firmware upgrade
Fix ESP32 TasmotaClient firmware upgrade (#9218)
2020-11-25 14:58:18 +01:00
Theo Arends 7f581554a9 Fix ESP32 TasmotaClient support 2020-11-25 13:07:04 +01:00
Zefiro 878ce826bf Neopixel Dragon extension 2020-11-25 00:57:46 +01:00
Zefiro de0e2026a7 Fixed typos in comments 2020-11-25 00:57:46 +01:00
Theo Arends e79b1dd248
Merge pull request #9970 from Staars/ccloader
Port of CCLoader as a utility driver
2020-11-24 21:30:34 +01:00
Staars b772ab468d port of CCLoader 2020-11-24 20:29:28 +01:00
Stephan Hadinger 00d7cd1a03 IR fix SAMSUNG_AC 2020-11-24 19:40:03 +01:00
Theo Arends 547e5d9c5d Fix command ``gpio``
Fix command ``gpio`` using non-indexed functions regression from v9.1.0 (#9962)
2020-11-24 15:14:22 +01:00
Stephan Hadinger 8f893234bf Zigbee store devices information in EEPROM 2020-11-24 08:55:50 +01:00
Ken Sanislo df4482fee2 common anode 7 segment display support 2020-11-23 10:53:42 -08:00
Theo Arends 875e4972c0
Merge pull request #9959 from Staars/silence
silence compiler warning
2020-11-23 15:57:09 +01:00
Staars ae53f1ce61 silence compiler warning 2020-11-23 14:33:11 +01:00
Staars 94077cf047 adapt for ESP32 2020-11-23 14:26:41 +01:00
Stephan Hadinger 25fd163e54 Zigbee save data to EEPROM every hour 2020-11-22 18:16:35 +01:00
s-hadinger 9bc5a3c973
Merge pull request #9953 from s-hadinger/zigbee_lumi_plug
Zigbee support for lumi_plug
2020-11-22 17:57:01 +01:00
Stephan Hadinger 54e7f35998 Zigbee support for lumi_plug 2020-11-22 17:38:04 +01:00
Theo Arends f5ad07fe5e Fix ESP32 flashwrites 2020-11-22 17:35:04 +01:00
Stephan Hadinger 6cba04e6e0 Zigbee better support for attribute Reachable 2020-11-22 16:07:09 +01:00
Theo Arends 5defd5e158
Merge pull request #9946 from Staars/ping32
fix ping driver for ESP32
2020-11-22 13:59:16 +01:00
Staars ea7838b719 fix ping driver for ESP32 2020-11-22 12:49:09 +01:00
Theo Arends 453844e965 Update xdrv_02_mqtt.ino 2020-11-22 12:26:05 +01:00
Staars 3f0b879b77 allow negative temperature values 2020-11-22 10:44:02 +01:00
Theo Arends 94166e1dd8
Merge pull request #9940 from vic42/prepare_pr
corrected a mixup of MIME multipart and simple plain text email messages
2020-11-22 09:47:35 +01:00
s-hadinger 4d76b9b5d0
Merge pull request #9938 from s-hadinger/zigbee_fix_lumi_swit
Zigbee fix lumi.switch #9923
2020-11-21 18:19:29 +01:00
Vic 1959291bdd corrected a mixup of MIME multipart and simple plain text email messages 2020-11-21 18:17:46 +01:00
s-hadinger 5b64336db5
Merge branch 'development' into zigbee_eeprom_valid_time 2020-11-21 18:07:48 +01:00
Stephan Hadinger 27c76d3370 Zigbee fix lumi.swit #9923 2020-11-21 17:57:35 +01:00
Stephan Hadinger 92094cd7e3 Zigbee save data to EEPROM only if time is valid 2020-11-21 17:50:35 +01:00
Stephan Hadinger e9b8e0fc8c Fix compilation error with CC2530 2020-11-21 17:48:26 +01:00
Theo Arends 846c24fb5a Fix possible compilation error 2020-11-21 17:21:20 +01:00
Theo Arends 92a9d5cda0 Refactor WebGui fw upgrade 2020-11-21 17:12:17 +01:00
Theo Arends fab5f3ddc3 Refactor GUI fw upgrade 2020-11-21 14:45:58 +01:00
Stephan Hadinger ebb4c18aae Zigbee persistence of device/sensir data in EEPROM (only ZBBridge) 2020-11-21 10:31:27 +01:00
Stephan Hadinger d4e1513f14 Zigbee fix glitch in UI for plugs 2020-11-20 21:28:33 +01:00
Theo Arends d8678d149d Refactor RF Bridge fw upload 2020-11-20 17:51:16 +01:00
bovirus 9a189b077d
Update Italian language 2020-11-20 10:31:46 +01:00
Theo Arends a46e19e3b9
Merge pull request #9922 from barbudor/pr-GpioConvert
comparison should be >=
2020-11-20 09:03:04 +01:00
Barbudor 11ed01983c comparison should be >= 2020-11-20 00:01:48 +01:00
bovirus ebd517d5c4
Update Italian language 2020-11-19 20:42:04 +01:00
Jason2866 a3461c1fe6
Update de_DE.h 2020-11-19 17:24:50 +01:00
Theo Arends a8dea00fce Fix zbbridge compilation 2020-11-19 15:59:19 +01:00
Theo Arends 4d8191d6b0 Refactor file upload 2020-11-19 15:43:47 +01:00
Paul C Diem fb8eb117c4 Fix DevGroupShare mask handling 2020-11-18 13:56:18 -06:00
James Turton b2c239206a Disable SHELLY_VOLTAGE_MON parameter 2020-11-18 08:47:23 +01:00
Stephan Hadinger 4ba458d27d Fix ZbPing invalid JSON 2020-11-17 19:35:06 +01:00
Theo Arends c580a9c387 Refactor MQTT and webserver 2020-11-17 17:15:29 +01:00
Theo Arends 17c94a2b62 Changed MQTT Wifi connection timeout
Changed MQTT Wifi connection timeout from 5000 to 200 mSec (#9886)
2020-11-17 16:44:00 +01:00
Theo Arends cdd89e4f43 Fix ESP32 compilation 2020-11-17 14:07:04 +01:00
Jason2866 2e60eb323c
Update de_DE.h 2020-11-17 12:52:05 +01:00
Jason2866 0242b3c259
Fingerprint reader translation 2020-11-17 12:48:46 +01:00
Theo Arends 92f067af59 Change Shelly Dimmer fw upgrade
Change Shelly Dimmer fw upgrade using WebGUI Firmware Upgrade and file from folder `tools/fw_shd_stm32/`
2020-11-17 12:25:48 +01:00
Theo Arends 8fab895eca
Merge pull request #9892 from Staars/mi32
MI_ESP32: add new commands, add mqtt output
2020-11-17 11:34:03 +01:00
Theo Arends e1963e98dc Breaking change KNX DPT9 to DPT14
- Version bump to 9.1.0.2
- Breaking change KNX DPT9 (16-bit float) to DPT14 (32-bit float) by Adrian Scillato (#9811, #9888)
2020-11-17 10:36:57 +01:00
Staars cf41bc18f4 add new commands, add mqtt output 2020-11-17 09:30:59 +01:00
Adrian Scillato 2e06647ea4
KNX: Added Read reply for Power 2020-11-16 17:55:16 -03:00
Adrian Scillato 246c47d96e
KNX: Change DPT9 to DPT14 for sensors and KnxTX 2020-11-16 15:10:16 -03:00
Theo Arends acf0e79acb Initial support for SHD web gui firmware upload
Initial support for Shelly Dimmer web gui firmware upload when #define SHELLY_FW_UPGRADE2 is enabled. #define SHELLY_FW_UPGRADE must be disabled at that time
2020-11-16 17:39:16 +01:00
s-hadinger ccbf634966
Merge pull request #9882 from s-hadinger/zigbee_TS0601
Zigbee support for Tuya 4 Gang wall switch TS0601
2020-11-16 14:43:09 +01:00
Theo Arends fa3504464e Remove command Wifi Off for ESP8266
Remove command Wifi Off for ESP8266 (#9389)
2020-11-16 13:57:26 +01:00
Stephan Hadinger b160b9de58 Zigbee support for Tuya 4 Gang wall switch TS0601 2020-11-16 11:25:49 +01:00
gemu2015 a8bc50e96b add ili9341-2 2020-11-16 06:35:43 +01:00
Theo Arends b6b35ef86e Add shelly dimmer template info 2020-11-15 16:59:22 +01:00
Theo Arends d5de857a3c
Merge pull request #9874 from gemu2015/sml_update
sml add optional 2 modbus stop bits
2020-11-15 16:22:23 +01:00
Theo Arends 71accc73c1 Fix shelly dimmer energy monitor detection 2020-11-15 16:21:44 +01:00
Theo Arends 92a3c06003 Revert "Sm2135: Fixed power toggling"
This reverts commit b42955bd08.
2020-11-15 16:11:11 +01:00
gemu2015 8feffde365 sml add optional 2 modbus stop bits 2020-11-15 16:09:05 +01:00
Theo Arends 98c92c4721
Merge pull request #9867 from orsonmmz/sm2135_power_fix
Sm2135: fixed power toggling
2020-11-15 14:09:25 +01:00
bovirus cd8dcf60b7
Update Italian language
Translate webcam messages
2020-11-15 12:55:14 +01:00
bovirus 73aa295064
Update Italian language 2020-11-15 12:41:28 +01:00
Maciej Suminski b42955bd08 Sm2135: Fixed power toggling
Condition distinguishing between RGB or CW channel updates in
Sm2135SetChannels() did not work well when power was toggled.

When the device was turned off, RGB values were set to 0, being
interpreted as a CW channel update. Due to that, toggling power
affected only the CW channel and RGB LEDs were always on.
2020-11-15 12:12:36 +01:00
Staars 6fc55c985c silence the last remaining compiler warning 2020-11-15 09:57:23 +01:00
Theo Arends e21df63850
Merge pull request #9858 from barbudor/pr-fix-switchmode_15
Fix switchmode 15 publish old switch state
2020-11-14 21:10:39 +01:00
Barbudor e6acebf638
Fix switchmode 15 publish old switch state
The forced MqttPublishSensor() was send an immediate SENSOR message with the switch's last_state.
So the last_state must be updated before the SENSOR message is sent.
2020-11-14 19:31:38 +01:00
Stephan Hadinger 3e0b1c7d6e Fix USE_4K_RSA define location 2020-11-14 19:19:45 +01:00
Theo Arends c02770ce96 Add support for Shelly Dimmer 1 and 2
Add support for Shelly Dimmer 1 and 2 by James Turton (#9854)
2020-11-14 16:43:32 +01:00
Theo Arends f943d682ba Unable to satisfy compiler 2020-11-14 14:43:08 +01:00
Theo Arends fa9b04cd1b Satisfy compiler 2020-11-14 14:02:15 +01:00
Theo Arends abb56854f5 Update changelog 2020-11-14 13:34:39 +01:00
Theo Arends eab462d2e3
Merge pull request #9850 from rvbglas/development
Delay ESP32 Bluetooth initialization after WiFi init/set sleep mode.
2020-11-14 11:48:53 +01:00
Theo Arends 2ff1188a08
Merge pull request #9849 from s-hadinger/zigbee_zblight_fix
Zigbee fix missing Light attribute in ZbLight
2020-11-14 11:37:31 +01:00
Theo Arends fede2f0d48
Merge pull request #9817 from VergLsm/development
Fixed issue of cannot read data when restart and using Sensor18
2020-11-14 11:37:05 +01:00
Theo Arends 81dc60bf50
Merge pull request #9845 from TheChatty/patch-1
SML: Clean code for NO_OP meter
2020-11-14 11:36:36 +01:00
Roman Bazalevsky b4b87a8d0a Delay ESP32 Bluetooth initialization after WiFi init/set sleep mode. 2020-11-14 13:28:26 +03:00
Stephan Hadinger 825f72cb51 Zigbee fix missing Light attribute in ZbLight 2020-11-14 11:23:43 +01:00
s-hadinger dd8bb39a02
Zigbee ``SetOption116 1`` to disable auto-query of light devices (avoids network storms with large groups) (#9847)
Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2020-11-14 11:15:41 +01:00
TheChatty 53bcfd5ef8
SML: Clean code for NO_OP meter
Removing description for NO_OP meter saves about 80 bytes.
2020-11-14 00:35:21 +01:00
Jason2866 41b1789af2
No MI_ESP32 2020-11-13 20:20:55 +01:00
Jason2866 63d09dcfdd
No MI_ESP32 2020-11-13 20:18:20 +01:00
Theo Arends e356b31322
Merge pull request #9841 from s-hadinger/zigbee_zbleave
Zigbee command ``ZbLeave`` to unpair a device
2020-11-13 19:34:29 +01:00
Theo Arends 4b59b33406
Merge pull request #9840 from Jason2866/patch-7
MI_ESP32 enabled
2020-11-13 19:33:55 +01:00
Jason2866 9f18c21f86
Enable MI_ESP32 by default 2020-11-13 19:29:49 +01:00
Stephan Hadinger 698dd755de Zigbee command ``ZbLeave`` to unpair a device 2020-11-13 19:23:35 +01:00
Jason2866 092139e4c4
MI_ESP32 enabled
in sensors build. BT is enabled in ESP8266 as default too.
2020-11-13 19:01:13 +01:00
s-hadinger 121687088e
Zigbee support more alarms types (#9839)
* Zigbee support more alarms types

* Forgot Fire, and renamed Leak to Water

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2020-11-13 18:55:06 +01:00
Jason2866 0073572f47
Esp32 sleep override not needed
anymore since code does take care now
2020-11-13 17:40:51 +01:00
Theo Arends c1b0a50630 Add info 2020-11-13 17:09:43 +01:00
Theo Arends 203124d678 Add command ``SetOption115 1`` to enable ESP32 MiBle
Add command ``SetOption115 1`` to enable ESP32 MiBle
2020-11-13 17:00:44 +01:00
bovirus b4f728436c
Update Italian language 2020-11-13 16:04:15 +01:00
Theo Arends 29e990dd23 Remove obsolete code 2020-11-13 14:23:16 +01:00
Theo Arends 846da7b6ca Fix GUI MqttUser and MqttPassword updates
Fix GUI MqttUser and MqttPassword updates when TLS is compiled in (#9825)
2020-11-13 13:54:51 +01:00
Stephan Hadinger 5f39d15a84 Zigbee more consistent messages for ZbInfo and ZbLight 2020-11-13 13:32:45 +01:00
Theo Arends 14034ee9d1 Fix KNX buttons, switches and sensors detection
Fix KNX buttons, switches and sensors detection regression from v9.1.0 (#9811)
2020-11-13 11:21:28 +01:00
Theo Arends 9915c9e731 Fixed Telegram group chatid not supported
Fixed Telegram group chatid not supported (#9831)
2020-11-13 09:54:01 +01:00
Stephan Hadinger 5f494b7d8a Remove compiler warnings 2020-11-12 19:38:21 +01:00
Theo Arends bec7a8eb69 Fix ESP8266 compile error 2020-11-12 18:37:01 +01:00
Theo Arends a8e005336e Use valid function for cal_data erase 2020-11-12 17:50:34 +01:00
Theo Arends 979735bb95 Implement ESP32 Reset 3 2020-11-12 17:38:15 +01:00
Theo Arends 0815311e3a Fix one of many warnings 2020-11-12 16:11:32 +01:00
Jason2866 0c89adb435
Enable ESP32 API sleep 2020-11-12 14:32:34 +01:00
Theo Arends 9d71aea622 Make fingerprint error messages optional
Make fingerprint error messages optional saving 0k4 code space
2020-11-12 14:24:36 +01:00
Theo Arends 85e7f07ef4 Move ESP32 APP_NORMAL_SLEEP
Move ESP32 APP_NORMAL_SLEEP to correct location
2020-11-12 11:48:13 +01:00
Theo Arends 12d8b7a3e7
Merge pull request #9815 from Jason2866/patch-1
Use Tasmota ESP32 core 1.0.4.2
2020-11-12 11:29:13 +01:00
VergLsm 2e7fd534e0
Fixed issue of cannot read data when restart and using Sensor18 2020-11-12 14:58:55 +08:00
Theo Arends f041ac80f4
Merge pull request #9814 from Staars/development
MI_ESP32: more secure check, if modem sleep is enabled
2020-11-11 21:31:39 +01:00
s-hadinger 12fddac17c
Fix compilation error (#9816)
* Fix compilation error

* Fix compilation error

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2020-11-11 19:26:38 +01:00
Jason2866 20e027e1a5
ESP32 with BT needs APP_NORMAL_SLEEP 2020-11-11 18:09:16 +01:00
Platformio BUILD 0e8c597f9a Merge remote-tracking branch 'Tasmota/development' 2020-11-11 17:04:04 +00:00
Staars 232fd28514 more secure check, if modem sleep is enabled 2020-11-11 18:02:39 +01:00
Theo Arends 4b6465fd10 Add support for fingerprint sensor
Add support for AS608 optical and R503 capacitive fingerprint sensor
2020-11-11 17:31:48 +01:00
Theo Arends 2c822f948d Fix R503 fingerprint reader support 2020-11-11 16:28:35 +01:00
Theo Arends 5f0f594347 Experimental support for fingerprint reader
Experimental support for fingerprint reader (#9568)
2020-11-11 16:18:09 +01:00
Stephan Hadinger 39b0cf4c56 Zigbee command ``ZbInfo`` and prepare support for EEPROM 2020-11-11 12:09:18 +01:00
Jason2866 996aecf438
add missing AS608 entrys 2020-11-10 15:21:55 +01:00
Theo Arends 3334fe58ed Prep AS608/R503 FIngerprint sensor support 2020-11-10 15:04:45 +01:00
Theo Arends b6b154aae8
Merge pull request #9796 from Staars/mi32
MI_ESP32: prepare for core-stage, fix crash
2020-11-09 21:27:42 +01:00
Staars 10af28842c MI_ESP32: prepare for core-stage 2020-11-09 20:27:11 +01:00
Theo Arends 765215e066 Move Sonoff L1 SrcSwitch to SrcRemote 2020-11-09 17:15:48 +01:00
Theo Arends 371b00823e Change Sonoff L1 color up scaling and color margin detection
Change Sonoff L1 color up scaling and color margin detection (#9545)
2020-11-09 15:04:22 +01:00
Theo Arends 40e58c0702 Allow Sonoff L1 debugging 2020-11-09 13:52:42 +01:00
Stephan Hadinger a1ba1da02b Fix ignore Occupancy timeout 2020-11-09 11:56:29 +01:00
s-hadinger adb9ca7ab6
Merge pull request #9785 from s-hadinger/zigbee_alarm_config
Zigbee alarm config
2020-11-08 18:32:17 +01:00
Stephan Hadinger 6fa2d12188 Zigbee more compact code 2020-11-08 18:17:33 +01:00
Theo Arends 04c7e93a1c Possible fix for auto color change
Possible fix for auto color change Sonoff L1 (#9545)
2020-11-08 18:03:35 +01:00
Theo Arends 84d4362de9 Fix L1 scaleup 2020-11-08 17:49:13 +01:00
Stephan Hadinger 182aabe34d Zigebee add persisence for Alarm config 2020-11-08 17:34:31 +01:00
Paul C Diem 0e181afdd8 Add support for auto SequenceOffset based on Friendly Name or Topic 2020-11-08 08:10:11 -06:00
Roman Bazalevsky 5b730fb5d9 All detected beacons reporing moved from callbacks to loop() to prevent wrong MQTT payload due to race condition between regular jobs and callbacks. 2020-11-08 15:47:07 +03:00
Theo Arends 85612776f6 Add Tuya commands
Add commands ``TuyaRGB``, ``TuyaEnum`` and ``TuyaEnumList`` (#9769)
2020-11-08 12:51:08 +01:00
Dave Russell b3fe696f09 Fix invalid json in zigbee response 2020-11-08 21:12:02 +11:00
Stephan Hadinger 6d0d923163 Use START_VALID_TIME 2020-11-08 09:38:34 +01:00
Theo Arends 2987540e21
Merge pull request #9772 from pcdiem/lp1
Enable light palettes for all light subtypes
2020-11-08 09:17:52 +01:00
Theo Arends ab6d08ada0
Merge pull request #9770 from pcdiem/dgr1
Set light_dimmer on DGR bri changes, Use DGR direct for PWM dimmer
2020-11-08 09:16:00 +01:00
Paul C Diem 0d56b8f231 Enable light palettes for all light subtypes 2020-11-07 21:40:17 -06:00
Paul C Diem a785d7a6ad Set light_dimmer on DGR bri changes, Use DGR direct for PWM dimmer bri changes 2020-11-07 17:37:06 -06:00