Commit Graph

3441 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
Theo Arends 3078053301
Merge pull request #5828 from curzon01/development
Fix CSE7766 Sensor invalid energy load steps prevention
2019-05-20 09:05:08 +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
gemu2015 22a4410280 update adafruit sgp30 lib 2019-05-18 14:16:29 +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 55ec55c8c9
Merge pull request #5816 from gemu2015/scripter
scripter for Tasmota
2019-05-18 13:01:36 +02:00
gemu2015 cb662637eb Create platformio.ini 2019-05-18 12:59:42 +02:00
Theo Arends 520643d17e
Update my_user_config.h
Default disable script for legacy reason
2019-05-18 12:21:09 +02:00
gemu 6ed2f06193
Delete platformio.ini 2019-05-18 10:50:18 +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 48f45a5e2b
Merge pull request #5811 from Jason2866/patch-1
Update to platformio v.2.1.1
2019-05-17 23:05:23 +02:00
Jason2866 9ae658f886
Update to platformio v.2.1.1
For some platforms esptool flash fails. https://github.com/platformio/platform-espressif8266/issues/149
Fixed in v.2.1.1
2019-05-17 16:49:02 +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 e7c87d85a4
Merge pull request #5802 from Jason2866/patch-1
Update README.md
2019-05-16 11:01:24 +02:00
Jason2866 a8d21827ff
Update README.md
Add contributor Stephan Hadinger
2019-05-15 20:00:02 +02:00
Theo Arends 5262cb2c1a
Merge pull request #5800 from Jason2866/patch-1
Official Platformio release of core 2.5.1
2019-05-15 16:35:47 +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
Jason2866 32f59c462d
Official Platformio release of core 2.5.1
Use official resource of Platformio for core 2.5.1 and delete support for core 2.5.0.
Core 2.5.1 is a bug fix release for core 2.5.0
2019-05-15 14:49:50 +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
Theo Arends 475a73b7ef
Merge pull request #5793 from curzon01/development
CSE7766 Sensor (Sonoff S31/Pow R2) prevent invalid energy load steps
2019-05-14 17:04:31 +02:00
Theo Arends 4c4bb36495
Merge pull request #5795 from Jason2866/patch-1
Update Arduino 2.5.1 files
2019-05-14 17:01:47 +02:00
Jason2866 7f5317c1f0
Delete boards.txt 2019-05-14 16:16:17 +02:00
Jason2866 dc777b48e6
Delete platform.txt 2019-05-14 16:16:06 +02:00
Jason2866 3f99a31ff8
Add files via upload 2019-05-14 16:15:39 +02:00
Jason2866 8c03345ad5
Create platform.txt 2019-05-14 16:13:58 +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