Commit Graph

2507 Commits

Author SHA1 Message Date
stefanbode 61b2d8e53e
Update i18n.h 2020-09-09 15:24:55 +02:00
stefanbode 2db18c3e6d
Introduced PWM range for servo shutters 2020-09-09 15:24:21 +02:00
stefanbode 43c9705349
continues optimization 2020-09-09 14:04:57 +02:00
Theo Arends 05c153c7b1 Update change log 2020-09-09 11:22:34 +02:00
Theo Arends 0eb078a5cb Final fix 2020-09-09 10:56:18 +02:00
Theo Arends 9f26068b7d Fix HLW8012 related total energy counters
Fix HLW8012 related total energy counters (#9263, #9266)
2020-09-09 10:49:04 +02:00
Theo Arends ff3d0703d2
Merge pull request #9244 from stefanbode/patch-1
Enhance new shutter modes and code cleanup.
2020-09-09 09:41:13 +02:00
Theo Arends 021ec06553
Update settings.h 2020-09-09 09:40:28 +02:00
stefanbode 60aeeb445f
Editorial changes
- harmonized variable naming
- add more code comments to help others to understand
- SWITCH/PULSE now defined for each shutter.
2020-09-09 08:58:00 +02:00
Stephan Hadinger bef03c69f6 Add ``#define USE_MQTT_AWS_IOT_LIGHT`` for password based AWS IoT authentication 2020-09-08 21:22:52 +02:00
Stephan Hadinger 5eb2434808 Fix crash in `ZbRestore` 2020-09-08 21:10:24 +02:00
stefanbode 72afb15601
Fixes on Stepper + Servo
- fix restart bug on servo
- refactor smooth-ramp for stepper and servo. Now in RTC and much more stable
- increased internal resolution to better work with ramps
- testing, testing, testing....
2020-09-08 19:34:10 +02:00
Theo Arends 5176e3ab02 Bump version to 8.5.0.1 2020-09-07 14:54:31 +02:00
Stephan Hadinger 8d49a4b037 Zigbee fixes 2020-09-06 20:51:20 +02:00
Federico Leoni bac7c6210f
Bugfix and Prep for new Discovery
Correct wrong unsubscribe for HAss lwt, removed the limitation for `Scheme 0` because is not needed anymore.
2020-09-06 14:37:27 -03:00
Theo Arends 201bad3eb0 Prep release 8.5 2020-09-06 18:41:39 +02:00
stefanbode 1c657e86e7
Optimizes ramp 2020-09-06 12:14:29 +02:00
stefanbode c3f04288fa
Update xdrv_27_shutter.ino 2020-09-05 23:35:05 +02:00
bovirus be12a7e0d0
Update Italian language 2020-09-05 21:52:43 +02:00
stefanbode b2b0dfcbfd
Bugfix 2020-09-05 21:07:59 +02:00
stefanbode b7565811db
Adding new shuttermode 2020-09-05 20:45:42 +02:00
stefanbode 68c260d520
Adding 1 byte new shutter mode to set on demand 2020-09-05 20:43:39 +02:00
stefanbode f4190a9609
Update i18n.h
New command
2020-09-05 20:41:08 +02:00
stefanbode 5c7e73f29b
New major Version 2020-09-05 20:39:24 +02:00
Jason2866 5e03ddc8e8
Delete core_esp8266_wiring_pwm.cpp 2020-09-05 18:06:07 +02:00
Jason2866 3c2746892a
Delete core_esp8266_wiring_digital.cpp 2020-09-05 18:05:53 +02:00
Jason2866 f3123a2761
Delete core_esp8266_waveform.h 2020-09-05 18:05:43 +02:00
Jason2866 8c555dd22d
Delete core_esp8266_waveform.cpp 2020-09-05 18:04:11 +02:00
Stephan Hadinger 2a18de5942 Zigbee better support for WSDCGQ01LM variants 2020-09-05 16:33:53 +02:00
Stephan Hadinger 1295370bf1 Zigbee refactor of internal structures 2020-09-05 14:44:31 +02:00
Theo Arends 146eb6654d Refactor gui upload 2020-09-04 12:49:57 +02:00
Theo Arends 10b2fa5596
Merge pull request #9225 from device111/development
AS3935 update DE-language
2020-09-03 20:57:13 +02:00
device111 a9209fa170 Update de_DE.h 2020-09-03 20:54:04 +02:00
device111 23a550cbff AS3935 update DE-language 2020-09-03 20:36:02 +02:00
Theo Arends 423b4c0712 Workaround compilation regression
Workaround compilation regression (#9223)
2020-09-03 20:31:31 +02:00
Stephan Hadinger f8f0f4f616 Reduce memory usage of BackLog 2020-09-03 15:11:14 +02:00
Theo Arends d49997fa01 Fix ESP32 TasmotaClient detection
Fix ESP32 TasmotaClient detection (#9218)
2020-09-03 14:29:08 +02:00
gemu2015 b67c0d129c Update xdsp_08_ILI9488.ino 2020-09-03 12:38:14 +02:00
gemu2015 a7fb362e1c display touch interface unified 2020-09-03 12:26:03 +02:00
Jason2866 4f4f74a545
AS3935 not enabled 2020-09-03 10:48:36 +02:00
Theo Arends 9a65d71ba9
Merge pull request #9221 from device111/development
AS3935 refactor
2020-09-03 10:39:57 +02:00
device111 2e067977b9 Update de_DE.h 2020-09-03 09:39:48 +02:00
device111 994081430c AS3935 Refactor
- Fix Autodisturber
- Fix Event IRQ Flicker when calibrating and on Start up
- Add command `power` on/off
- Add command `noirqevent` (suppress IRQ with no event)
- Add Info Log when no Pin defined
- Add Info Log when SCO and TCO Calibration Fails
- optimize Autotune Caps
- new init procedure (Reset before Start)
- save 128 Bytes of Ram
- update language files
2020-09-03 09:37:10 +02:00
bovirus a5bb8b640c
Update Italian language 2020-09-02 21:53:39 +02:00
Theo Arends 79c52ce1ef Refactor zigbee transfer 2020-09-02 11:45:17 +02:00
Xavier MULLER b4bc001a2a
Update fr_FR.h
v8.4.0.3
 2nd attempt, I made 2 typos, sorry :-/
2020-09-02 01:03:56 +02:00
Adrian Scillato a4380498e8
Updated Spanish Translation 2020-09-01 11:20:36 -03:00
Jason2866 eefbb998ce
Update de_DE.h 2020-09-01 15:00:39 +02:00
Theo Arends 73e49803cc Add better Zigbee firmware Upload Transfer GUI 2020-09-01 13:05:46 +02:00
gemu2015 89f90721be Update xdrv_42_i2s_audio.ino 2020-09-01 07:23:08 +02:00
gemu2015 28b21171a8 support for TTGO ESP32 watch 2020-09-01 07:20:47 +02:00
Theo Arends fd26855fac
Merge pull request #9194 from mhendriks/patch-1
Update xdrv_08_serial_bridge.ino
2020-08-31 09:54:35 +02:00
Paul C Diem 29e0e68e5f Add missing closing brace in DeviceGroupStatus 2020-08-30 17:55:11 -05:00
Stephan Hadinger 92b9e5e2ae Add to my_user_config SetOption 100, 101, 103,104, 105, 106, 107, 109 2020-08-30 15:44:28 +02:00
mhendriks 7ff0f776a6
Update xdrv_08_serial_bridge.ino
serial.swap (GPIO13/15) will not work because hardware_fallback==2 is not set. Now it does.
2020-08-30 12:09:18 +02:00
Theo Arends 77375b3d9c Change thehackbox.org to ota.tasmota.com 2020-08-29 17:50:44 +02:00
Theo Arends 24065fcd27
Merge pull request #9190 from gemu2015/scripter-fix
fix some bugs
2020-08-29 14:30:15 +02:00
gemu2015 fec46e0382 fix some bugs
fix adc() esp32
fix memory leak in https GET
add ttgo watch cmds:
slp(time) deep and light sleep
wdclk get double click
wbut get button state
wtch() get touch state and position
2020-08-29 11:34:00 +02:00
gemu2015 baad93942c fix st7789 touch driver 2020-08-29 11:30:23 +02:00
Stephan Hadinger 643d16ae97 Zigbee fix sequence number for default response 2020-08-28 23:21:00 +02:00
Stephan Hadinger 4deb44ba1d Add Zigbee web ui for power metering plugs 2020-08-28 22:53:34 +02:00
Stephan Hadinger 9d400ac00a Remove unused array. 2020-08-27 19:02:17 +02:00
Stephan Hadinger fa179ee296 Add ``SetOption109 1`` to force gen1 Alexa mode, for Echo Dot 2nd gen devices only 2020-08-27 18:54:53 +02:00
Theo Arends 1d62775ad4
Merge pull request #9175 from emontnemery/hass_fix_rgbww_state
Make hass use white level also for RGBWW lights
2020-08-27 18:06:00 +02:00
Erik 1c66924fc4 Make hass use white level also for RGBWW lights 2020-08-27 17:01:14 +02:00
Theo Arends 6c5fdb4dd4
Merge pull request #9173 from Staars/apds9960
APDS9960: always clear current gesture after handling
2020-08-27 12:30:45 +02:00
Staars 8fbac6bb74 always clear current gesture after handling 2020-08-27 12:06:12 +02:00
device111 3d829a02a9 AHT1x driver: AHT20 support added
- Update support of AHT20 sensor
- refactor some globals anf if's
2020-08-27 11:44:24 +02:00
Theo Arends 73ea5d6ef8 Add comment regarding rounding error 2020-08-26 16:56:40 +02:00
Stephan Hadinger d8f726a0c9 Add Zigbee web ui widget for Lights 2020-08-26 08:56:13 +02:00
s-hadinger e101d08fc0
Merge pull request #9163 from s-hadinger/zigbee_send_def_response
Zigbee support Philips presence sensor
2020-08-25 20:37:07 +02:00
Stephan Hadinger d8eae92091 Zigbee support Philips presence sensor 2020-08-25 19:54:19 +02:00
Stephan Hadinger aa4d8d3d24 Zigbee adding decoder for Aqara door sensor battery 2020-08-25 19:01:24 +02:00
Povl H. Pedersen e5a02772f0
Update xnrg_01_hlw8012.ino
Fix rounding error in kWhtoday_delta calculation. 
At 3.6kW load, hlw_len could be as low as 5, so rounding could make the value 20% off. Multiply hlw_len by 1000 and the dividend a few lines below as well fixes this. With integer math only, dividends should keep precision as long as possible.
2020-08-25 09:33:27 +02:00
Stephan Hadinger ea0901b162 Add Zigbee battery icon 2020-08-24 21:07:03 +02:00
Theo Arends 0f1e4fc917 Add command ``PowerDelta1`` to ``PowerDelta3``
- Bump version to 8.4.0.3
- Add command ``PowerDelta1`` to ``PowerDelta3`` to trigger on up to three phases (#9134)
2020-08-23 18:29:16 +02:00
Theo Arends 6e111477a0
Merge pull request #9151 from s-hadinger/zigbee_28_dev
Sort Zigbee devices in WebUI
2020-08-23 16:27:12 +02:00
Stephan Hadinger f764199177 Zigbee sort devices in WebUI 2020-08-23 16:16:32 +02:00
Theo Arends 7e055d813d
Merge pull request #9105 from mrbig/ads1115_div10
Add support for #Axdiv10 to ADS1115 sensor module
2020-08-23 16:12:30 +02:00
Theo Arends ace6097052 Allow software SPI without hardware SPI 2020-08-23 15:34:19 +02:00
Stephan Hadinger da4e29a14b Merge branch 'zigbee_27_dev' of https://github.com/s-hadinger/Tasmota into zigbee_28_dev 2020-08-23 15:26:49 +02:00
Theo Arends 95cd82a54f
Merge pull request #9150 from s-hadinger/zigbee_27_dev
Zigbee limit friendly name to 32 bytes
2020-08-23 15:26:34 +02:00
Theo Arends ee15bdd5c5
Merge pull request #9130 from kaeltis/patch-1
rename prometheus metric names to match best practice
2020-08-23 15:23:20 +02:00
Stephan Hadinger 83957fae15 Zigbee limit friendly name to 32 bytes 2020-08-23 15:22:36 +02:00
Theo Arends 60a5728bcf
Merge pull request #9149 from s-hadinger/zigbee_26_dev
Zigbee keep 'null' attributes
2020-08-23 15:14:33 +02:00
Stephan Hadinger 7a3fad5a92 Keep 'null' attributes 2020-08-23 14:57:19 +02:00
Theo Arends b698fc8de5 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2020-08-23 12:24:39 +02:00
Theo Arends e2bd24059a Prep update MAX31865 driver 2020-08-23 12:24:35 +02:00
Theo Arends 02fa2665bd
Merge pull request #9147 from hallard/teleinfo
Fix JSON bug with setOption108 0
2020-08-23 11:45:03 +02:00
Charles 8777e33457 Fix JSON bug with setOption108 0
- Fix duplicate code
- Fix serial bug when used GPIO13 as TX in
- Don't display ID on web interface if not found
2020-08-23 11:17:33 +02:00
Theo Arends d7017661ed Fix esp32 compilation error 2020-08-23 09:08:47 +02:00
Stephan Hadinger 85a5e8cf5d Add Zigbee web gui widget for Temp/Humidity/Pressure sensors 2020-08-22 18:40:44 +02:00
Theo Arends ff0654701d Update template comments 2020-08-22 18:25:01 +02:00
Theo Arends 2891628de1
Merge pull request #9142 from blakadder/deviceid
add %DEVICEID% to possible rule variables
2020-08-22 18:05:45 +02:00
Theo Arends 2d8916a9fa Module/Gpio re-design - consolidate internal templates - phase 3
Module/Gpio re-design - consolidate internal templates - phase 3
2020-08-22 18:03:20 +02:00
nicandris 2c7261c48b Add support for Aqara button WXKG11LM 2020-08-22 16:35:35 +02:00
blakadder 10e5ab60e3 add %DEVICEID% to rule variables 2020-08-22 15:43:57 +02:00
Stephan Hadinger dd0a4e8b10 Fix 9140 2020-08-21 19:32:58 +02:00
Nagy Attila Gabor 5f447e38a7 Ads1115 refactoring to avoid code duplication
Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
2020-08-21 15:28:16 +02:00
Nagy Attila Gabor c48e69c945 Ads1115 use the 250ms loop to check for 1% changes
Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
2020-08-21 15:20:30 +02:00
Theo Arends 7d6b7f206b
Merge pull request #9138 from hallard/teleinfo
Added teleinfo base index contract management
2020-08-21 13:38:51 +02:00
Nagy Attila Gabor 1873289581 Add support of #Axdiv10 to ADS1115 sensor module
This way it works the same as the analog sensor module, and examples
from the guide could be applied to this sensor as well.

Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
2020-08-21 13:15:52 +02:00
Charles b3ea5a353c Added base contract management 2020-08-21 12:32:27 +02:00
Stephan Hadinger 4aa757532b Zigbee size optimization 2020-08-20 21:42:36 +02:00
Theo Arends 474fb2518a Update status 13 2020-08-20 17:58:58 +02:00
stefanbode 8f60f0cdb5
Update i18n.h 2020-08-20 16:31:22 +02:00
stefanbode 9a3fe2d0bb
Update support_command.ino 2020-08-20 16:24:17 +02:00
stefanbode 91d2324cfb
Update support.ino 2020-08-20 16:22:40 +02:00
stefanbode 400fa10594
Update xdrv_27_shutter.ino 2020-08-20 16:21:13 +02:00
stefanbode 8d90844297
Create Status line for shutter configuration 2020-08-20 16:04:15 +02:00
Stephan Hadinger 7102d6a279 Zigbee device profile phase 1 2020-08-20 08:25:53 +02:00
Patrick Fruh e41e4d4ca3
update prometheus metric names 2020-08-19 20:57:28 +02:00
Theo Arends f6128bdae3 Revert "Merge pull request #9121 from Jason2866/rc_switch"
This reverts commit b827b6ca20, reversing
changes made to 39ca0d6c72.
2020-08-19 16:40:07 +02:00
Theo Arends 3308b7a995 Module/Gpio re-design - consolidate internal templates - phase 2
Module/Gpio re-design - consolidate internal templates - phase 2
2020-08-19 15:18:33 +02:00
bovirus 8156856503
Update Italian language 2020-08-19 11:28:48 +02:00
Jason2866 79aa858ec3 RCSwitch 2020-08-18 13:40:30 +02:00
Theo Arends 39ca0d6c72 Module/Gpio re-design phase 1 2020-08-18 11:42:48 +02:00
bovirus 5b3f40d008
Update Italian language 2020-08-18 09:56:07 +02:00
Theo Arends 37d4bef412
Merge pull request #9117 from s-hadinger/zigbee_aqara_specific
Keep non-handled `0012/0055` Aqara events
2020-08-18 09:18:20 +02:00
Theo Arends 0e8727830a
Merge pull request #9118 from hallard/teleinfo
Fixed compilation bug due to unimplemented feature in lib_teleinfo
2020-08-18 09:17:42 +02:00
Charles f04c0f8e17 Fixed compilation bug 2020-08-18 09:02:27 +02:00
Stephan Hadinger 97813e6a58 Keep non-handled `0012/0055` Aqara events 2020-08-17 20:31:43 +02:00
Theo Arends 4724fa2c49 Add support for DYP ME007
Add support for DYP ME007 ultrasonic distance sensor by Janusz Kostorz (#9113)
2020-08-17 16:25:24 +02:00
Theo Arends 44e2c6b6a7
Merge pull request #9113 from jkostorz/development
Add support DYP ME007 ultrasonic distance sensor (serial port version)
2020-08-17 15:35:21 +02:00
Theo Arends d048c9328a
Update tasmota_template_ESP32.h 2020-08-17 15:34:38 +02:00
Theo Arends bfc027a638
Merge pull request #9095 from hallard/teleinfo
Teleinfo Added setOption108
2020-08-17 15:24:52 +02:00
Theo Arends b32a440532 Fix display power control
Fix display power control (#9114)
2020-08-17 14:49:24 +02:00
Theo Arends 465ccc2f61 Add compile time control over configuration corruption detection 2020-08-17 14:19:53 +02:00
Janusz Kostorz 3b2d4a7871
Remove new line only 2020-08-17 13:46:08 +02:00
Janusz d0474b5690 add DYP ME007 ultrasonic distance sensor 2020-08-16 22:57:39 +02:00
Janusz 5536e03423 add DYP ME007 ultrasonic distance sensor 2020-08-16 22:49:16 +02:00
Janusz 82c0d746e4 add DYP ME007 ultrasonic distance sensor 2020-08-16 22:46:43 +02:00
Charles c9f8421187 Setoption108 add SerialNumber to topix prefix
optimize code to sed json with response
2020-08-16 20:53:28 +02:00
gemu2015 bdeda7b8f4 i2s webradio support 2020-08-16 16:39:28 +02:00
Charles 30e786c0b8 Merge branch 'teleinfo' of https://github.com/hallard/Tasmota into teleinfo 2020-08-16 11:54:19 +02:00
Charles 7c7545761a Use ResponseAppend_P API 2020-08-16 11:54:16 +02:00
Charles ed08c29ef6
Merge branch 'development' into teleinfo 2020-08-16 10:30:45 +02:00
Theo Arends 26e8a985e7
Merge pull request #9096 from effelle/development
HAss Discovery LWT
2020-08-16 08:09:15 +02:00
Federico Leoni dab1ea9dd3 Fix subscribe/unsubscribe without reboot 2020-08-15 15:23:37 -03:00
Stephan Hadinger d31e720291 Add Virtual CT for 4 channels lights, emulating a 5th channel 2020-08-15 19:24:57 +02:00
gemu2015 51477b0ec5 Update xdrv_42_i2s_audio.ino 2020-08-15 17:38:16 +02:00
gemu2015 34a0650b00 test 2020-08-15 16:11:27 +02:00
gemu2015 45f7898a9e i2s update 2020-08-15 09:03:53 +02:00
gemu2015 9098161c10 Update xdrv_42_i2s_audio.ino 2020-08-15 08:52:56 +02:00
gemu2015 bea43fea18 i2s update for esp32 2020-08-15 08:44:03 +02:00
Federico Leoni 6a40222db9 HAss Discovery LWT 2020-08-14 17:02:55 -03:00
Theo Arends 635e7f5d2e
Merge pull request #9094 from s-hadinger/ping_dns_error
Better error message when domain does not exist
2020-08-14 21:53:25 +02:00
Charles d90d019dcc
Merge branch 'development' into teleinfo 2020-08-14 19:59:22 +02:00
Charles 6e05a247b7 changed setOption103 to setOption108 taken during dev 2020-08-14 19:55:39 +02:00
Charles 6410f9e8d0 add setOption103 stuff 2020-08-14 19:47:13 +02:00