Commit Graph
222 Commits
Author SHA1 Message Date
uwekaditz b663b69f06 Merge branch 'mega' into UweKaditz 2020-03-29 23:19:03 +02:00
Gijs Noorlander 62c1782e65 [Serial Proxy] Use capture filtering 2020-03-21 11:20:30 +01:00
Gijs Noorlander ef2de3a894 [Lib] Add RegExp lib 2020-03-21 11:19:54 +01:00
uwekaditz 96ce0fa377 Merge branch 'mega' into UweKaditz 2020-03-19 18:14:36 +01:00
TD-er 4e32d98fbc Merge pull request #2950 from TD-er/feature/I2C_uart_serial
[I2C UART] Add support for NXP's SC16IS752 I2C to UART bridge
2020-03-18 13:24:28 +01:00
Gijs Noorlander 0e41d0e71a [I2C UART] Mark ESPEasySerial library as v2.0.0 2020-03-18 11:27:58 +01:00
Gijs Noorlander 80cdb7b552 [ESP32] Add SDS011 support for ESP32
As reported on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=5&t=7520&p=43032#p43032)
2020-03-15 20:30:22 +01:00
Gijs Noorlander 16b9399456 [I2C UART] Limit calls to serial.available() 2020-03-11 09:12:59 +01:00
Gijs Noorlander 6558c2522a [I2C UART] Cache FIFO available to speed up reading 2020-03-10 10:55:20 +01:00
Gijs Noorlander f07017f3aa [I2C UART] Speed up reading from I2C Serial 2020-03-10 01:50:50 +01:00
uwekaditz bec007abb7 merged with release mega-20200305
merged with release mega-20200305
2020-03-09 19:59:56 +01:00
Gijs Noorlander 5dcccc6817 [I2C serial] Disable debugging 2020-03-08 17:44:48 +01:00
Gijs Noorlander bddd5ae4b3 [Serial] Mark plugins using serial as device type serial
Also show in the devices tab a proper port + GPIO description.
2020-03-08 16:49:44 +01:00
Gijs Noorlander f3b5628d06 Fix warnings in ccronexpr test code 2020-03-08 10:18:39 +01:00
Gijs Noorlander f832f5e265 [SC16IS752] Extend Serial Helper to support I2C UART 2020-03-08 09:18:14 +01:00
Gijs Noorlander f14929bb1f [SC16IS752] Use I2C-UART bridge in ESPEasySerial (ESP8266) 2020-03-06 23:35:28 +01:00
TD-er c53dacf9a7 Start of implementing SC16IS752 support 2020-03-06 20:29:36 +01:00
Gijs Noorlander 228c7616c3 [ESPEasySerial] Update manifest to mark SC16IS752 dependency 2020-03-06 14:06:43 +01:00
Gijs Noorlander ac51287bb4 [SC16IS752 lib] Update manifest to register as PIO library 2020-03-06 14:06:08 +01:00
Gijs Noorlander 3e594689d7 [SC16IS752] Add Library
Using library https://github.com/nopnop2002/SC16IS752
2020-03-06 13:08:17 +01:00
TD-er 8c7711c768 Merge pull request #2919 from jimmys01/ir-2.7.4
Update IR library to 2.7.4
2020-03-05 00:13:38 +01:00
jimmys01 5eaa168ff1 Update IR library to 2.7.4 2020-03-03 12:47:21 +02:00
Toni 8db06629ae HeatpumpIR 1.0.13 update (Mitsubishi MSY fixes) 2020-03-03 09:27:42 +02:00
Gijs Noorlander 37538f4124 [Build Size] Replace all TXBuffer += calls where possible
The TXBuffer is a "header only" implementation.
This means it may be compiled "inline" and thus takes quite a bit of compiled code.
This makes the binary larger and slows the ESP down.

Now it is even possible to make core 2.6.3 builds using "minimal OTA".
The "Dev" build is roughly 55k smaller.
2020-02-28 02:28:03 +01:00
Gijs Noorlander bec65282de [Cron] Fix memory leak 2020-02-27 19:19:25 +01:00
Gijs Noorlander 5160703d58 Update Adafruit library for SGP30 sensor 2020-02-22 15:56:26 +01:00
Gijs Noorlander 664430cfd2 Sync ESPEasySerial library + increase version to 1.0.14 2020-02-21 16:58:01 +01:00
TD-er fe4228b2ff Merge branch 'mega' into bugfix/rn2483_blocking 2020-02-21 16:30:03 +01:00
Gijs Noorlander c83c1d7bc4 [RN2483] Quick work-around to force SW serial for LoRa module
As is needed for a PCB I am working on, where I use the pins of Serial0_switched but also need the Serial0 to be HW serial.
2020-02-21 15:04:41 +01:00
TD-er 15c0c2d9df Merge pull request #2887 from ToniA/HeatpumpIR
P088_HeatpumpIR to use HeatpumpIRFactory (#2884)
2020-02-21 13:26:52 +01:00
Gijs Noorlander ebd0dcf7c2 [RN2483] Add some example code for new RN2483 library
Since I have rewritten the entire library, I may also add some short example code to illustrate the new async features.
2020-02-17 23:28:24 +01:00
TD-er 473d832186 [RN2483] Small fixes in display strings and library examples 2020-02-17 01:11:08 +01:00
TD-er 6d321b256c Fix compile issue in ArduinoUnoNano-downlink.ino example 2020-02-16 19:53:13 +01:00
TD-er 64fea7bcf2 [RN2483] Fix build issues 2020-02-16 18:50:44 +01:00
Gijs Noorlander b3ec99c2c3 [RN2483] Move functions and members to helper class. 2020-02-16 17:13:04 +01:00
Gijs Noorlander 96dc568800 [RN2483] Status bits depend on firmware rev. number
This means some knowledge should be split into separate classes and made available for the Status class.
2020-02-16 15:04:28 +01:00
Gijs Noorlander 3c5e9389fa [RN2483] Make OTAA join work async
It does take about 7 seconds to perform OTAA, so make sure we don't have to wait for it to finish now we can do all in async mode.
2020-02-16 02:02:34 +01:00
Gijs Noorlander 24b6364d08 [RN2483] Fix OTAA and ABP join issues 2020-02-16 00:38:24 +01:00
Toni aba69b7235 P088_HeatpumpIR to use HeatpumpIRFactory (#2884)
* HeatpumpIR library update to 1.0.12
2020-02-15 14:52:52 +02:00
Gijs Noorlander af5bc7174c [RN2483] Make calls non blocking using state machine
The calls to the existing library were blocking, so they could take a long time to send a message (over 2 seconds)
Now the library is using a state machine and the handling can be dealt with by calling the ...loop functions frequently.
2020-02-13 18:30:22 +01:00
Gijs Noorlander 632169acc3 [RN2483] Fix proper reset and autobaud of RN2483 LoRa module 2020-02-10 21:50:05 +01:00
TD-er a6031ce6d6 Merge pull request #2876 from ToniA/HeatpumpIR
HeatpumpIR 1.0.11 update, P088_HeatpumpIR support for Mitsubishi MSC …
2020-02-10 11:25:19 +01:00
Toni 5f0b4f0d6f HeatpumpIR 1.0.11 update, P088_HeatpumpIR support for Mitsubishi MSC and Mitsubishi Heavy FDTC 2020-02-05 18:58:50 +02:00
jimmys01 3968f06b1c Ir-Update 2020-02-01 16:27:52 +02:00
Gijs Noorlander 8d5b44ca1c [MQTT] Fix change in client.connected() behavior for pubsubclient
See this issue where the changes in behavior for wificlient.connected() is discussed: https://github.com/esp8266/Arduino/issues/6701

A change dating back to April 2018 ( https://github.com/esp8266/Arduino/pull/4626 ) does have some implications on how to interpret the client.connected() result.
It is very well possible there is still data in the buffers waiting to be read.
So the loop() function of pubsubclient should first try to empty the received data and then decide what to do with the connected state.

So reading is fine, if there is data available, but writing needs an extra check.
2019-12-10 10:11:14 +01:00
Florin 8b0c8a16bd Clean Warning messages inside external libraries: AS_BH1750 & Adafruit 2019-11-19 20:48:55 -05:00
Gijs Noorlander bb688514d1 [pubSubClient] Fix signed/unsigned compare warning 2019-11-13 13:15:29 +01:00
TD-er eddc6924c6 [pubsubclient] Fix bug in publish
Change I made which was incorrect.
As spotted here: https://github.com/letscontrolit/ESPEasy/pull/2728#issuecomment-552925267
2019-11-13 13:07:00 +01:00
TD-er 3c31a30af9 [MQTT] Improve update MQTT client connected status
Checking the MQTT connected status can alter connected status, so update connected status when it could have changed.
2019-11-13 13:07:00 +01:00
TD-er e25ff7410b [PubSubClient] Only update lastOutActivity when write is successful 2019-11-13 13:07:00 +01:00