Commit Graph

78 Commits

Author SHA1 Message Date
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
Hadinger 4f74c70270 Add LightPowerIRAM() for rotary interrupt handler 2020-01-03 17:57:47 +01:00
Hadinger 0ab3ba6fab Fix wrong gamma correction for Module 48 lights (PWM5 for CT) 2020-01-02 22:36:27 +01:00
Hadinger 579a76ced6 Fix Improved fade linearity with gamma correction 2020-01-01 16:11:36 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Hadinger 1f57af1d12 More White fixes 2019-12-28 22:59:20 +01:00
Hadinger e089ded193 Fix ``White`` added to light status (#7142) 2019-12-28 22:32:08 +01:00
Hadinger 3f9018658c Better gamma curve 2019-12-28 09:58:30 +01:00
Hadinger e48e5859cd Change Lights: simplified gamma correction and 10 bits internal computation 2019-12-27 21:02:23 +01:00
Hadinger 6ebe7b219b Fix White blend mode #7325 2019-12-26 22:07:29 +01:00
Hadinger 9a7d5346c4 Change Smoother ``Fade`` using 100Hz instead of 20Hz animation (#7179) 2019-12-21 18:26:36 +01:00