257 Commits

Author SHA1 Message Date
Laurent
4b4b3709ad Introduce Expression in Rules
Support use an expression as paramter in some rule commands, include Var<x>, Mem<x> and Ruletimer<x>.
Expression is constructed by constants (float number), variables (var<x>, mem<x>, Time, Uptime, Sunrise, Sunset),  operators and round brackets.
Currently support 6 operators, order by priority from high to low:
^  (power)
% (modulo)
*, /
+, -
Commands examples:
Var1 3.14 * (MEM1 * (10 + VAR2 ^2) - 100) % 10 + uptime / (2 + MEM2)
Ruletimer4 Time - Sunrise + MEM2/2
2019-02-12 21:46:42 -05:00
Theo Arends
c998760deb Update TasmotaSerial to 2.3.0
Update TasmotaSerial to 2.3.0
2019-02-05 15:05:40 +01:00
Theo Arends
fa5711eaaa Update ArduinoJson to 5.13.4
Update ArduinoJson to 5.13.4
2019-01-09 15:32:43 +01:00
Theo Arends
0b10f48e41 6.4.1.1 Fix most compiler warnings
6.4.1.1 20181224
 * Fix most compiler warnings
2018-12-24 18:14:25 +01:00
Theo Arends
cb0b5f6eab Merge branch 'master' into development 2018-12-16 16:22:04 +01:00
Theo Arends
26d60e5dd7 Updates for release 6.4.0
Updates for release 6.4.0
2018-12-15 17:06:54 +01:00
Theo Arends
fc7c1ac6b7 Updates for release 6.4.0
Updates for release 6.4.0
2018-12-15 15:55:51 +01:00
Adrian Scillato
28edceec1c
Merge pull request #4630 from andrethomas/patch-1
New 2.5.0-2 toolchain does not like uncast bitwise
2018-12-15 11:32:00 -03:00
Andre Thomas
b16c14cecf
Fix NewPing-1.9.1 library.properties
Fix NewPing-1.9.1 library.properties to avoid compiler warning about possibly not supporting ESP8266 whereas we know now that it does. This causes the compiler warning (which may alarm some users unnecessarily) that NewPing claims to run on avr and stm32.
2018-12-15 10:56:35 +02:00
Andre Thomas
cccaf44559
New 2.5.0-2 toolchain does not like uncast bitwise
The new toolchain (2.5.0-2) used from core 2.5.0 does not want bitwise operations to be performed on non-integer variables so we cast the double used in send_2byte_float() to a (long) as it should be.
2018-12-15 10:45:05 +02:00
Adrian Scillato
a75bc93634
Fix Warning in Platformio if building MPU and KNX together 2018-12-10 19:43:19 +00:00
Staars
aab716798a fix compile issue on ESP8266 2018-12-09 09:35:23 +01:00
Winston Ametsitsi
b03c761eee switch to using NewPing lib directly for sr04
add NewPing-1.9.1 lib
2018-11-29 19:45:40 -08:00
Theo Arends
0924dfcfb7 Update IRRemoteESP8266 library
Update IRRemoteESP8266 library from 2.2.1 to 2.5.2
2018-11-20 15:53:56 +01:00
Alexander Savchenko
bf90e60f99 Fujitsu HVAC support 2018-11-19 20:45:37 +02:00
evzone
beb9d0ff84 add IR support to LG wall HVAC systems 2018-11-18 11:35:53 +02:00
Theo Arends
222ec13f80 Rename MPU6050 library
Rename MPU6050 library
2018-11-15 14:41:23 +01:00
Theo Arends
4a21d3270d Restrict hardware serial
Restrict hardware serial
2018-11-07 15:37:06 +01:00
Theo Arends
49acf4a7d3 Add optional hardware serial
* Add optional hardware serial when GPIO13(Rx) and GPIO15(Tx) are selected removing hardware serial from GPIO01(Tx) and GPIO03(Rx) (#4288)
 * Bump TasmotaSerial version from 2.1.0 to 2.2.0
2018-11-06 11:27:19 +01:00
Joel Stein
d6983d268b TasmotaSerial: use Serial.swap to map UART0 to GPIO13 and GPIO15 2018-11-05 07:34:12 +01:00
Joel Stein
e9050be550 TasmotaSerial: fix hardware-serial 2018-11-05 07:13:16 +01:00
Theo Arends
c2f9f5ddbe Updates for release 6.3.0
Update for release 6.3.0
2018-10-26 17:13:17 +02:00
Theo Arends
f2b04092f8 Initial release of RF transceiving
Initial release of RF transceiving using library RcSwitch (#2702)
2018-10-25 18:17:58 +02:00
ascillato
8899bc8390 KNX: Deleted ESPAsyncUDP Library 2018-10-24 14:21:33 -03:00
ascillato
00c99e512b KNX: Updated ESP-KNX-IP Lib to use only WIFIUDP Lib 2018-10-24 14:20:34 -03:00
Adrian Scillato
11da866bce
KNX: Disabling ESPAsyncUDP Library
When using KNX in cores > 2.3.0, the ESPAsyncUDP Library was used instead of the WIFIUDP Library. As now ESPAsyncUDP is no longer mantained and also it does not work in last version of the Arduino STAGE Core, now for all cores KNX will use the WIFIUDP Library.
2018-10-24 12:46:25 -03:00
Theo Arends
9f4fed1584 Update PubSubClient lib
Add delay when waiting for data and flush on disconnect
2018-10-23 17:07:43 +02:00
Theo Arends
2c02532e1c 6.2.1.19 Rename user_config.h
6.2.1.19 20181023
* Fix header file execution order by renaming user_config.h to my_user_config.h
* Fix Arduino IDE compilation warning regarding e-paper library
2018-10-23 15:51:51 +02:00
Theo Arends
0ab43909c3 6.2.1.17 Changes and Adds
6.2.1.17 20181017
 * Enable updated non-blocking PubSubClient as default MQTT client
 * Update TasmotaModbus and TasmotaSerial libraries for support of serial 8N2 communication
 * Add support for Pzem-003/017 DC Energy monitoring module (#3694)
 * Change support for Pzem-014/016 AC Energy monitoring module (#3694)
2018-10-17 12:27:05 +02:00
Theo Arends
04493965e4 Update PubSubClient lib
Replaced PubSubClient library by EspEasy patched non-blocking version saving some 3k5 code space over arduino-mqtt library
2018-10-16 14:15:20 +02:00
Theo Arends
fb6cc194a9 6.2.1.16 Add TasmotaModbus lib
6.2.1.16 20181015
 * Add TasmotaModbus library for very basic modbus wrapper for TasmotaSerial
 * Change xsns_17_senseair.ino to use TasmotaModbus library
 * Fix xnrg_05_pzem2.ino for PZEM-014/016 support using TasmotaModbus library (#3694)
2018-10-15 17:18:30 +02:00
Theo Arends
ace8491d59 Update arduino-mqtt library
Update arduino-mqtt library to 2.4.0
2018-10-11 18:19:52 +02:00
Theo Arends
6cd59d2b3e Forgot the library swap 2018-10-02 17:19:02 +02:00
Theo Arends
821347d707 Release 6.2.0
Release 6.2.0
2018-08-31 15:43:29 +02:00
Theo Arends
19a8113cf4 Revert "Merge branch 'release-6.2' into development"
This reverts commit 433dc8d9d1a50b70d840c49444bf9fd6c6b8194c, reversing
changes made to 6c61cdead71be4346744dc041df5a0045674dab2.
2018-08-28 18:13:14 +02:00
Theo Arends
ea53e930e1 Remove files not to release
Remove files not to release
2018-08-28 16:39:17 +02:00
Adrian Scillato
84a715dc9b
KNX: Automatic Multicast Library Selection 2018-08-27 02:27:41 -03:00
Adrian Scillato
960c2e32fc
KNX: Automatic Multicast Library Selection 2018-08-27 02:26:21 -03:00
Theo Arends
510321f2e1 Change to latest GFX/ILI9341 libs
Change to latest Adafruit GFX and ILI9341 libraries (saves 300 bytes ;-)
2018-08-21 16:28:18 +02:00
Theo Arends
8ac213e99d Fix DisplayRotate
* Fix DisplayRotate
* Increase SSD1306 row count to 16
* Remove redundant Tasmota function from Adafruit ILI9341 library
2018-08-21 14:56:58 +02:00
Theo Arends
b12c8d39d5 Add initial display support
Add initial display support for Lcd, Oled, Matrix, Tft and e-paper - Need more docs
2018-08-18 18:11:22 +02:00
Theo Arends
b031e2f9b4 Updated esp-epaper library
Updated esp-epaper library
2018-08-14 11:26:39 +02:00
Theo Arends
77b1c366fe Add Tasmota supported libraries
Add Tasmota supported libraries
2018-08-14 10:28:47 +02:00
Oliver Welter
06c2ab8229 Added support for MPU6050 gyro sensor 2018-07-28 03:53:51 +02:00
Theo Arends
b7b87f5524 Add CCS811 library version
Add CCS811 library version
2018-07-23 17:25:50 +02:00
gemu2015
d21a04e872 ccs811
completely new from arends/development
2018-07-23 16:27:15 +02:00
Adrian Scillato
29c7e409ee
ESP-KNX-IP Library - Correct invalid keywords.txt KEYWORD_TOKENTYPE 2018-07-22 22:37:22 -03:00
Theo Arends
cc24dd11ce Update TSL2561 library
Remove TSL2561 debug message and update library (#2415)
2018-07-09 12:41:17 +02:00
Theo Arends
d08cefb0df Rewrite BME680 driver
Rewrite BME680 driver now using latest Bosch BME680 library (#2969)
2018-07-04 18:41:00 +02:00
ascillato
b0e979673a Revert "Merge branch 'development' into development"
This reverts commit 3ca69e499b853f59e4a5cd3547ef5612bf394410, reversing
changes made to 7d8495b26325be40ff662b6636d0579a3ed0bbaa.
2018-06-05 18:54:35 -03:00