Commit Graph

3097 Commits

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