Commit Graph

135 Commits

Author SHA1 Message Date
Theo Arends 84fe7b8e76 Bump version to 6.6.0.20
Add command SetOption65 0/1 to disable (1) fast power cycle detection fixing unwanted brownout trigger
2019-10-18 15:18:39 +02:00
Theo Arends c10c057c9b Add max colors for color drivers 2019-10-17 10:45:51 +02:00
Andreas Schultz c858710aef fix pwm multi channel (Option68)
With Option68 enabled, the pwm channels are independent. The channel
setting code was indirectly using setRGB and setCW. Those methods
recalculate the channel values to adjust for brightness, thereby
modifying the channel values.

This change add raw channel set/get methods that do not modify the
channels values and uses those when pwm_multichannel is in effect.
2019-10-15 16:41:43 +02:00
Heiko Krupp a103972a21
Fix typo.
Typo I stumbled over...
2019-10-12 13:27:09 +02:00
Theo Arends 86ffa2d5fe Fix JSON and functionality
Fix JSON and functionality
2019-10-11 11:23:53 +02:00
Theo Arends 3cd6abe0bf
Merge pull request #6606 from shantur/tuya-2-byte-dimmer
Add DimmerRange command and support longer dimmer ranges. Fixes #6605
2019-10-10 22:57:58 +02:00
Stephan Hadinger 111f533a5c Fix Avoid full power on 5 channels after a Reset 2019-10-10 21:44:31 +02:00
Shantur Rathore 01f6df9161 Add DimmerRange command and support longer dimmer ranges. Fixes #6605
More and more serial dimmers are coming up with different dimming ranges, implemented DimmerRange command to make this setting generic and bring support for 2 byte dimming ranges which isn't supported by SetOptions.
2019-10-10 15:53:01 +01:00
Theo Arends 11048137ef Fix TuyaMcu, Armtronix and Ps16dz
Fix TuyaMcu, Armtronix and Ps16dz after Light redesign (#6599)
2019-10-09 16:55:15 +02:00
Theo Arends fd2f204e81 Finish light driver redesign
Finish light driver redesign
2019-10-08 18:05:02 +02:00
Theo Arends 8d17301433 Redesign light driver phase 3
Redesign light driver phase 3
2019-10-08 17:46:03 +02:00
Stephan Hadinger f6416aa2da Fix #6534 Power off not working 2019-10-07 20:30:00 +02:00
Stephan Hadinger 58da51be1c Fix better handling of PWM White Temperature mode for Module 48 (#6534) 2019-10-06 20:34:35 +02:00
Theo Arends 4ff340d368 Redesign light driver phase 2
Redesign light driver phase 2 (#6570)
2019-10-06 18:05:17 +02:00
Theo Arends 019dc76740 Redesign light driver phase 1
Redesign light driver phase 1
2019-10-06 17:19:05 +02:00
Theo Arends 2d194f427f Add support for SM2135
Add support for SM2135 as used in Action LSC Smart Led E14 (#6495)
2019-10-04 16:45:05 +02:00
Stephan Hadinger 902dc6b69c Fix rounding issue when reading Channel value 2019-09-25 17:56:03 +02:00
Theo Arends 38c6254833 Refactor light driver saving code space
Refactor light driver saving code  space
2019-08-17 13:17:30 +02:00
Stephan Hadinger 859156c395 Fix #6247 2019-08-17 11:06:49 +02:00
Stephan Hadinger 1de7abe9f4 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into issue_6191 2019-08-16 18:33:53 +02:00
Stephan Hadinger 4aeaff66aa Fix wrong telemetry message when SetOption68 1 (#6191) 2019-08-16 18:33:41 +02:00
Theo Arends b5f290b4a2 Change display ledtable location from RAM to flash
Change display ledtable location from RAM to flash
2019-08-16 17:29:19 +02:00
Theo Arends 2d0143623d Refactor commands by processing optional prefix
Refactor commands by processing optional prefix
2019-08-11 18:12:18 +02:00
Theo Arends a1a6590715 Make some log messages compile dependant
Make some log messages compile dependant
2019-08-08 17:51:49 +02:00
Theo Arends afb39aa680 Add support for CHIRP soil moisture sensor by Christian Baars
Add support for CHIRP soil moisture sensor by Christian Baars
2019-08-07 12:08:13 +02:00
Stephan Hadinger 81ca44dba2 Add SetOption68 to enable multi-channel PWM instead of a single light (#6134) 2019-08-06 10:57:50 +02:00
Stephan Hadinger a2b8f783c4 Removed float conversion and used changeUIntScale instead 2019-08-05 14:24:50 +02:00
Theo Arends e5ecffe4dd Refactor commands
Refactor commands
2019-08-03 13:01:34 +02:00
Theo Arends c7f810da54 Refactor Light commands
Refactor Light commands
2019-08-01 15:47:00 +02:00
Theo Arends 781cf69933 Add disable option to Width
Add option 0 to Width1 (Marker), Width2 (Second), Width3 (Minute) and Width4 (Hour) disabling display (#6152)
2019-07-31 16:59:12 +02:00
Stephan Hadinger 6f02bad381 Xiaomi Philips brightness (#6091) 2019-07-14 14:10:38 +02:00
Adrian Scillato ff2d2357a9
Fix Scheme 4 (#6038) 2019-07-08 16:00:22 -03:00
Stephan Hadinger eaf5dbd36c Add blend RGB leds with White leds for better whites #5895 #5704 2019-07-07 10:15:50 +02:00
Stephan Hadinger cc60bf0f03 Fix Not restoring white value on power off/power on (#5993) 2019-07-02 22:10:57 +02:00
Theo Arends 1b69502d9b Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 16:44:36 +02:00
Theo Arends 30adce5648 Revert "Code optimization - Change for(uint8_t in for (uint32_t"
This reverts commit 5e1eac3f74.
2019-06-30 15:56:55 +02:00
Theo Arends 5e1eac3f74 Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 15:47:32 +02:00
Theo Arends 12da2fd6f9 Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
2019-06-16 16:43:23 +02:00
Stephan Hadinger 66d372586a Fix channel command for dual dimmers (#5940) 2019-06-12 22:49:22 +02:00
Stephan Hadinger 86d14fe24c Fix #5869 2019-05-29 19:24:47 +02:00
Theo Arends 15098dae68 Fix core 2.5.x ISR not in IRAM exception (#5837)
Fix core 2.5.x ISR not in IRAM exception (#5837)
2019-05-22 10:39:37 +02:00
Theo Arends 763118b626 6.5.0.12 Add support for link LED and four power LEDs
6.5.0.12 20190521
 * Add AriLux RF control GPIO option "ALux IrSel" (159) replacing "Led4i" (59) for full LED control (#5709)
 * Add LED GPIO option "LedLink" (157) and "LedLinki" (158) to select dedicated link status LED (#5709)
 * Add support for up to four LEDs related to four power outputs. Enabled when "LedLink(i)" is configured too (#5709)
 * Add extended LED power control using command LedPowerX where X is 1 to 4. Enabled when "LedLink(i)" is configured too (#5709)
2019-05-21 18:11:39 +02:00
Theo Arends 5515a97be6 Provide function FastPrecisePowf
Provide function FastPrecisePowf
2019-05-18 16:54:29 +02:00
Stephan Hadinger 3c13310664 Replace powf() with FastPrecisePow(), saves 4KB of code 2019-05-18 15:59:40 +02:00
Theo Arends 0b6c62f5f9 Add support for Shelly 1PM Template
Add support for Shelly 1PM Template {"NAME":"Shelly 1PM","GPIO":[56,0,0,0,82,134,0,0,0,0,0,21,0],"FLAG":2,"BASE":18} (#5716)
2019-05-13 18:26:07 +02:00
Stephan Hadinger cfdc553b65 Put back LightSetDimmer, see #5787 2019-05-13 11:27:46 +02:00
Stephan Hadinger 678f3ec35b Fixed: WC/WW were inverted, back to RGBCW 2019-05-08 12:06:22 +02:00
Stephan Hadinger e23f933cde Moved Philips-Xiaomi special handling to a better location 2019-05-05 18:18:20 +02:00
Stephan Hadinger 8144402536 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into fix/better_colormode 2019-05-05 09:19:34 +02:00
Stephan Hadinger 3cff56cdae Improved doc of LightStateClass about invariants 2019-05-05 09:18:57 +02:00