Commit Graph

168 Commits

Author SHA1 Message Date
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
Hadinger 18bc158bc8 Fix Fade would ignore ``savedata 0`` and store to flash anyways (#7262) 2019-12-20 16:01:24 +01:00
Theo Arends 621204e57f Fix WS2812 power control (#7090) 2019-12-02 18:54:08 +01:00
Theo Arends eb1785c559 Tune light schemes 2, 3 and 4 2019-12-02 14:51:28 +01:00
Theo Arends d9e20497da Change light color schemes 2, 3 and 4
Change light color schemes 2, 3 and 4 from color wheel to Hue driven
2019-12-01 18:19:17 +01:00
Theo Arends 8cf2d15ed1 Fix light scheme 4 speed
Fix light scheme 4 speed (#7072)
2019-11-30 17:53:49 +01:00
Theo Arends 1e8c020422
Merge branch 'development' into so68_autopower 2019-11-28 21:33:20 +01:00
Hadinger 211f9da68b auto--power on/off when setting channel to non-zero or zero value, when SetOption68 1 2019-11-28 21:25:11 +01:00
Hadinger 96a0f5b1ff Fix postpone saving settings to flash until Fade is complete, avoids pause in Fade 2019-11-28 21:07:59 +01:00
Theo Arends a76a79a413 Refactor sliders 2019-11-25 15:20:44 +01:00
Hadinger 6af40a2ba3 Multiple fixes in light 2019-11-24 22:19:41 +01:00
Hadinger 62e8c65dc8 Change MIN to MAX 2019-11-24 19:39:57 +01:00
Hadinger f9cf462e59 Fix PMW sleep restored 2019-11-24 19:35:54 +01:00
Hadinger 3b79c1f6bc Change new Fade system much smoother, Speed now up to 40 (#6942, #3714) 2019-11-23 19:18:09 +01:00
Staars 51f6b211cb remove some #ifdef stuff 2019-11-21 19:17:57 +01:00
Staars 9bba95a7cc responsive color update, fix scaling 2019-11-21 18:02:58 +01:00
Staars a1dc8465bb Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into colorpicker 2019-11-21 16:16:34 +01:00
Hadinger d92dd18aff Change minimum sleep to 10 milliseconds 2019-11-20 22:33:35 +01:00
Hadinger 62b213897f Fix Wifi instability when light is on, due to sleep=0 (#6961, #6608) 2019-11-20 21:08:35 +01:00
Staars 56ccbc5216 Web-GUI color picker 2019-11-19 21:22:45 +01:00
Stephan Hadinger 32538507d2 Fix 6887 2019-11-10 11:29:20 +01:00
Theo Arends 6f2123e8ba
Merge pull request #6872 from s-hadinger/color_preserve_CW
Add Keep last channels values when Color command end with '='
2019-11-09 10:16:06 +01:00
Stephan Hadinger ae7120b068 Add Keep last channels values when Color command end with '=' #6799 2019-11-08 20:45:15 +01:00
Stephan Hadinger 0766cb7d92 Fix restore all 5 channels at boot 2019-11-08 19:08:39 +01:00
Theo Arends 4b49979274 Add SetOption comments to code 2019-11-03 13:51:22 +01:00
Theo Arends 5f4e38023d Add SetOption comments to code 2019-11-03 12:33:36 +01:00
Stephan Hadinger bfcd156ee0 Fix wrong Dimmer behavior introduced with #6799 when SetOption37 < 128 2019-11-02 18:32:46 +01:00
Stephan Hadinger a8d0d8a67f Fix better control of RGB/White when SetOption37 >128, added Dimmer1 and Dimmer2 commands 2019-10-31 11:12:00 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00