Commit Graph

164 Commits

Author SHA1 Message Date
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00
Erik ee2f3f4737 Save rgb/ct ratio when setting color 2021-05-10 20:36:22 +02:00
Erik 47d1e6f78b Use changeUIntScale when scaling brightness 2021-05-10 20:35:04 +02:00
Erik f148221d19 Allow retaining ratio between white and color channels 2021-05-10 15:01:41 +02:00
Sillyfrog 22cc5da64d Map received CCT channels back in DevGroups 2021-05-08 14:01:57 +10:00
Theo Arends 2f5c20a42f Add more rule triggers 2021-04-07 15:07:05 +02:00
Paul C Diem 550c3b425b Only check device_group_tie if SO88 enabled 2021-03-09 21:33:57 -06:00
David Friedland 84352706e9 support Dimmer < > and / for level move and stop 2021-03-08 22:35:38 -08:00
Theo Arends fd1eb08b6e Refactor fix light scheme related color changes 2021-02-28 15:27:12 +01:00
Theo Arends 947c8ccf0f Fix light scheme related color changes
Fix light scheme related color changes (#11041)
2021-02-28 15:11:29 +01:00
David Friedland c8e13366c6 animate PWM dimmer brightness LEDs during transitions and with variable brightness 2021-02-21 10:19:31 -08:00
Stephan Hadinger 1b79ae59f2 Remove VirtualCT synonym 2021-02-19 16:54:39 +01:00
Erik Montnemery 5459adc5b8
Update xdrv_04_light.ino 2021-02-15 09:06:52 +01:00
Theo Arends 19dc2393fa Add dummy fade2 (#10916) 2021-02-11 16:03:04 +01:00
Paul C Diem 83298b2a9e Rename DevGroupDevice to DevGroupTie 2021-02-09 21:22:43 -06:00
Paul C Diem 60252a9043 Add DGR device map support 2021-02-09 15:10:32 -06:00
Paul C Diem 707e970250 Add no_share_mask support, DevGroupSend channels in hex, AND/OR operators, Use dynamic log buffer 2021-02-08 21:28:59 -06:00
Erik 9a3e5f5474 Merge fade2 with speed2 2021-01-28 21:35:48 +01:00
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