Commit Graph

332 Commits

Author SHA1 Message Date
Theo Arends 93fd5dd618 Add experimental minimal support for ESP32
Add experimental minimal support for ESP32 (#8110)
2020-04-10 18:24:08 +02:00
Theo Arends ac7c8c210b Merge branch 'development' into pre-release 2020-04-09 11:54:21 +02:00
Stephan Hadinger eeb7552c54 Change IRremoteESP8266 library updated to v2.7.5 2020-04-09 10:25:50 +02:00
Theo Arends b532430ff8 Merge branch 'development' into pre-release 2020-04-07 10:45:26 +02:00
Staars cefc278bdf update xsns_60_GPS.ino 2020-04-06 19:24:11 +02:00
Theo Arends 4b98e9dfb2 Merge branch 'development' into pre-release 2020-04-05 14:33:47 +02:00
Stephan Hadinger aa0ace3763 Add support for 64x48 SSD1306 OLED (#6740) 2020-03-27 16:38:29 +01:00
Theo Arends e3be05756a Merge branch 'development' into release 2020-03-06 12:18:08 +01:00
Hadinger 4008b9ed3e Change IRremoteESP8266 library updated to v2.7.4 2020-02-29 13:51:16 +01:00
he.so e25f14f37a Jarolift shutter working with keeloq 2020-02-24 19:23:57 +01:00
Theo Arends 8079ee9749 Change MQTT message size
Change MQTT message size with additional 200 characters
2020-02-12 18:00:53 +01:00
Hadinger e26a9fc074 Quick fix for Coolix_AC decoding #7660 2020-02-03 21:26:46 +01:00
Hadinger 97f4924639 Change update IRRemoteESP8266 v2.7.3 2020-02-03 19:41:35 +01:00
Hadinger 330d41a4f1 Sync with latest BearSSL 2020-01-17 17:09:51 +01:00
Hadinger 9d881b9701 Update IRremoteESP8266 lib updated to v2.7.2 2020-01-06 17:27:36 +01:00
Theo Arends 5489c91172
Merge pull request #7394 from Staars/nrf24_PR
BLE-bridge for certain Mijia-Bluetooth-sensors via NRF24L01
2020-01-02 16:28:22 +01:00
to-scho f2b91117cd rc-switch fix and support for Conrad_RS-200 protocol
There is a tiny bug hat prevents the usage for "Conrad RS-200" based devices. The RS-200 protocol does not repeat packets that often. One need already to detect the end of the first packet. The gap between two transmission are not handled right when RF packet is received first time.

a) 1st gap detection fixed
b) Furthermore the "Conrad RS-200" protocol is added.
2020-01-02 14:46:31 +01:00
Staars ee7e9078f0 initial commit 2020-01-01 19:09:20 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Theo Arends 836946763e
Merge pull request #7231 from ascillato/patch-2
PubSubClient: Allow clean disconnection as optional.
2019-12-28 22:02:58 +01:00
Theo Arends 5c9e090ce2 Merge branch 'development' into release 2019-12-23 16:01:41 +01:00
Theo Arends 1b315134da Merge branch 'development' into release 2019-12-17 14:24:30 +01:00
ascillato 1a02f52de9 Add NTP Local Server Library 2019-12-16 23:29:36 -03:00
Adrian Scillato 08032944b2
PubSubClient: Add disconnect type option
Allow clean disconnect as optional.
This avoid the automatic deletion of LWT message in the broker for clean disconnections, in order to let LWT work also on all cases (Restart, Config Changes, etc) See https://github.com/arendst/Tasmota/issues/7189
2019-12-15 16:45:03 -03:00
Adrian Scillato 946f6fd74f
PubSubClient: Add disconnect type option 2019-12-15 16:40:02 -03:00
Adrian Scillato 1761dee63e
KNX: Added Key for using custom settings for KNX 2019-12-10 15:42:44 -03:00
Theo Arends db200e601d Merge branch 'development' into release-7.1 2019-11-28 22:24:09 +01:00
Hadinger 1a76040ebf Update lib IRremoteESP8266 updated to v2.7.1, -2.7k flash and -1.5k RAM for Tasmota-IR 2019-11-25 21:43:39 +01:00
Theo Arends d868c6d7fd Merge branch 'development' into release-7.1 2019-11-18 12:26:53 +01:00
Theo Arends bb567b523c Update PubSubClient.cpp 2019-11-17 17:42:57 +01:00
Theo Arends 2218eef3d0 Merge branch 'development' into release-7.1 2019-11-17 15:14:58 +01:00
Theo Arends ffdc7088d5
Merge pull request #6943 from climberhunt/development
extend Honeywell HPMA library for compact devices
2019-11-16 12:48:34 +01:00
David Hunt fd4e1995bc extend Honeywell HPMA driver for compact devices
The HPMA115C0-xxx is a new series of devices than has a
slightly different (longer) response than the HPMA115S0-xxx

THis patch keeps the same API as the original library and
picks out the PM2.5 and PM10 reading from the new response
format.

The patch also changes a const change to be more in line with
the upstream library for future rebases.

This change has also been merge-requested into the upstream
library.

Signed-off-by: David Hunt <dave@davidhunt.ie>
2019-11-16 11:00:32 +00:00
Theo Arends 58ec01d643 Release 7.1 2019-11-13 11:46:56 +01:00
Stephan Hadinger c062d35e68 Change Kept only NEC/RC5/RC6/HASH IR protocols in standard Tasmota, all other protocols require Tasmota-IR, saving 4K 2019-11-12 22:41:09 +01:00
Markus Bösling 45bb80e5e7 move internal definitions from header to impl 2019-11-09 16:54:33 +01:00
Markus Bösling b86cd702ad remove unused definitions and code 2019-11-09 16:38:23 +01:00
Markus Bösling 3918f79117 add xsns_57_tsl2591 2019-11-08 20:36:59 +01:00
Theo Arends e8b9823e6a Remove obsolete library 2019-11-07 16:47:40 +01:00
David Hunt 5130ac4f78 add support for Honeywell HPMA115S0 particle sensor
The Honeywell HPM Series Particulate Matter Sensor is a
    laser-based sensor which detects and counts particles using
    light scattering.

    This commit adds:
      * The HPMA115S0 library by Felix Galindo
      * selectable GPIOs for Tx and Rx (SoftwareSerial only)
      * xsns_55_hpma.ino for Tasmota sensor implementation

    Signed-off-by: David Hunt <dave@davidhunt.ie>
2019-11-05 22:03:07 +00:00
root fa332f1d3c support for 4096 bits certificates 2019-11-04 15:17:09 +01:00
Stephan Hadinger cb155fd3f9 Reduce flash size after change to IRremoteESP8266 v2.7.0 2019-11-03 16:00:26 +01:00
Stephan Hadinger b33886224f Update IRremoteESP8266 to v2.7.0 2019-11-02 12:21:18 +01:00
Theo Arends 3cd8bc2545 Add SSD1306 64x48 pixel support
Add SSD1306 64x48 pixel support (#6740)
2019-10-30 10:14:16 +01:00
Jason2866 8a46e78e4a
Removed non-ASCII or non-UTF8 characters 2019-10-29 11:27:04 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00
andrethomas 9cede73667 Remove unused library 2019-10-26 22:51:55 +02:00
Theo Arends 24d81d40e7 Merge branch 'development' into release-6.7 2019-10-23 14:02:10 +02:00
Theo Arends 1a6ead187d Release 6.7 2019-10-23 13:11:53 +02:00
andrethomas 8976021389 Add ArduinoHexParse library for specific page size 2019-10-20 20:08:46 +02:00
Andre Thomas 73c2fd3cb4
Update TasmotaSerial.cpp 2019-10-20 11:48:09 +02:00
gemu2015 13b0161919 fix ssd1306 rotate 2019-10-19 12:46:00 +02:00
gemu2015 32dc4b8f5f sendmail with bearsssl-light 2019-10-14 10:14:17 +02:00
Theo Arends 3e7e882ee5
Update TasmotaSerial.cpp 2019-10-02 17:20:03 +02:00
Stephan Hadinger 838e571d10 Fix TasmotaSerial: move serial send to IRAM for high speed baud rates 2019-10-01 22:58:08 +02:00
Theo Arends d193b8cb1a Update TasmotaModbus to 1.2.0
Update TasmotaModbus to 1.2.0
2019-09-16 16:27:35 +02:00
gemu2015 65532af236 Update FT6236.cpp 2019-09-12 10:58:47 +02:00
Theo Arends 9cd21815c6 Update TasmotaModbus to v1.1.1
Update TasmotaModbus to v1.1.1
2019-09-10 15:10:02 +02:00
Stephan Hadinger a6f68f8612 Fix #6391 2019-09-10 10:37:06 +02:00
Theo Arends 50e37b43c6 Fix TasmotaSerial
Fix TasmotaSerial
2019-09-09 19:21:56 +02:00
Stephan Hadinger 98378c1962 Force wait for Stop Bit 2019-09-08 22:20:34 +02:00
Stephan Hadinger ff688204f0 TasmotaSerial 2.3.5 2019-09-08 18:32:25 +02:00
Stephan Hadinger 41d6dd2683 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into serial_115200_2 2019-09-08 18:29:11 +02:00
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
Theo Arends c702cb17e0 Release 6.6
Release 6.6
2019-07-05 13:44:24 +02: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 4719b62b6e Prep for release 6.5 2019-03-19 15:08:50 +01: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 640e28f7cf Prep for release 6.5
Prep for release 6.5
2019-03-15 11:43:14 +01:00
Theo Arends ef5377e327 Workaround NeoPixelBus STAGE compile error
Workaround NeoPixelBus STAGE compile error
2019-03-15 11:25:02 +01:00
Theo Arends d85278f1b2 Prep for release 6.5
Prep for release 6.5
2019-03-13 18:00:15 +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