Commit Graph

2553 Commits

Author SHA1 Message Date
Federico Leoni 4e84e33103 Prep for new Hass Discovery 2020-09-18 18:45:58 -03:00
Federico Leoni f6705d6a1a Prep for official Hass Discovery 2020-09-18 18:45:20 -03:00
Theo Arends c5bc053ce6
Merge pull request #9339 from Staars/nrf24
NRF24: add MHOC303 and ATC
2020-09-18 17:57:26 +02:00
Staars d8a4269f80 version correction 2020-09-18 17:51:20 +02:00
Staars aafa31ff8c NRF24: add MHOC and ATC 2020-09-18 17:46:58 +02:00
Theo Arends d34be3009f
Merge pull request #9336 from stefanbode/patch-4
Fix int16 overflow on large open times
2020-09-18 09:15:26 +02:00
Theo Arends a6683900dd
Merge pull request #9220 from DigitalAlchemist/zigbee_last_seen
Add last seen time to zigbee devices
2020-09-18 09:14:04 +02:00
stefanbode ecf9e4ea65
Fix int16 overflow on large open times 2020-09-18 08:31:05 +02:00
gemu2015 e452f85e39 bug fixes and enhancements 2020-09-17 09:11:24 +02:00
Theo Arends eaed13abb5
Merge pull request #9330 from effelle/development
TuyaMCU Update
2020-09-17 08:25:28 +02:00
Justin Monroe 74bfad29e1 Add last seen time to zigbee devices
- Adding last_seen to zigbee devices, and updates to UI to show
  - Adding signal strength icon for LQI, instead of just the number
2020-09-17 00:57:40 +00:00
Federico Leoni 0bca9a2028 TuyaMCU update2
oops
2020-09-16 16:59:10 -03:00
Federico Leoni e45a5f3323 TuyaMCU Update 2020-09-16 15:45:56 -03:00
Stephan Hadinger 27b75e638e Simplified JSON 2020-09-16 20:32:03 +02:00
Theo Arends 83d18068ba
Merge pull request #9322 from halfbakery/c2_programmer_initialization_fix
Fix C2 programmer, incorrect initialization could brick EFM8 MCUs
2020-09-16 09:02:28 +02:00
Staars 06e9c423e6 typo 2020-09-16 08:06:27 +02:00
Staars f0baa04519 MI32: support for ATC custom FW 2020-09-16 08:03:55 +02:00
halfbakery 1418af3f31 Fix C2 programmer, incorrect initialization could brick EFM8 MCUs 2020-09-15 21:49:03 +02:00
Theo Arends f7ae554394 Allow display of date in US format
Allow display of date in US format (#9260)
2020-09-15 12:02:27 +02:00
Theo Arends afd197d493 Add command ``SetOption111 1``
Add command ``SetOption111 1`` to enable frequency output for buzzer GPIO (#8994)
2020-09-15 11:44:09 +02:00
Theo Arends 42ff13518b
Merge pull request #8994 from hello-world-dot-c/development
Adding frequency output mode for buzzer
2020-09-15 11:27:13 +02:00
Theo Arends 119e65748a
Merge pull request #9317 from Staars/nimble102
update NimBLE-Arduino library to 1.0.2
2020-09-15 10:59:03 +02:00
Staars e213461985 needed API changes 2020-09-15 10:46:08 +02:00
Chris Keydel 51688c18ea Merge remote-tracking branch 'remotes/upstream/development' into development 2020-09-15 09:40:36 +02:00
Stephan Hadinger ea85b70685 Zigbee minor improvements 2020-09-14 22:06:19 +02:00
Stephan Hadinger 6eadeb81ea Fix TLS crash 2020-09-14 21:48:32 +02:00
Theo Arends bf115647c3 Prep 8-bit GPIO to 16-bit GPIO change
Prep 8-bit GPIO to 16-bit GPIO change - phase 1
2020-09-14 16:14:58 +02:00
Theo Arends 26e041ab6e Fix reset BMP sensors
Fix reset BMP sensors when executing command ``SaveData`` and define USE_DEEPSLEEP enabled (#9300)
2020-09-14 12:26:32 +02:00
Theo Arends 9aa18c23f0 Add support for MLX90640
Add support for MLX90640 IR array temperature sensor by Christian Baars
2020-09-14 11:49:33 +02:00
Stephan Hadinger b0b35a953d Zigbee minor fixes 2020-09-13 16:11:20 +02:00
Staars 1b56a97298 update to newest version 2020-09-12 19:28:25 +02:00
Staars 9b67090ee8 add I2cDriver53 2020-09-12 19:23:10 +02:00
Staars a62ff5176e add mlx90640 to configs 2020-09-12 19:16:36 +02:00
Staars c46fa48a30 support MLX90640 2020-09-12 19:04:11 +02:00
nicandris a951a38d39 merged together the 2 aqara buttons 2020-09-12 13:10:35 +02:00
nicandris 414cf1f9ac added support for Aqara button WXKG12LM 2020-09-12 12:59:51 +02:00
Stephan Hadinger ecc27aa383 Add Zigbee auto-config when pairing 2020-09-12 10:57:54 +02:00
gemu2015 8468e093fc i2s audio update
save heap memory on esp32 with psram
2020-09-11 15:45:59 +02:00
gemu2015 01ab99f8a1 display fix touch init, some formatting 2020-09-11 15:45:21 +02:00
gemu2015 9afa8a5d4f scripter update
reformatting,
bug fixes,
new options for google charts
formulas in text substitutions  %(formula)%
2020-09-11 15:44:16 +02:00
Chris Keydel cc6a8a1c12 Adding buzzer frequency output again to latest development branch. This should now pass all tests. 2020-09-09 20:00:55 +02:00
stefanbode 15ef20b685
small bug 2020-09-09 16:34:03 +02:00
stefanbode 9b8138f2a0
PWMrange introduced 2020-09-09 16:23:50 +02:00
stefanbode fb59126f98
Update settings.h 2020-09-09 15:27:43 +02:00
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
Jason2866 c9715fa5b2
Merge branch 'development' into patch-1 2020-09-07 19:59:08 +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
Jason2866 cb0df141f4 Squashed commit of the following:
commit 0917b430c3b76e26fad584ddacb1fc389e1b4c36
Author: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Date:   Tue Sep 1 17:13:53 2020 +0200

    Domoticz

commit e878ae5ac4e2b72443598d699f76f1efbe90b5c2
Merge: 77957d70 46789ef4
Author: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Date:   Tue Sep 1 13:24:37 2020 +0200

    Merge pull request #118 from device111/vl53l1x

    VL53L1X correction

commit 46789ef40b6b8a3fbf730ed69712e0790b876075
Author: device111 <48546979+device111@users.noreply.github.com>
Date:   Sun Aug 30 11:41:32 2020 +0200

    Update support_features.ino

commit 8f8720d37e5d81d6c483620a83936b2f5ffd9f43
Author: device111 <48546979+device111@users.noreply.github.com>
Date:   Sun Aug 30 11:36:24 2020 +0200

    VL53L1X correction

    sorry, but i have killed all of my repos..:-(

commit 77957d70435e99bb42b64b39acb7b7a176ecac79
Author: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Date:   Fri Aug 28 13:54:25 2020 +0200

    use registry

commit d85954db35
Author: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Date:   Thu Aug 27 14:43:20 2020 +0200

    No DOMOTICZ

commit e6d763f10b
Merge: 788e4681 6c5fdb4d
Author: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Date:   Thu Aug 27 14:42:29 2020 +0200

    Merge remote-tracking branch 'Tasmota/development' into vl53l1x

commit 788e468145
Merge: 51491df1 33f3f9ef
Author: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Date:   Wed Aug 26 14:50:28 2020 +0200

    Merge remote-tracking branch 'Tasmota/development' into vl53l1x

commit 51491df141
Author: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Date:   Wed Aug 26 14:49:56 2020 +0200

    Real 0x52 is 0x29 in Arduino 7 bit

commit 00dad36b08
Author: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Date:   Mon Aug 24 11:41:11 2020 +0200

    1.01

commit 50e88038c3
Author: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Date:   Sun Aug 23 20:04:47 2020 +0200

    correct support_feature

commit e5baabc41c
Author: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Date:   Sun Aug 23 19:53:15 2020 +0200

    VL53L1X
2020-09-01 17:24:36 +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