Commit Graph

146 Commits

Author SHA1 Message Date
Theo Arends d8a769bfc5
Merge pull request #10730 from emontnemery/once_off_speed_fade
Add support for once off speed and fade
2021-01-28 17:36:13 +01:00
Erik 1502c08540 Add support for once off speed and fade 2021-01-28 16:41:59 +01:00
Stephan Hadinger a436dd416d Added macro for SO synonyms and MQTT 2021-01-28 09:04:42 +01:00
Theo Arends b4ceb9e5e9 Add light synonyms
Add commands ``ChannelRemap``, ``MultiPWM``, ``AlexaCTRange``, ``PowerOnFade``, ``PWMCT``, ``WhiteBlend``, ``VirtualCT`` as synonyms for ``SetOption37, 68, 82, 91, 92, 105 and 106`` respectively
2021-01-26 14:56:58 +01:00
Theo Arends 44e3a29810 Refactor AddLog usage 2021-01-23 17:24:54 +01:00
Theo Arends efaed8046d Refactor AddLog usage 2021-01-23 16:26:23 +01:00
Stephan Hadinger 2f139d0e47 More PROGMEM 2021-01-18 21:48:04 +01:00
Stephan Hadinger d0b426b505 Disable `USE_LIGHT`` light support for ZBBridge (saves 17.6kb) 2021-01-02 19:26:24 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Stephan Hadinger 2afc18bac2 Fix compilation for TuyaMCU 2020-12-29 19:58:38 +01:00
Stephan Hadinger 488712c3f0 Commands `CTRange` and `VirtualCT` 2020-12-29 19:31:27 +01:00
Theo Arends 7599dab36d Fix Wyze bulb option 2020-12-20 15:25:13 +01:00
Theo Arends dcfb74f457 Support for GPIO option selection
- Support for GPIO option selection
- Gpio ``Option_a1`` enabling PWM1 high impedance if powered off and no fading as used by Wyze bulbs (#10196)
2020-12-20 13:22:01 +01:00
Stephan Hadinger a2e41aa61a Command ``SetOption117 1`` for light fading to be fixed duration instead of fixed slew rate (#10109) 2020-12-14 19:47:10 +01:00
Theo Arends 95362af6e4 Update comments 2020-11-29 15:26:42 +01:00
Theo Arends 8eacb36f71
Merge pull request #9971 from Zefiro/development
Fixed typos in comments
2020-11-29 08:09:11 +01:00
Theo Arends 17e6890809 Prep for ESP32-C3 ph2 2020-11-28 16:39:15 +01:00
Paul C Diem 43ca3cc73a Check SO88 to use separate DGR 2020-11-25 16:17:18 -06:00
Paul C Diem 1b437e5aad Make light send/receive to/from relay dgr 2020-11-25 16:05:42 -06:00
Zefiro de0e2026a7 Fixed typos in comments 2020-11-25 00:57:46 +01:00
Stephan Hadinger 5f494b7d8a Remove compiler warnings 2020-11-12 19:38:21 +01:00
Theo Arends 40e58c0702 Allow Sonoff L1 debugging 2020-11-09 13:52:42 +01:00
Theo Arends 84d4362de9 Fix L1 scaleup 2020-11-08 17:49:13 +01:00
Paul C Diem 0e181afdd8 Add support for auto SequenceOffset based on Friendly Name or Topic 2020-11-08 08:10:11 -06:00
Theo Arends 2987540e21
Merge pull request #9772 from pcdiem/lp1
Enable light palettes for all light subtypes
2020-11-08 09:17:52 +01:00
Paul C Diem 0d56b8f231 Enable light palettes for all light subtypes 2020-11-07 21:40:17 -06:00
Paul C Diem a785d7a6ad Set light_dimmer on DGR bri changes, Use DGR direct for PWM dimmer bri changes 2020-11-07 17:37:06 -06:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
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