Commit Graph

3580 Commits

Author SHA1 Message Date
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
thirug010 fce9ae6762 Revert Platformio.ini and user config for PR merge
Revert Platformio.ini and user config for PR merge
2019-05-17 23:50:41 -05:00
thirug010 821dd97e69 Update _changelog.ino 2019-05-17 22:13:04 -05:00
thirug010 d59d631e40 New Tuya Serial Based Devices support
Updated the Code to support most of the new Tuya Serial devices like 4Gang Serail switch, 1 Dimmer + 1 relay, 3 Gang  ...
2019-05-17 22:03:53 -05: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
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
Theo Arends fb77763c45
Merge pull request #5784 from Jason2866/patch-1
Add Bugfix Arduino Core 2.5.1 and use as default
2019-05-13 10:33:52 +01:00
Theo Arends 63f5429d28
Merge pull request #5770 from andreapede/patch-1
Missing the end pointer reference solves #5760
2019-05-13 10:33:16 +01:00
Theo Arends e81c2908f2
Merge pull request #5783 from curzon01/development
decode-config.py: adapt settings
2019-05-13 10:32:27 +01:00
Stephan Hadinger cfdc553b65 Put back LightSetDimmer, see #5787 2019-05-13 11:27:46 +02:00
Jason2866 faa2590e92
Fix 2019-05-11 14:32:35 +02:00
Jason2866 3d08514060
add -DBEARSSL_SSL_BASIC
When using TLS, this flag avoids loading all the Elliptic Curves algorithm, and saves ~45KB of flash. Anyways, Elliptic Curves are far too slow for ESP8266 and the handshake would take more the 5 seconds. With this flag we limit to RSA algorithms which are faster.
Thx for the tipp @s-hadinger
2019-05-11 14:19:54 +02:00
Jason2866 bc211e8c78
Add Bugfix Arduino Core 2.5.1 and use as default
Since bugfix release is still not availible via orig. Platformio Github it is donwloaded via forked source from https://github.com/Jason2866/platform-espressif8266.git#Tasmota
2019-05-11 13:58:23 +02:00