Commit Graph

186 Commits

Author SHA1 Message Date
Stephan Hadinger a7577cfefc Esp32 improve PWM inverted 2022-03-08 22:49:12 +01:00
Stephan Hadinger 2652dfc6d4 Fix Hue emulation for Alexa 2022-03-05 18:42:17 +01:00
s-hadinger 945682aa78
Berry virtual Alexa Hue device (#14833)
* Berry virtual Alexa Hue device

* Fix compilation
2022-02-13 22:59:43 +01:00
Stephan Hadinger d1e14e50c8 Berry add light_state class 2022-02-02 22:03:58 +01:00
Stephan Hadinger 539c508918 Increase PWM channels to 16 (Esp32 only) 2022-01-27 21:30:05 +01:00
Stephan Hadinger 522abfbf1f Fix compilation 2022-01-24 23:13:41 +01:00
Stephan Hadinger 8bd6a7eabc Try compiler fix 2022-01-24 23:05:29 +01:00
Stephan Hadinger 532afbaecd PWM auto-phasing for lights by default (new behavior) unless ``SetOption134 1`` 2022-01-24 22:48:57 +01:00
Theo Arends d6fc62e376 Add support for Linkind dimmer
Add support for Linkind dimmer as GPIO ``Option A6`` (#14004)
2022-01-07 16:17:53 +01:00
Theo Arends 84da970ecc
Merge pull request #14017 from tony-fav/dev-DDPLightSchemes
DDP Schemes for Light (5) and WS2812 (15) with USE_NETWORK_LIGHT_SCHEMES
2022-01-07 10:12:47 +01:00
Theo Arends 8943656729 Fixed ESP32 LedPwmMode exception
Fixed ESP32 LedPwmMode exception (#14073)
2021-12-22 16:50:29 +01:00
Theo Arends 9ed8fb717d Add webserver function FUNC_WEB_GET_ARG
- Add webserver function FUNC_WEB_GET_ARG allowing better modular support of web arguments
- Add gui function buttons to LSC MCL
2021-12-15 11:15:30 +01:00
tony-fav 78c7d1a1fe DDP schemes for Light and WS2812 2021-12-12 12:27:00 -05:00
tony-fav 79b534d239 Enable SetOption92 for platforms beyond ESP8266 2021-12-08 13:09:54 -05:00
Theo Arends f2b98f7da3 Add Xdrv function FUNC_BUTTON_MULTI_PRESSED 2021-11-30 14:55:45 +01:00
Paul C Diem fdc37ad276 PWM_DIMMER: fix light fade stop, use dimmer_step 2021-10-09 10:42:32 -05:00
s-hadinger e8b30eadfe
Force PWM reapply after frequency change (#13141)
* Force PWM reapply after frequency change

* Fix compilation is USE_LIGHT is not defined
2021-09-15 19:54:55 +02:00
Paul C Diem c3df8f2704 Set LEDs to max PWM value 2021-08-11 07:32:53 -05:00
Theo Arends 87592582c5
Merge pull request #12380 from emontnemery/color2_tweak
Improve behavior of color2 for unlinked RGBW and RGBWW lights
2021-06-17 09:34:13 +02:00
Erik f2fd0750d5 Improve behavior of color2 for unlinked RGBW and RGBWW lights 2021-06-16 13:37:33 +02:00
Theo Arends 89d99a7851 Fix compile regression 2021-06-13 11:10:52 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
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