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
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
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