Commit Graph

88 Commits

Author SHA1 Message Date
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
Theo Arends ddd1f4c379 Return state information when wakeup is complete
Return state information when wakeup is complete (#7583)
2020-01-24 12:48:50 +01:00
Hadinger 514f3e7357 Fix ``RGBWWTable`` ignored (#7572) 2020-01-22 21:37:23 +01:00
Theo Arends 7ea60116cf Document Light commands 2020-01-22 16:14:03 +01:00
Theo Arends fb485dabd3 Add optional parameter <startcolor> to command ``Scheme``
Add optional parameter <startcolor> to command ``Scheme <scheme>, <startcolor>`` to control initial start color
2020-01-22 11:55:48 +01:00
Theo Arends adb2dbbcbd Fix ColorTemp brightness 2020-01-16 14:37:10 +01:00
Theo Arends a6e95211cc Add more web page sliders
Add web page sliders when ``SetOption37 128`` is active allowing control of white(s)
2020-01-16 14:22:39 +01:00
David Gwynne a2c8ea9d65 Make the B or brightness part of the HSBColor command optional
This makes it easier (possible?) to use the HSBColor with hs_command_topic
in Home-Assistant, which in turn allows completely independent control
of the color part of an RGBW or RGBWW bulb.
2020-01-15 22:14:47 +11:00
Hadinger be85d3a060 Fix ``WakeUp <x>`` ignores provided value (#7473) 2020-01-10 20:54:13 +01:00
Theo Arends 7c68d7a754 Improve random color cycle for scheme 4
Improve random color cycle for scheme 4 (#7273)
2020-01-08 17:45:48 +01:00
Theo Arends edf1584431 Improve random color cycle for scheme 4
Improve random color cycle for scheme 4 (#7273)
2020-01-08 16:45:43 +01:00
Hadinger aa665c1439 Add SetOption82 to limit the CT range for Alexa to 200..380 2020-01-04 11:01:44 +01:00