Commit Graph

89 Commits

Author SHA1 Message Date
Theo Arends ea6a5a2d4e Removed delays in TasmotaSerial and TasmotaModbus Tx enable switching 2023-01-02 15:08:40 +01:00
Theo Arends ed0b7d69b6 Tune Tx Enable timing 2023-01-01 15:12:15 +01:00
Theo Arends c1484f761c Fix exception 9 when modbus tx enable is used 2022-12-28 15:19:09 +01:00
Theo Arends 2fd63ff01f Fix Modbus transmit enable GPIO
Fix Modbus transmit enable GPIO enabled once during write buffer
2022-12-28 14:07:30 +01:00
s-hadinger 9abe7b1af9
Support for IPv6 DNS records (AAAA) and IPv6 ``Ping`` for ESP32 and ESP8266 (#17417) 2022-12-17 10:08:35 +01:00
Theo Arends b78886b0f1 Add TasmotaModbus hardware fallback to GPIO13/15 2022-12-11 16:44:36 +01:00
Theo Arends bb88034669 Fix LD2410 Hardware Watchdogs 2022-12-04 10:50:58 +01:00
Theo Arends bbde894628 Add serial Modbus transmit enable GPIOs
Add serial Modbus transmit enable GPIOs to all modbus energy drivers and modbus bridge (#17247)
2022-12-03 12:33:42 +01:00
Theo Arends 816fd78fbb Fix LD2410 using HardwareSerial on ESP8266 2022-12-01 16:18:38 +01:00
Theo Arends 47ee69137b Fix TasmotaSerial::read(buffer, size) 2022-11-28 18:14:44 +01:00
Theo Arends 220a03f043 Add LD2410 debugging info 2022-11-27 12:11:48 +01:00
Theo Arends 30f64d3c42 POC HLK-LD2410 2022-11-26 10:52:42 +01:00
Theo Arends 48ae4b247c Fix intermittent hardware watchdogs
Fix intermittent hardware watchdogs in case of high speed software serial flooding
2022-11-26 09:48:23 +01:00
Stephan Hadinger 774decee21 Avoid crash if malloc fails take 2 2022-11-18 17:27:09 +01:00
Theo Arends 0674f9b0b6 Add command ``SSerialBuffer 64..256``
Add command ``SSerialBuffer 64..256`` to change software serial bridge receive buffer size from default (64) to max local buffer size (256) (#17120)
2022-11-18 13:00:59 +01:00
s-hadinger cb234a2694
Revert "Avoid crash if malloc fails" 2022-11-18 07:43:38 +01:00
Stephan Hadinger e144b57b53 Avoid crash if malloc fails 2022-11-17 20:29:31 +01:00
Stephan Hadinger 2549203c13 Added WS2812 and Light ArtNet DMX control over UDP port 6454 2022-11-13 18:22:39 +01:00
Theo Arends b7f6a7b00a Clean up logging functions 2022-11-11 09:30:31 +01:00
Theo Arends c351c62baf Fix possible serial watchdogs 2022-10-31 11:25:00 +01:00
Jason2866 cd14c15c41
rm cam_hal.h...
since not needed anymore with core 2.0.5.2
2022-10-30 11:03:05 +01:00
Jason2866 f77a5c96f6
remove webcam lib 2022-10-18 17:30:39 +02:00
Stephan Hadinger b4aca5a3f3 Zigbee friendly names per endpoint 2022-10-02 20:54:49 +02:00
Stephan Hadinger 3a54e8d84c Fix json parsing 2022-09-06 19:49:12 +02:00
Theo Arends 212cbe7d85 Fix extra space in non-decimal numbers
Fix extra space in non-decimal numbers (#16365)
2022-08-28 14:51:32 +02:00
Jason2866 f9707217e6 Move DHT ESP32 lib to ESP32 lib 2022-08-09 11:46:25 +02:00
Theo Arends 541be4a8ab Add telegram DNS checks 2022-06-20 10:49:23 +02:00
Theo Arends c988ba1645 Add user control over DNS timeout reducing blocking
Add command ``DnsTimeout 100..20000`` to change default DNS timeout from 1000 msec blocking if no DNS server found
2022-06-19 17:57:43 +02:00
Stephan Hadinger 82d4e14171 Cleaning unused variables 2022-06-03 22:57:05 +02:00
Stephan Hadinger 999b477419 Simplified SBuffer 2022-05-23 21:12:47 +02:00
Theo Arends 522bccb3e2 Initial support for USB serial
Initial support for USB serial when define ARDUINO_USB_CDC_ON_BOOT=1
2022-04-24 17:36:10 +02:00
Theo Arends 9d179c1093 Add ESP32 TasmotaSerial uart mapping
- TasmotaSerial library from v3.4.0 to v3.5.0 (#14981)
- TasmotaSerial implement ``end()``
- ESP32 TasmotaSerial uart mapping to support multiple ``begin()`` and implement ``getUart()`` (#14981)
2022-02-27 13:28:36 +01:00
Theo Arends 71bc58eeae Fix correct use of uart0 2022-01-19 12:22:30 +01:00
Theo Arends b0dafb57a4 Add valid pin checks for ESP32 family 2022-01-19 11:31:16 +01:00
Theo Arends e98498a823 Add uart0 to user selection
Add uart0 to user selection (#10203)
2022-01-19 11:01:55 +01:00
Theo Arends 479b378707 Fix Modbus serial config 2022-01-06 14:06:56 +01:00
Theo Arends 5a73aa1e1f Refactor serial config
Refactor serial config removing specific stopbit count and only support serial config constants (#14212)
2021-12-30 14:19:24 +01:00
Theo Arends 3890237a5f Add ESP32 dedicated DHT driver
- Add ESP32 dedicated DHT driver using standard Adafruit library.
- Extent DHT probe interval time from 2 to 4 seconds solving some misreadings
2021-12-29 14:57:56 +01:00
Theo Arends 41d958020e Fix possible heap corruption due to PubSubClient memmove
Fix possible heap corruption due to invalid PubSubClient memmove parameters (#13700)
2021-12-28 16:05:38 +01:00
Theo Arends aaa87a037a Revert "Merge pull request #14153 from wir3z/development"
This reverts commit d9ab90a2f9, reversing
changes made to 7bf6e5a773.
2021-12-25 11:34:58 +01:00
Theo Arends 4b539f9b94 Revert "Bump TasmotaSerial version to 3.4.0"
This reverts commit f2dfcb3f40.
2021-12-25 11:34:43 +01:00
Theo Arends f2dfcb3f40 Bump TasmotaSerial version to 3.4.0 2021-12-23 10:45:18 +01:00
wir3z 30d35b8c15 Moved kTasmotaSerialConfig to TasmotaSerial.h from Tasmota.h. 2021-12-22 12:23:17 -07:00
wir3z 3c8cda25fb Added linux safe path. 2021-12-22 10:28:55 -07:00
wir3z 223314804d Removed external function call, referenced header. 2021-12-22 10:22:16 -07:00
wir3z 4554a5ba9e Revert "Added back missing external."
This reverts commit b8e9d9401e.
2021-12-22 09:53:06 -07:00
wir3z b8e9d9401e Added back missing external. 2021-12-22 09:50:35 -07:00
wir3z ee39f84bc2 Rolled out parity changes due to potential timing issues. 2021-12-22 09:47:20 -07:00
wir3z b8752b7272 TasmotaSerial:
- Added transmit parity to software TX.  Software RX just consumes in the incoming parity bit with no error checking.
- Fixed issue where Serial.begin for the ESP8266 was not passing the UART SerialConfig compatible values.

support.ino
- Cleanup to use already present ConvertSerialConfig API.

tasmota.ino:
- Force the baudrate + serial config settings after boot.  Previously, the baudrate would change, but any non 8N1 settings were not applied.

xdrv_08_serial_bridge.ino:
- Increased the software serial bridge buffer size and changed type to prevent overflow.
- Added missing serial config settings to the serial begin.  Previously was forcing 8N1.

xdrv_10_scripter.ino
- Cleanup to use already present ConvertSerialConfig API.
2021-12-22 09:23:15 -07:00
Stephan Hadinger 0589a28ec8 Change more platform definitions 2021-12-20 21:05:00 +01:00