Commit Graph

3047 Commits

Author SHA1 Message Date
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
Federico Leoni 345f27bf17 Fix_Json 2020-11-07 18:40:43 -03:00
Federico Leoni 61c5e3bc2c TuyaMCU Update 1/3 2020-11-07 18:08:07 -03:00
s-hadinger c01a804108
Merge pull request #9766 from s-hadinger/zigbee_fix_zbbind
Zigbee fix ZbBind
2020-11-07 18:11:02 +01:00
Stephan Hadinger faeeb82bb5 Zigbee fix ZbBind 2020-11-07 17:54:17 +01:00
Theo Arends a4e4101cf1 Update OtaUrl for ESP32 2020-11-07 17:52:56 +01:00
Theo Arends 138ddfb16e Removed version compatibility check
Removed version compatibility check
2020-11-07 15:43:52 +01:00
Theo Arends 53f6e69623
Merge pull request #9762 from s-hadinger/zigbee_ikea_battery_dont_report
Zigbee don't report Battery for IKEA devices
2020-11-07 15:09:04 +01:00
Stephan Hadinger 4e61d99237 Zigbee don't report Battery for IKEA devices 2020-11-07 14:34:23 +01:00
Theo Arends e5dfbb1137 Fix RTC using manual time 2020-11-07 12:42:39 +01:00
Theo Arends e498b28864 Add support for EZO PMP sensors
Add support for EZO PMP sensors by Christopher Tremblay (#9760)
2020-11-07 11:35:33 +01:00
Theo Arends 961db9fa36
Merge pull request #9760 from tichris0/development
Add support for EZO PMP
2020-11-07 11:26:28 +01:00
Theo Arends 780db5271c Update changelog 2020-11-07 11:09:16 +01:00
Christopher Tremblay 959e734924 Add support for EZO PMP
Adds support for EZO Peristaltic pump
2020-11-07 01:41:22 -08:00
Stephan Hadinger 0840b7447d Zigbee support for Mi Door and Contact 2020-11-06 22:24:45 +01:00
s-hadinger bf2788a6fd
Merge pull request #9758 from s-hadinger/zigbee_remove_0x0000_2
Zigbee remove unwanted 0x0000
2020-11-06 22:06:27 +01:00
Stephan Hadinger 8f1b6196d7 Zigbee remove unwanted 0x0000 2020-11-06 21:59:08 +01:00
Stephan Hadinger 32ea8e503d Make TLS resilient to NTP failure 2020-11-06 21:37:38 +01:00
Stephan Hadinger a2b11520fe Fix tls time with new NTP client 2020-11-06 18:27:43 +01:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Theo Arends 488a360d5b Fixed NTP fallback server functionality
Fixed NTP fallback server functionality (#9739)
2020-11-06 15:22:03 +01:00
Andrew Childs b7f90a3080 Fix frequency parsing in raw IRsend 2020-11-06 00:09:51 +09:00
Andrew Childs 4dc937ee7d Remove dead code in IR 2020-11-06 00:08:45 +09:00
Theo Arends cc69244a8f Changed platformio compiler option
Changed platformio compiler option `no target align` enabled for stage
2020-11-05 13:55:17 +01:00
Theo Arends cdf66b6eff Version bump 2020-11-05 13:33:17 +01:00
Theo Arends cc1d80bcb1
Merge pull request #9744 from rvbglas/development
ESP32 BLE beacons scan improvements
2020-11-05 11:35:56 +01:00
Christopher Tremblay c487540201 Bug fix: Incorrect JSON output for EZO FLO
There was a copy/paste mistake in the EZO FLO implementation that this fixes.
2020-11-05 02:16:16 -08:00
Roman Bazalevsky b833b40845 ESP32 BLE beacons scan improvements:
- Scan memory cleanup.
- Device name (if broadcasted) handling (including MQTT messages and Web interface).
- Implicit device state in MQTT messages.
- Removed UUID/MAJOR/MINOR fields (always zeroes) in MQTT messages for MAC-identified beacons.
2020-11-05 12:36:52 +03:00
Theo Arends 655a6ece9a
Merge pull request #9733 from jamesturton/dimmerstep
Add `DimmerStep` command
2020-11-04 19:12:12 +01:00
James Turton c93bfd15bf Updated `CmndDimmerStep()`. 2020-11-04 19:05:19 +01:00
Theo Arends 78196f0391 Removed auto output selection
Removed auto output selection of decimal or hexadecimal data based on user input. Now only based on ``SetOption17``
2020-11-04 17:42:30 +01:00
Theo Arends 8376dd8982 Fix switches 2020-11-04 16:31:53 +01:00
Theo Arends 7915e82cb0 Prep release 9.1 2020-11-04 15:57:40 +01:00
Theo Arends 554f6eff3a
Merge pull request #9732 from rvbglas/development
Initial support for iBeacons (Sensor52) on ESP32 using internal BLE
2020-11-04 15:25:23 +01:00
Christopher Tremblay b5b6b97295 Swapped strstr for strchr where applicable
strstr calls with a single character were changed to strchr which should be more efficient.
2020-11-04 02:20:17 -08:00
James Turton b8abc8300c Allow to be between 1 and 50. 2020-11-04 11:03:11 +01:00
Scoobler 473362cbee Added DimmerStep to allow the change of the Dimmer Auto (+/-) Step value
Signed-off-by: Scoobler <jamienwood@hotmail.com>
2020-11-04 11:01:37 +01:00
Roman Bazalevskiy 180ffaa984 Prevent MQTT spamming - don't repeat messages before IB_TIMEOUT. 2020-11-04 09:10:52 +03:00
Roman Bazalevskiy 18fb79d954 Initial support for iBeacons (Sensor52) on ESP32 using internal BLE module.
Differs from MI32 (Sensor62):

- Dynamically detects beacons, no preset MACs needed
- Reports detected beacon immediately, not on tele period.
2020-11-04 08:50:11 +03:00
Erik Montnemery ae89198218
Correct HASS_DISCOVER_DEVICE 2020-11-03 19:56:25 +01:00
Theo Arends ee8845123a
Merge pull request #9727 from effelle/development
HaTasmota update
2020-11-03 17:09:23 +01:00
Federico Leoni 7fa083fc73 Stupid error fix 2020-11-03 13:03:08 -03:00
Federico Leoni b4b463a73e HaTasmota update 2020-11-03 12:50:08 -03:00
Theo Arends 653adfa1cb Refactor Button Switch MQTT data 2020-11-03 16:24:49 +01:00
Theo Arends 7b68935ae3 Add index to Button and Switch action topics 2020-11-03 16:05:57 +01:00
Theo Arends 9f191d9214 Breaking change when ``SetOption73 1``
Breaking change when ``SetOption73 1`` JSON result from `{"ACTION":"SINGLE"}` to `{"Button1":{"Action":"SINGLE"}}`
2020-11-03 15:42:55 +01:00
Theo Arends 54f9532919 Add command ``SetOption114 1``
Add command ``SetOption114 1`` to detach Swiches from Relays and enable MQTT action state for all the SwitchModes
2020-11-03 14:34:02 +01:00
Theo Arends dfd6080d96
Merge pull request #9725 from effelle/development
New topic for MQTT switches
2020-11-03 14:22:11 +01:00
Federico Leoni b62c422f73 changed topic 2020-11-03 10:18:40 -03:00
Federico Leoni e74fdee05e New topic for MQTT Switches 2020-11-03 10:09:23 -03:00
Christopher Tremblay 7224b414fa Add support for EZO RGB
Adds support for EZO RGB sensor
2020-11-03 03:38:28 -08:00
Theo Arends b91dd9aa5b
Merge pull request #9716 from Staars/mi32
MI_ESP32: small bugfixes and reduced memory usage
2020-11-03 09:25:08 +01:00
Theo Arends d6e0fbf711
Merge pull request #9714 from s-hadinger/zigbee_remove_0x0000
Zigbee fix 0x000 appearing in UI
2020-11-03 09:24:45 +01:00
Theo Arends d9954a2df7
Merge pull request #9721 from effelle/development
Switches: MQTT decoupling and regression fix
2020-11-03 09:23:28 +01:00
Federico Leoni 1e640b0a09 Setting.h missing description 2020-11-02 21:08:07 -03:00
Federico Leoni f7ba0ba95e Switches: MQTT decoupling 2020-11-02 20:44:07 -03:00
Staars 03d02b7b2a bugfixes and reduced memory usage 2020-11-02 19:32:08 +01:00
Stephan Hadinger e2775c54e4 Zigbee fix 0x000 appearing in UI 2020-11-02 18:29:04 +01:00
bovirus 0fdaa653ae
Update of Italian language 2020-11-02 16:05:36 +01:00
Theo Arends cf9b8fe619 Restore status command 2020-11-02 15:21:32 +01:00
Theo Arends b869abb0b6 Fix rule handling of JSON ``null``
Fix rule handling of JSON ``null`` regression from v8.5.0.1 (#9685)
2020-11-02 14:35:19 +01:00
gemu2015 975981fdbf Update xsns_53_sml.ino 2020-11-02 12:36:57 +01:00
gemu2015 70258a28a6 sml update
hardcode descriptor default to no op
better counter debounce
2020-11-02 12:24:39 +01:00
Theo Arends 67bd5daf45 Update changelog 2020-11-02 11:58:23 +01:00
Christopher Tremblay 2af5f61b03 Add support for EZO DO
Add support for EZO Disolved Oxygen sensor
2020-11-02 00:26:35 -08:00
Theo Arends 58461e5554
Merge pull request #9702 from Staars/hm10
HM10: add beacon, better parsing, more
2020-11-02 08:48:10 +01:00
Stephan Hadinger 643675b715 Zigbee code optimization 2020-11-01 22:28:55 +01:00
Staars b3f7cbfa8b add beacon, better parsing, more 2020-11-01 19:31:49 +01:00
Stephan Hadinger d16f3d057c Zigbee refactoring 2020-11-01 19:00:07 +01:00
Erik Montnemery ed8058b3e2
Attempt to fix regression introduced by #9589 2020-11-01 17:52:10 +01:00
Jason2866 e10cbfc81f
No core_version.h in ESP32 stage 2020-11-01 15:24:12 +01:00
Theo Arends db863c4589 Add support for EZO FLO
Add support for EZO FLO sensors by Christopher Tremblay (#9697)
2020-11-01 15:15:10 +01:00
Theo Arends 8896f7af90
Merge pull request #9697 from tichris0/development
Add support for EZO FLO sensor
2020-11-01 14:56:48 +01:00
Theo Arends c2482e9913 Add command ``SwitchText``
Add command ``SwitchText`` to change JSON switch names by barbudor (#9691)
2020-11-01 13:26:35 +01:00
Theo Arends 8338a9cc80 Refactor module change detection 2020-11-01 12:12:27 +01:00
Christopher Tremblay 558034b15f Add support for EZO FLO sensor
Add support for EZO FLO sensor
2020-11-01 01:28:43 -08:00
Stephan Hadinger edad344a13 Code optimization 2020-10-31 19:51:17 +01:00
s-hadinger cfe52e6bd4
Merge pull request #9689 from s-hadinger/zigbee_zboccupancy
Zigbee added ``ZbOccupancy`` command to configure the time-out for PIR
2020-10-31 18:13:23 +01:00
Theo Arends 404e34df36 Fix ESP32 serial issues 2020-10-31 17:53:12 +01:00
Stephan Hadinger e3f4cc94f6 Zigbee added ``ZbOccupancy`` command to configure the time-out for PIR 2020-10-31 17:48:40 +01:00
Theo Arends 57a3e7f88c Fix ESP32 issues 2020-10-31 17:28:33 +01:00
Theo Arends 432051a7ef Fix setting last module 2020-10-31 12:04:28 +01:00
Theo Arends 2c1c7c50d6
Merge pull request #9682 from Jason2866/patch-1
Update de_DE.h
2020-10-31 11:41:54 +01:00
Theo Arends 6b9df5db08
Merge pull request #9679 from bovirus/patch-1
Update Italian language
2020-10-31 11:41:34 +01:00