Commit Graph

99 Commits

Author SHA1 Message Date
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
Paul C Diem f4ea26749c Fix fixed color bug introduced by pallete code 2020-04-19 08:19:05 -05:00
Theo Arends 5c43f4c4c2 Fix ESP32 compile error
Fix ESP32 compile error (#8195)
2020-04-16 11:00:56 +02:00
Stephan Hadinger ba20008cd9 Don't apply DimmerRange to CT PWM 2020-04-15 19:42:50 +02:00
Paul C Diem f7d5e2d018 Fix Color<1,2> <index> with palette 2020-04-13 17:55:12 -05:00
Stephan Hadinger cb0f6dd3eb Add ``DimmerRange`` for PWM lights (#8120) 2020-04-13 21:00:52 +02:00
Stephan Hadinger 11117ccc50 Fix Scheme 2-4 brightness when SetOption68 1 (#8058) 2020-04-13 16:49:09 +02:00
Stephan Hadinger 2bfc70f565 Fix Scheme 2-4 brightness when SetOption68 1 (#8058) 2020-04-13 16:47:27 +02:00
Paul C Diem b4f7500a31 Add light palette support 2020-04-12 23:17:25 -05:00
Stephan Hadinger 50217485ec Limit power after reinit 2020-04-10 22:55:21 +02:00
Theo Arends 93fd5dd618 Add experimental minimal support for ESP32
Add experimental minimal support for ESP32 (#8110)
2020-04-10 18:24:08 +02:00
Paul C Diem 2a367512d7 Add DevGroupName command 2020-04-06 12:29:50 -05:00
Stephan Hadinger 34fc92d6ca Add command ``SetOption91 1`` to enable fading at startup / power on 2020-04-06 10:46:17 +02:00
Theo Arends 14030df1f4
Merge pull request #8067 from pcdiem/device-groups-4
Call XdrvCall even for power. Fix devgrp index mask in xdrv_04_light
2020-04-05 08:43:02 +02:00
Paul C Diem cca5b8e35b Call XdrvCall even for power. Fix devgrp index mask in xdrv_04_light 2020-04-04 10:27:40 -05:00
Paul C Diem 1e1fd7aece Handle schemes shared in device groups 2020-04-03 18:24:48 -05:00
Theo Arends e319f4ec40 Refactor light 2020-03-31 17:36:23 +02:00
Theo Arends 39d8011c89 Change light scheme 2,3,4 cycle time
Change light scheme 2,3,4 cycle time speed from 24,48,72,... seconds to 4,6,12,24,36,48,... seconds (#8034)
2020-03-31 17:27:33 +02:00
Paul C Diem 322952a54f Move PWM Dimmer init logic to pre init, Use dimmer_hw_min for PWM, Remote mode fixes 2020-03-14 18:53:09 -05:00
Paul C Diem 243f17585c Send DGR BRI_MIN only if USE_PWM_DIMMER defined 2020-03-13 15:15:38 -05:00
Paul C Diem a72acf37fe Use Light module to manage PWM, Rework multi-button sequences 2020-03-13 12:08:44 -05:00
Paul C Diem 3138d880d0 Add periodic announcement, Raise member timeout to 45s, Fix already acked check 2020-03-12 12:51:54 -05:00
Paul C Diem d16f1a7a0f Add Light skip_light_fade flag and Dimmer3 command, Ignore MCU dimmer changes after sending dimmer command 2020-03-05 18:15:58 -06:00
Paul C Diem b27b18a8e6 Add button press count timeout 2020-02-27 23:38:55 -06:00
Paul C Diem a962662743 Rescale Bri to DimmerRange, Remove BriMin, LedTimeout and PoweredOffLed commands 2020-02-27 13:38:33 -06:00
Paul C Diem c0a5156d8f Initial pwm dimmer support 2020-02-24 07:19:15 -06:00
Paul C Diem f409d7258e Initial device groups support (power and light) 2020-02-21 09:09:21 -06:00
Hadinger 3b61d77680 Fix wrong CT channel for Module 48 2020-02-01 14:23:13 +01:00