Commit Graph

116 Commits

Author SHA1 Message Date
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
Stephan Hadinger dcd10a04cd Better color-mode management for RGB and Warm/Cold LEDs 2019-05-04 23:04:53 +02:00
Stephan Hadinger 6e7de3d61a Detailed documentation of Lights calculation flow 2019-05-04 09:40:26 +02:00
Stephan Hadinger 95ee161a38 Cleaned comment 2019-05-03 20:13:05 +02:00
Stephan Hadinger 2d3065f107 Apply correct Gamma to colw/warm white to keep constand perceived luminosity 2019-05-03 20:10:13 +02:00
Stephan Hadinger bdd522c7d2 Allow full power PWM 2019-05-02 23:08:31 +02:00
Stephan Hadinger ae3d7e0122 PWM using 10 bits resolution, LST_MAX created 2019-05-02 22:50:19 +02:00
Stephan Hadinger e98acd5c40 Changed gamma correction to adaptative resolution from 8 to 11 bits 2019-04-30 23:03:08 +02:00
Stephan Hadinger d878a42a62 Fixed Color was wrongly changing Dimmer 2019-04-29 08:34:43 +02:00
Stephan Hadinger efea6bb794 Fixed CT command returned bad value 2019-04-28 11:33:38 +02:00
Stephan Hadinger 5a52d1f568 Fixed PWM1 always full brightness, and Sonoff Basic / Relay not working 2019-04-27 22:48:51 +02:00
Stephan Hadinger d1b073e01d Tentative for 'xy' color space control from Alexa app (Philips Hue emulation) 2019-04-26 16:39:26 +02:00
Stephan Hadinger 4efef18d5d Fixed wrong brightness for White command 2019-04-25 14:59:39 +02:00
Stephan Hadinger e8dd82f24b Fixed Color2 should not reset Dimmer 2019-04-25 14:50:47 +02:00
Stephan Hadinger 31e80c8c3e Refactored management of lights, using classes and integers instead of floats. 2019-04-25 13:06:35 +02:00
Stephan Hadinger b5860b9b94 Fixed wrong behavior of Alexa app with Philips Hue emulation 2019-04-19 21:39:43 +02:00
Stephan Hadinger 599306a81f Fixed wrong ct results when initializing device 2019-04-18 20:56:18 +02:00
Stephan Hadinger 78ffc3085d Support for color and colortone for Philips Hue emulation via Alexa (#5600 #4809) 2019-04-17 21:21:56 +02:00
Theo Arends f7c30250c1 Change some more defines to const
Change some more defines to const
2019-03-31 11:59:04 +02:00
Theo Arends e1c92b701b Change NULL to nullptr
Change NULL to nullptr
2019-03-26 18:26:50 +01:00