Commit Graph

220 Commits

Author SHA1 Message Date
Stephan Hadinger cc60bf0f03 Fix Not restoring white value on power off/power on (#5993) 2019-07-02 22:10:57 +02:00
Theo Arends cc46e2e625 Add support for Sonoff L1 thanks to reef-actor
Add support for Sonoff L1 thanks to reef-actor (#6002)
2019-07-02 10:54:30 +02:00
Stephan Hadinger 15e37ef0bb Change converted double to float in rules, and replaced trigonometric functions from stdlib with smaller versions. 2019-07-01 18:20:43 +02:00
Theo Arends 46210bc9f0 Add command SetOption40 0..250
Add command SetOption40 0..250 to disable button functionality if activated for over 0.1 second. Needs SetOption1 1 and SetOption13 0 (#5449)
2019-06-19 12:37:35 +02:00
Stephan Hadinger 4413a757d8 TLS+AWS IoT optimization for speed, code and memory footprint 2019-06-19 09:49:48 +02:00
Theo Arends 5f3be7ca87 Add define USE_DHT to my_user_config.h to save space in sonoff-basic.bin
Add define USE_DHT to my_user_config.h to save space in sonoff-basic.bin
2019-06-16 17:03:41 +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
Theo Arends 8ed16c15a0 dd using heap when more than 199 IRSend values need to be send. May need increase of define MQTT_MAX_PACKET_SIZE too
dd using heap when more than 199 IRSend values need to be send. May need increase of define MQTT_MAX_PACKET_SIZE too (#5950)
2019-06-12 19:11:21 +02:00
Theo Arends 2b5c691041 6.5.0.16 Refactor TLS and Add visibility toggle to GUI password
6.5.0.16 20190611
 * Refactored TLS based on BearSSL, warning breaking change for fingerprints validation (see doc)
 * Add checkbox to GUI password field enabling visibility during password entry only (#5934)
2019-06-11 14:30:07 +02:00
Stephan Hadinger 006462f17e Refactored TLS based on BearSSL - cleaned 2019-06-10 12:06:03 +02:00
Theo Arends 09dcb93489 Fix Toggle functionality to button double press when one button and two devices are detected
Fix Toggle functionality to button double press when one button and two devices are detected (#5935)
2019-06-09 17:54:13 +02:00
Theo Arends d3eaf7491d Fix exception 9 when syslog is enabled and NTP is just synced
Fix exception 9 when syslog is enabled and NTP is just synced (#5917)
2019-06-09 13:34:14 +02:00
Andre Thomas e7a3a5033c
Update _changelog.ino 2019-06-08 22:28:35 +02:00
Theo Arends 53ecde7637 Add command SetOption65 0/1 and more Tuya Serial based device support
Add command SetOption65 0/1 and more Tuya Serial based device support (#5815)
2019-06-08 11:38:45 +02:00
Theo Arends a7dc6b71ae Add some MQTT housekeeping which might solve issue (#5755)
Add some MQTT housekeeping which might solve issue (#5755)
2019-06-07 18:03:34 +02:00
Theo Arends 6a5ea7a9c6 Add support for AWS IoT with TLS 1.2 on core 2.5.2
Add support for AWS IoT with TLS 1.2 on core 2.5.2
2019-06-06 14:40:59 +02:00
Stephan Hadinger 24dda8e8fe Updated with latest changes and resoved conflits 2019-06-06 13:44:33 +02:00
Theo Arends 073fd5c2cd 6.5.0.15 Change pubsubclient MQTT_KEEPALIVE from 10 to 30 seconds
6.5.0.15 20190606
 * Change pubsubclient MQTT_KEEPALIVE from 10 to 30 seconds in preparation of AWS IoT support
2019-06-06 12:14:04 +02:00
Stephan Hadinger 5c648e8048 Added AWS IoT to changelog 2019-06-05 22:39:11 +02:00
Theo Arends 345a514f7b dd Toggle functionality to button double press when more devices are detected
dd Toggle functionality to button double press when more devices are detected
2019-06-05 15:26:42 +02:00
Theo Arends 164b3aaf11 Add command SetOption39 1..255 to control CSE7766 (Pow R2) or HLW8032 (Blitzwolf SHP5) handling of power loads below 6W
Add command SetOption39 1..255 to control CSE7766 (Pow R2) or HLW8032 (Blitzwolf SHP5) handling of power loads below 6W. Default setting is 128 (#5756)
2019-06-04 17:30:03 +02:00
Theo Arends d0502c1af8 Fix PZem startup issue
Fix PZem startup issue (#5875)
2019-06-02 18:07:54 +02:00
Theo Arends ffd36e0b2d 6.5.0.14 Webserver HTML/Javascript changes
6.5.0.14 20190602
 * Change webserver HTML input, button, textarea, and select name based on id
 * Fix webserver multiple Javascript window.onload functionality
2019-06-02 16:44:02 +02:00
Theo Arends 1b229f5c9b Work-around for Philips Hue emulation issue by using part of MAC address for LightId
Work-around for Philips Hue emulation issue by using part of MAC address for LightId (#5849)
2019-05-31 11:28:47 +02:00
Adrian Scillato 712ea8ec43
Add support to Stage Arduino Core 2019-05-30 18:32:07 -03:00
Stephan Hadinger ad11828e9d Work-around for Philips Hue emulation issue (#5849) 2019-05-30 21:47:19 +02:00
Theo Arends 4e95417db4 Add reset of Energy values when connection to sensor is lost for over 4 seconds
Add reset of Energy values when connection to sensor is lost for over 4 seconds (#5874, #5881)
2019-05-30 12:45:02 +02:00
Stephan Hadinger 74685f1202 Fix #5869 typo 2019-05-29 19:26:42 +02:00
Stephan Hadinger 86d14fe24c Fix #5869 2019-05-29 19:24:47 +02:00
Theo Arends 22663fc10c 6.5.0.13 Add command SetOption38 6..255
6.5.0.13 20190527
 * Add command SetOption38 6..255 to set IRReceive protocol detection sensitivity mimizing UNKNOWN protocols (#5853)
2019-05-27 11:56:14 +02:00
Theo Arends 4d070bfb15 Change default PowerDelta from 80% to 0% on new installations
Change default PowerDelta from 80% to 0% on new installations (#5858, #5028, #4813, #4130, #4145, #3795, #3778, #3660, #3648)
2019-05-24 15:04:48 +02:00
Theo Arends 56615dce4e Add command AdcParam
Add command AdcParam to control ADC0 Temperature and Light formula parameters
2019-05-24 12:28:09 +02:00
Theo Arends dc1bf2ff03 Add support for VL53L0x time of flight sensor. Might interfere with TSL2561 using same I2C address (#5845)
Add support for VL53L0x time of flight sensor. Might interfere with TSL2561 using same I2C address (#5845)
2019-05-22 13:39:26 +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 7204f85a3a Add support for SPS30 Particle sensor thanks to Gerhard Mutz (#5830)
Add support for SPS30 Particle sensor thanks to Gerhard Mutz (#5830)
2019-05-21 10:39:54 +02:00
Theo Arends d599f21758 Add defines USE_EMULATION_WEMO and USE_EMULATION_HUE
* Remove define USE_EMULATION from my_user_config.h (#5826)
 * Add defines USE_EMULATION_WEMO and USE_EMULATION_HUE to my_user_config.h to control emulation features at compile time (#5826)
2019-05-20 15:09:42 +02:00
Theo Arends 9c0bd2a665 Add HX711 weight restore after controlled restart or after power restore just before executing command Sensor34 7 (#5367, #5786)
Add HX711 weight restore after controlled restart or after power restore just before executing command Sensor34 7 (#5367, #5786)
2019-05-19 17:49:00 +02:00
Theo Arends 8c132bd0ff Add rule System#Save executed just before a planned restart
Add rule System#Save executed just before a planned restart
2019-05-19 12:42:10 +02:00
Theo Arends dc3d0aea94 Add initial support for Scripts
Add initial support for Scripts as replacement for Rules. Default disabled but can be enabled in my_user_config.h (#5689)
2019-05-18 13:34:52 +02:00
Theo Arends a777bb6cdf 6.5.0.11 Add command SetOption64 0/1 to switch between "-" or "_" as sensor index separator
6.5.0.11 20190517
 * Add command SetOption64 0/1 to switch between "-" or "_" as sensor index separator impacting DS18X20, DHT, BMP and SHT3X sensor names (#5689)
2019-05-17 14:23:21 +02:00
Theo Arends 6177787744 Revert "6.5.0.11 Change sensor names using a minus"
This reverts commit 61c59fa4b9.
2019-05-17 14:06:36 +02:00
Theo Arends 61c59fa4b9 6.5.0.11 Change sensor names using a minus
6.5.0.11 20190517
 * Add user define INDEX_SEPARATOR to control Sensor Name index character which was fixed to "-" (minus) but is now changed to "_" (underscore) for future support.
 *  This change impacts DS18X20, DHT, BMP and SHT3X sensor names.
2019-05-17 12:07:37 +02:00
Theo Arends 038079a865 Add rule support for single JSON value pair
Add rule support for single JSON value pair like {"SSerialReceived":"on"} by expanding it to {"SSerialReceived":{"Data":"on"}} allowing for trigger SSerialReceived#Data=on (#5638)
2019-05-15 16:31:13 +02:00
Theo Arends e472d3232a Add device OverTemp (>73 Celsius) detection to selected Energy Monitoring devices
* Fix Sonoff Pow R2 / S31 invalid energy increments (#5789)
 * Add device OverTemp (>73 Celsius) detection to any Energy Monitoring device with temperature sensor powering off all outputs
2019-05-14 17:46: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
Theo Arends ad54ece2fb 6.5.0.10 Enable ADC0 by default
6.5.0.10 20190513
 * Enable ADC0 by default in my_user_config.h (#5671)
 * Add user configurable ADC0 to Module and Template configuration compatible with current FLAG options (#5671)
2019-05-13 15:56:01 +02:00
Andrea Pede 09c1b4f5f9
Update _changelog.ino 2019-05-09 12:14:18 +02:00
Stephan Hadinger 9247107f3d Fixed: WC/WW were inverted, back to RGBCW 2019-05-08 12:07:15 +02:00