Commit Graph

2363 Commits

Author SHA1 Message Date
gemu2015 e26509f0de Create xsns_44_sps30.ino 2019-05-20 20:12:34 +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 1a6acf5078 Remove redundant call
Remove redundant call
2019-05-20 10:25:49 +02:00
Norbert Richter 0e518084d7 Fix CSE7766 Sensor invalid energy load steps prevention
fixes PR #5793 solution which can async (load overflow) forever until device restart
2019-05-20 08:52:05 +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 25feabb921 Fix Script and Rule System#Save
Fix Script and Rule System#Save
2019-05-19 14:59:07 +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 ef9f0f6453 Fix exception 28 due to regression from 6.5.0.1 (#5822)
Fix exception 28 due to regression from 6.5.0.1 (#5822)
2019-05-19 12:07:20 +02:00
Theo Arends 292efcc358 Update support.ino
Add optional debug info
2019-05-18 19:43:04 +02:00
Theo Arends d6d56618dc Add range test
Add range test
2019-05-18 18:40:13 +02:00
Theo Arends 052cfbc11d Save 1k code space by using TaylorSeries log function
Save 1k code space by using TaylorSeries log function
2019-05-18 18:24:17 +02:00
Theo Arends 5515a97be6 Provide function FastPrecisePowf
Provide function FastPrecisePowf
2019-05-18 16:54:29 +02:00
Theo Arends be7ea38204
Merge pull request #5818 from s-hadinger/fast_pow
Replace powf() with FastPrecisePow(), saves 4KB of code
2019-05-18 16:30:54 +02:00
Theo Arends 866c9c4b1f Clean up code and functionality
Clean up code and functionality
2019-05-18 16:17:05 +02:00
Stephan Hadinger 3c13310664 Replace powf() with FastPrecisePow(), saves 4KB of code 2019-05-18 15:59:40 +02:00
Theo Arends c54bcf4b9a
Merge pull request #5817 from gemu2015/sgp30_compensation
Sgp30 compensation
2019-05-18 15:50:11 +02:00
gemu2015 a866e610bd select pow function 2019-05-18 14:21:43 +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
gemu2015 d40a9b96d7 Update xsns_21_sgp30.ino 2019-05-18 13:27:46 +02:00
gemu2015 1ff821d886 Update xsns_21_sgp30.ino 2019-05-18 13:23:55 +02:00
Theo Arends 520643d17e
Update my_user_config.h
Default disable script for legacy reason
2019-05-18 12:21:09 +02:00
gemu2015 8ab60add17 scripter.md moved 2019-05-18 09:47:49 +02:00
gemu2015 ba41a2ada5 update scripter 2019-05-18 09:45:04 +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 f9ca25755b Add experimental light sensor code to ADC0
Add experimental light sensor code to ADC0. See xsns_02_analog.ino for information.
2019-05-16 18:43:23 +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 68c076147f
Merge pull request #5794 from pzgdiego/patch-1
fix bug with smartconfig
2019-05-15 11:31:52 +02:00
Theo Arends bacb438a98 Update support.ino
Fix I2cValidRead (#2442)
2019-05-14 18:41:54 +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
Diego Pérez 04d48af04e
fix bug with smartconfig
Enables wifi STA mode in order to start SmartConfig correctly
2019-05-14 09:15:43 -04:00
Norbert Richter 9ed9ac6621 CSE7766 Sensor (Sonoff S31/Pow R2) prevent invalid energy load steps
prevent invalid load delta steps even checksum of datastream from CSE is valid (issue #5789)
2019-05-14 12:13:42 +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 1cdc04610e Update xsns_02_analog.ino
Fix KNX compilation
2019-05-13 16:36:17 +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
Theo Arends f9f3e29eab
Merge pull request #5792 from s-hadinger/fix/lightsetdimmer
Put back LightSetDimmer, see #5787
2019-05-13 10:34:25 +01:00
Stephan Hadinger cfdc553b65 Put back LightSetDimmer, see #5787 2019-05-13 11:27:46 +02:00
Andrea Pede 09c1b4f5f9
Update _changelog.ino 2019-05-09 12:14:18 +02:00
Andrea Pede 5b5272e684
Missing the end pointer reference solves #5760
Exiting from the unescape call the content in buffer still contains the original string. The result of unescape elaboration works well, but the rest of the string is still there and in the printf in the main program infact is printed overlapped to the previous content.
TY MauroS for the hint.
2019-05-09 11:26:20 +02:00
Stephan Hadinger 9247107f3d Fixed: WC/WW were inverted, back to RGBCW 2019-05-08 12:07:15 +02:00
Stephan Hadinger 678f3ec35b Fixed: WC/WW were inverted, back to RGBCW 2019-05-08 12:06:22 +02:00
Stephan Hadinger 4cf156cbdc Updated code size for USE_EMULATION 2019-05-07 09:37:10 +02:00
Stephan Hadinger 9478c34ca0 Updated changelog 2019-05-05 18:28:29 +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 4b3c826a0e Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into feature/led_gamma_10_bits 2019-05-04 17:37:05 +02:00
Stephan Hadinger 6e7de3d61a Detailed documentation of Lights calculation flow 2019-05-04 09:40:26 +02:00