Commit Graph

2639 Commits

Author SHA1 Message Date
Stephan Hadinger 80d7922977 Zigbee tuya phase 2 2020-10-13 22:45:11 +02:00
Theo Arends 95c0274d59 Fix hlw8012 interrupt use of global vars 2020-10-13 15:55:46 +02:00
Theo Arends d4cacbff05 Fix rotary interrupt use of global vars
- Fix rotary interrupt use of global vars (#9399)
- Decrease direction change timout from 50 to 25 mSecs
2020-10-13 15:14:34 +02:00
hello-world-dot-c 6a3eb8f8ed Fixed typo 2020-10-13 12:19:37 +02:00
hello-world-dot-c a59c56d4b5 Reduce sleep during buzzer cycles to improve on/off period accuracy. 2020-10-13 12:02:44 +02:00
Stephan Hadinger daab6ebbef Minor fixes 2020-10-12 19:35:50 +02:00
Theo Arends 40ad4f7ed0 Final refactor telegram code 2020-10-12 13:44:32 +02:00
stefanbode d3dfe6205c
Prevent crashes on high counter pulse. e.g. AC-Dimmer, Current-Counter...
I had reproducible Hardware Watchdog resets and hangs with the AC-Dimmer, but only if the 100Hz from the main hammered the device. I found this help and change the code. Now the AC-Dimmer is ON for >3days. I assume this change is responsible because it was the only change.
2020-10-12 12:08:40 +02:00
Theo Arends 99e52dcfcd Add Vietnam 2020-10-12 11:53:18 +02:00
genlink c81377c341
Create vi_VN.h
Support Vietnamese Language
2020-10-12 14:36:43 +07:00
Stephan Hadinger 5b25d9cc83 Zigbee support for Tuya Moes devices 2020-10-11 19:41:23 +02:00
Theo Arends 2c6ee9cd95 Refactor telegram 2020-10-11 18:13:13 +02:00
Stephan Hadinger 737e5b260f Fix multipler not applied #9499 2020-10-11 16:31:33 +02:00
Theo Arends 3264acfffe Fix Telegram message decoding error regression from v8.5.0.1 2020-10-11 14:23:56 +02:00
Theo Arends fc04c50674 Convert AdcParam parameters from versions before v9.0.0.2
- Command ``Gpio17`` replaces command ``Adc``
- Command ``Gpios`` replaces command ``Adcs``
2020-10-11 11:31:46 +02:00
Theo Arends 4b6ad8b904 Fix compile error when scripting and shutter is enabled
Fix compile error when scripting and shutter is enabled (#9512)
2020-10-11 10:51:20 +02:00
s-hadinger 3235abd7fb
Merge pull request #9513 from s-hadinger/zbreset_2
Fix compilation error for ZNP
2020-10-10 20:50:11 +02:00
Stephan Hadinger 7c6c059270 Fix compilation error 2020-10-10 20:42:48 +02:00
Theo Arends 5ec972376c Consolidate function RemoveSpace 2020-10-10 17:00:37 +02:00
Theo Arends 89c690c05d Fix ESP32 compilation error 2020-10-10 16:49:36 +02:00
Theo Arends 70d49d210b Remove ctrlchars from mqtt log message 2020-10-10 16:44:35 +02:00
Stephan Hadinger 241843d384 Added `ZbReset 2` 2020-10-10 16:19:37 +02:00
Theo Arends 81cd344beb Fix possible buffer overwrites 2020-10-10 15:42:27 +02:00
Theo Arends b8e55203b6 Fix Thermostat sensor status corruption
Fix Thermostat sensor status corruption regression from 8.5.0.1 (#9449)
2020-10-10 15:19:11 +02:00
Theo Arends 490e7d838e Fix Template using ``#define USER_TEMPLATE``
Fix Template using ``#define USER_TEMPLATE`` (#9506)
2020-10-10 12:20:15 +02:00
Stephan Hadinger 8ffae6ae25 Hue code size optimization 2020-10-09 20:01:13 +02:00
Stephan Hadinger e0b2f75f87 Zigbee code optimization 2020-10-09 19:10:36 +02:00
Theo Arends 08438907ba Refactor webserver 2020-10-09 17:59:42 +02:00
Theo Arends f0bcd6eb3d Move (partly) rewritten CHANGELOG.md to root 2020-10-09 16:40:10 +02:00
Theo Arends f63cef0bbf Add AdcParam support for ADC Button 2020-10-09 11:20:22 +02:00
Theo Arends 05bfb71aa6 Fix ESP32 GPIO16 init 2020-10-09 10:28:17 +02:00
stefanbode f95462f916
Update xdrv_27_shutter.ino
...ongoing
2020-10-09 10:02:43 +02:00
stefanbode ce9ea40166
Update xdrv_27_shutter.ino
optimize logging
2020-10-09 09:58:33 +02:00
stefanbode 5b9c725c6d
Insert hook to rule BEFORE moving
New hook that can guarantee a rule will be executed before the movement starts. Will change documentation:
change "var<shutternumber>" to 99 to enable hook. Create a rule that executes on shutter#moving ONCE and set VARx to 0. Add rule at shutter#moved=1 to set VARx=99 and enable ONCE again.
example:
{"Rule1":"ON","Once":"ON","StopOnError":"OFF","Length":62,"Free":449,"Rules":"on shutter#moving=1 do backlog power3 on;delay 10;var1 0 endon"}
{"Rule2":"ON","Once":"OFF","StopOnError":"OFF","Length":51,"Free":460,"Rules":"on shutter#moved=1 do backlog var1 99;rule1 5 endon"}
2020-10-08 19:55:17 +02:00
Theo Arends d5b8d6ae24 Add support for analog buttons
Add support for analog buttons indexed within standard button range
2020-10-08 18:27:12 +02:00
Federico Leoni 54ebb3d96d Typo 2020-10-08 12:32:02 -03:00
Federico Leoni 9ffd68e71c Meh... 2020-10-08 12:19:39 -03:00
Federico Leoni b5ae50a4d6 Official Integration Update 3 2020-10-08 12:04:52 -03:00
Theo Arends f7369744de
Merge pull request #9497 from pcdiem/pwm5
Add DGR CW/RGBW light fixed color support
2020-10-08 14:50:55 +02:00
Theo Arends e58ac511c9 Decrease number of ApplyTimerOffsets function
Decrease number of ApplyTimerOffsets function (#9489)
2020-10-08 14:49:33 +02:00
Paul C Diem f4894226f7 Add DGR CW/RGBW light fixed color support 2020-10-07 15:06:50 -05:00
Stephan Hadinger 870b560ca8 Add Zigbee ``ZbData`` command for better support of device specific data 2020-10-07 20:04:33 +02:00
stefanbode 5e5590b75a
Update xdrv_27_shutter.ino
Always room for a bug...
2020-10-07 18:01:07 +02:00
Theo Arends e8c1e44069 Add PWMD and IRremote features
- Add PWM dimmer color/trigger on tap, SO88 led, DGR WITH_LOCAL flag by Paul Diem (#9474)
- Add support for stateful ACs using ``StateMode`` in tasmota-ir.bin by Arik Yavilevich (#9472)
2020-10-07 10:07:17 +02:00
Theo Arends 267b5a7175
Merge pull request #9483 from pcdiem/pwm4
Fix up/down tap not publishing tele
2020-10-07 08:53:32 +02:00
Paul C Diem b35c092603 Fix up/down tap not publishing tele 2020-10-06 17:25:13 -05:00
Arik Yavilevich 542f724773 Merge remote-tracking branch 'upstream/development' into development 2020-10-06 18:15:26 +03:00
Arik Yavilevich a22d44f985 implement state mode in a dedicated json field 2020-10-06 18:10:07 +03:00
Theo Arends f9c75d885a Refactor sensor init 2020-10-06 12:20:28 +02:00
Theo Arends 0c90f71e00 Fix ADC initalization sequence
Fix ADC initalization sequence (#9473)
2020-10-06 12:12:14 +02:00