Commit Graph

215 Commits

Author SHA1 Message Date
Theo Arends 17eb9727a5
Merge pull request #6370 from Leuselator/A4988_Stepper
A4988 stepper
2019-09-08 18:14:07 +02:00
Theo Arends c44765d37f Reduce TasmotaSerial iRam usage
Reduce TasmotaSerial iRam usage for core stage and Pre-2.6 (#6373)
2019-09-08 17:38:13 +02:00
Tim Leuschner fafb837120 removed my changes to platformio&my_user_config, removed the unnessesary digitalwrites in adjustMicrosteps() 2019-09-08 17:30:17 +02:00
Stephan Hadinger 1d58501c49 Change Improve reliability of TasmotaSerial at 115200 bauds and reduce IRAM usage for Stage/pre-2.6 2019-09-08 16:41:31 +02:00
Theo Arends da35643f63 Revert "Merge pull request #6373 from s-hadinger/serial_115200"
This reverts commit a59dea5a74, reversing
changes made to e0b07391c9.
2019-09-08 12:59:32 +02:00
Stephan Hadinger 7dda2fba0e Change Improve reliability of TasmotaSerial at 115200 bauds and reduce IRAM usage for Stage/pre-2.6 2019-09-08 12:07:51 +02:00
Tim Leuschner 4e1480d0f0 works fine... 2019-09-08 03:28:19 +02:00
Tim Leuschner e516262904 ..to be tested 2019-09-07 21:37:01 +02:00
Tim Leuschner 179d74ab08 it compiles... 2019-09-07 20:38:06 +02:00
Tim Leuschner 549fd7d84c . 2019-09-07 14:11:17 +02:00
Tim Leuschner 8350be64a0 . 2019-09-07 14:09:44 +02:00
Tim Leuschner 5eac2dd939 Support Stepper-motors connected to A4988-stepper-driver-circuit 2019-09-07 14:03:07 +02:00
Theo Arends aaf542bf97
Merge pull request #6352 from gemu2015/sendmail
sendmail support
2019-09-05 16:56:30 +02:00
Theo Arends db51e516b6 Fix core 2.3.0 compilation error due to missing std::swap
Fix core 2.3.0 compilation error due to missing std::swap (#6356)
2019-09-05 16:34:03 +02:00
gemu2015 1d92436877 sendmail core 2.3 fix 2019-09-05 11:14:33 +02:00
gemu2015 ca52a38bc1 sendmail 2019-09-04 20:58:17 +02:00
Stephan Hadinger 0757648c84 Fix wrong set of IR protocols with 'sonoff-ircustom' 2019-08-31 14:36:11 +02:00
Stephan Hadinger 2d673d78ef Add 'sonoff-ir' pre-packaged IR-dedicated firmware and 'sonoff-ircustom' to customize firmware with IR Full protocol support 2019-08-30 20:41:01 +02:00
Theo Arends 0c762f7c2a Fix sensors and drivers using TasmotaSerial regression from 6.6.0.8
Fix sensors and drivers using TasmotaSerial regression from 6.6.0.8 (#6320)
2019-08-30 15:58:36 +02:00
Theo Arends a2e250f008 Update NeoPixelBus library to 2.5.0.09
Update NeoPixelBus library to 2.5.0.09 (#6292)
2019-08-29 17:17:59 +02:00
Theo Arends 82151d25a5 Optimize TasmotaSerial lib to lower iram usage
Optimize TasmotaSerial lib to lower iram usage
2019-08-29 14:22:44 +02:00
Stephan Hadinger a10dfcc106 Add ability to change the receive buffer size in TasmotaSerial.
Zigbee needs to receive up to 256 bytes at 115200 baud, which sometimes 
end into a buffer overflow.
No change of the default buffer.
2019-08-27 17:37:56 +02:00
gemu2015 e96bf9af4e updata tasmota serial, add sml driver 2019-08-27 15:33:09 +02:00
gemu2015 8c3c3f1709 display update 2019-08-23 10:26:09 +02:00
Theo Arends 1bd4b1900e Document display libraries
Document display libraries
2019-08-20 12:15:56 +02:00
Theo Arends 5f6a87c7c0 Update libraries and fix SSD1306 power control
Update libraries and fix SSD1306 power control
2019-08-19 18:17:44 +02:00
gemu2015 cb0de03df7 update displays 2019-08-19 13:21:54 +02:00
Theo Arends 039a4f10b5
Merge pull request #6198 from ascillato/patch-1
Update esp-knx-ip library to latest
2019-08-09 16:24:40 +02:00
Stephan Hadinger 54f84ffda4 Catch-up from bearssl-esp8266 2019-08-06 20:14:53 +02:00
Stephan Hadinger a50a6eff61 Change Store AWS IoT Private Key and Certificate in SPI Flash avoiding device-specific compilations 2019-08-04 19:42:21 +02:00
Theo Arends d1314424fd
Merge pull request #6148 from AlbertoLopSie/max31865-pr
Max31865 RTD to Digital support, PT100/PT1000
2019-07-31 09:41:27 +02:00
Alberto Lopez 60198127ba Added Adafruit MX31865 Library to Repo
Added a #define to compensate for low quality PTD probes
2019-07-29 17:54:28 -03:00
Stephan Hadinger 372aecd353 Upgrade library IRRemoteEsp8266 to 2.6.4, now using sendPioneer() 2019-07-29 09:28:40 +02:00
Alberto Lopez c2ad3d8264 Initial commit
Working fine with MAX3165 and a PT100 probe.

Using a modified version of Adafruit MAX31865 library. Added a default
constructor in order to allow lazy initialization once GPIO definitions
were loaded.

Tested on a Sonoff TH PCB Board 2.1 2018-06-15 using the following GPIO
mapping:

GPIO	Orig Func	SSPI	I/O	HEADER	HEADER2	S-JACK
 15	BOOT MODE 	CLK	   O	           1
 14	            MISO	 I		         2	   TIP
  4		          MOSI   O		         3	   RING1
VCC				                1 VCC	     4	   RING3
  2	DBG BOOT 	  ~CS	   O	5 EXP-LOG
GND				                4 GND		         RING2

HEADER2 is a 4-pin .1 header glued in the middle of the PCB to connect
to several GPIO locations on the Sonoff TH PCB.

TODO: Merge with MAX31855 code.
2019-07-27 19:58:17 -03:00
Theo Arends 546653a8f2 Add display features
* Add command DisplayWidth to set pixel width on supported devices
 * Add command DisplayHeight to set pixel height on supported devices
 * Add Oled reset GPIO option "OLED reset"
2019-07-23 14:05:42 +02:00
Theo Arends 3c62507f38 Update Adafruit libraries SSD1306 and GFX
Update Adafruit libraries SSD1306 and GFX
2019-07-23 11:09:07 +02:00
gemu2015 00c2cabb62 scripter update 2019-07-23 07:01:17 +02:00
Theo Arends e8f7db9839 Update default IRsend protocols without impact on code size
Update default IRsend protocols without impact on code size
2019-07-22 18:20:22 +02:00
Theo Arends 81184436f3 Update IRremoteESP8266 library to 2.6.3.10
Update IRremoteESP8266 library to 2.6.3.10
2019-07-21 16:01:43 +02:00
Adrian Scillato 16463ef2d7
Update esp-knx-ip library to latest 2019-07-11 15:29:39 -03:00
Adrian Scillato ea62a8bdf9
esp-knx-ip Lib - Update keyworks file 2019-07-10 17:22:18 -03:00
ascillato e12845b877 Update esp-knx-ip library to latest 2019-07-10 09:52:51 -03:00
Adrian Scillato abdfbb9d22
Update library.properties 2019-07-10 09:45:18 -03:00
Adrian Scillato 1cf2dfe006
Sync to latest esp-knx-ip library 2019-07-10 09:25:05 -03:00
Adrian Scillato ddb606c2b5
Update esp-knx-ip.h 2019-07-10 09:22:00 -03:00
Adrian Scillato 6b52e96f2d
Update KNX Library - Send String 2019-07-09 19:57:29 -03:00
Adrian Scillato 09af192a21
Update esp-knx-ip library. DPT.h 2019-07-09 19:53:01 -03:00
Stephan Hadinger 4413a757d8 TLS+AWS IoT optimization for speed, code and memory footprint 2019-06-19 09:49:48 +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
Theo Arends 9d780519f7 Update PubSubClient library to 2.7+fixes
Update PubSubClient library to 2.7+fixes
2019-05-27 16:36:37 +02:00
Theo Arends 5df4931add Update IRRemote library to 2.6.0
Update IRRemote library from 2.5.2 to 2.6.0
2019-05-27 14:11:01 +02:00
gemu2015 1f17a407c9 add vl53l0x 2019-05-22 13:21:41 +02:00
gemu2015 22a4410280 update adafruit sgp30 lib 2019-05-18 14:16:29 +02:00
Theo Arends b800db4bac Update library Joba_Tsl2561 from 2.0.7 to 2.0.10
Update library Joba_Tsl2561 from 2.0.7 to 2.0.10
2019-04-18 17:28:56 +02:00
Theo Arends a03c1c90c7 Change disable interrupts during SerialSend from 9600 bps and up (#5528)
Change disable interrupts during SerialSend from 9600 bps and up (#5528)
2019-04-18 10:22:05 +02:00
Theo Arends ca5c3d1eeb 6.4.2.22 Remove support for MQTT_LIBRARY_TYPE
6.4.2.22 20190315
 * Remove support for MQTT_LIBRARY_TYPE, MQTT_ARDUINOMQTT and MQTT_TASMOTAMQTT (#5474)
2019-03-15 14:29:47 +01:00
Theo Arends ef5377e327 Workaround NeoPixelBus STAGE compile error
Workaround NeoPixelBus STAGE compile error
2019-03-15 11:25:02 +01:00
Neel Malik bbc63c2077 preliminary SCD30 support 2019-03-09 17:44:42 -08:00
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 433dc8d9d1, reversing
changes made to 6c61cdead7.
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