Commit Graph

126 Commits

Author SHA1 Message Date
Stephan Hadinger 5f494b7d8a Remove compiler warnings 2020-11-12 19:38:21 +01:00
Theo Arends 40e58c0702 Allow Sonoff L1 debugging 2020-11-09 13:52:42 +01:00
Theo Arends 84d4362de9 Fix L1 scaleup 2020-11-08 17:49:13 +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
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
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
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 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
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
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends 8a703adf84 Use global struct 2020-10-29 16:16:34 +01:00
Theo Arends 4c6fa325ac Fix compile error 2020-10-29 14:41:12 +01:00
Theo Arends f1ac7b2d67 Use global struct 2020-10-28 19:03:39 +01:00
Paul C Diem f075a89d6b Add PWM Dimmer multi-press and ledmask support 2020-10-19 20:12:41 -05:00
Stephan Hadinger daab6ebbef Minor fixes 2020-10-12 19:35:50 +02:00
Paul C Diem f4894226f7 Add DGR CW/RGBW light fixed color support 2020-10-07 15:06:50 -05:00
Paul C Diem d5216091e7 Add PWM Dimmer color change/trigger on tap and SO88 brightness led support. Add DGR WITH_LOCAL flag support. 2020-10-05 15:15:32 -05:00
Theo Arends 1f49daacd3 Fix light wakeup exception 0
Fix light wakeup exception 0 (divide by zero) when ``WakeupDuration`` is not initialised (#9466)
2020-10-05 15:16:43 +02:00
Paul C Diem e3cc5df996 Add PWMDimmerPWMs command, Set brightness LEDs in setBriRGB & setBriCT 2020-10-02 12:40:45 -05:00
Theo Arends 32a2407b19 Revert "Revert "Merge pull request #9391 from s-hadinger/fade_256_dev""
This reverts commit 217addc2bb.
2020-09-27 11:03:29 +02:00
Theo Arends 217addc2bb Revert "Merge pull request #9391 from s-hadinger/fade_256_dev"
This reverts commit 440976c993, reversing
changes made to eb43fd56e3.
2020-09-26 16:28:09 +02:00
Stephan Hadinger 1a9f0bfa33 Change ``WakeUp`` uses 256 steps instead of 100 (#9241) 2020-09-26 11:44:05 +02:00
Stephan Hadinger d31e720291 Add Virtual CT for 4 channels lights, emulating a 5th channel 2020-08-15 19:24:57 +02:00
Theo Arends 1d990ad091 Fix ESP32 PWM range 2020-08-03 11:52:25 +02:00
Theo Arends e1b825ed75 Fix ESP32 PWM resolution calculation 2020-08-02 12:40:15 +02:00
Theo Arends a84ebe552a Refactor rules processing 2020-07-20 17:24:51 +02:00
Theo Arends f3c391b160 Fix GCC 10.1 errors and warnings 2020-07-14 16:21:11 +02:00
Theo Arends 84ee6393a5 Add second rotary support
Add second rotary support default used for CW light control when first rotary is used for RGB light control (#8864)
2020-07-13 15:10:23 +02:00
stefanbode debd2b7562
Update xdrv_04_light.ino 2020-07-07 16:19:26 +02:00
Theo Arends b6495598de Tune rotary encoder color control 2020-06-30 18:00:14 +02:00
Theo Arends 828a64815b Add rotary encoder color control
Add rotary encoder color control when button pressed and postpone flash writes while turning rotary.
2020-06-30 17:48:38 +02:00
Theo Arends e52961b3b4 Add rotary encoder support
- Add rotary encoder support for light dimmer and optional color temperature if button1 still pressed (#8670)
- Fix Mi Desk Lamp brightness control (#8748)
2020-06-30 16:58:36 +02:00
Stephan Hadinger 4a69bb2a13 Fix wrong CT range when Alexa mode #8694 2020-06-24 21:41:04 +02:00
Stephan Hadinger 5427fc937e Fix Dimmer tele inconsistency when SO37 128 2020-06-11 21:14:30 +02:00
Stephan Hadinger 45397293e1 Add Zigbee auto-responder for common attributes 2020-06-03 22:39:04 +02:00
Stephan Hadinger d7bcfefa31 Size code reduction for XY calculations 2020-05-15 22:10:02 +02:00
Paul C Diem 966d3522ad Rework DGR channel update 2020-04-28 00:18:40 -05:00
Paul C Diem b6e62bf715 Only advance to next palette color when fade is down 2020-04-27 22:26:32 -05:00
Theo Arends c939077514 Change pin handling part 3 2020-04-27 12:54:07 +02:00
Theo Arends c9149b53c5 Change pin handling part 1 2020-04-26 17:33:27 +02:00
Theo Arends cc19cc5773
Merge pull request #8257 from dermm/development
Add Option to activate PWM CT mode without select module 48
2020-04-26 10:49:01 +02:00
Paul C Diem 493a124783 Add DGR light sequence support 2020-04-25 17:49:34 -05:00
dermm 809a377154 Add Option to Activate PWM CT mode without select module 48
Hello,

I would like to share with you my extension of the code.
I have some new lamps that have 2 PWM channels that are not classically wired. The first one is for brightness and the other channel is for color temperature.
Tasmota has already integrated the possibility to switch between CWWW and CTBRI. I only built the possibility to set it up manually.

greetings,
Jens

PS: This is my first commit. If I did something wrong, please report it.
2020-04-22 19:43:57 +02:00
Stephan Hadinger a948a8f4b3 Fix wrong setting of free_range after reset or restart (#8120) 2020-04-22 12:13:53 +02:00
Paul C Diem 0f4b85ee51 Add DGR Command item and message logging, Restructure to reduce new code size 2020-04-21 16:33:07 -05:00