Commit graph

3929 commits

Author SHA1 Message Date
Daniël Koek
895a90bdc8 cleanup 2024-02-20 16:30:03 +00:00
Daniël Koek
b5912c7d6e Update lora_pin.cpp 2024-02-20 16:28:27 +00:00
Daniël Koek
f213e1a411 Update __init__.py 2024-02-20 16:27:14 +00:00
Daniël Koek
b7d6923767 Update __init__.py 2024-02-20 16:25:47 +00:00
Daniël Koek
7f79351b88 cleanup 2024-02-20 16:23:50 +00:00
Daniël Koek
4c0772a8f1 Trial this 2024-02-20 16:17:56 +00:00
Daniël Koek
113ed8d48f Update lora.cpp 2024-02-20 15:45:11 +00:00
Daniël Koek
b43cb981d1 Update lora.cpp 2024-02-20 15:27:09 +00:00
Daniël Koek
aca94e5cc1 add this 2024-02-20 15:25:42 +00:00
Daniël Koek
8ded4b02f7 First step 2024-02-20 14:51:55 +00:00
Daniël Koek
746f17aea6 Merge remote-tracking branch 'upstream/dev' into dev 2024-02-19 19:38:40 +00:00
Jean-François Roy
b28821d846
dfrobot_sen0395: Use setLatency instead of outputLatency (#5665)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-02-05 10:57:11 +09:00
Daniël Koek
db96c4bf59 Update ebyte_lora_e220.cpp 2024-02-02 13:20:11 +00:00
Daniël Koek
f77c197dc6 Update ebyte_lora_e220.cpp 2024-02-02 13:16:38 +00:00
Daniël Koek
61c25ae822 more updates 2024-02-02 13:13:55 +00:00
Daniël Koek
033475bc83 Update ebyte_lora_e220.cpp 2024-02-01 16:32:13 +00:00
Daniël Koek
372169dbf2 Update ebyte_lora_e220.cpp 2024-02-01 16:30:23 +00:00
Daniël Koek
fce151a128 no need to be pulling 2024-02-01 16:07:45 +00:00
Daniël Koek
a0716fd8bf Update ebyte_lora_e220.cpp 2024-02-01 16:01:35 +00:00
Daniël Koek
d621b6c44f updates 2024-02-01 16:00:26 +00:00
Daniël Koek
63246ee815 Trial this 2024-02-01 15:57:56 +00:00
Daniël Koek
2e11b5fe5e Merge remote-tracking branch 'upstream/dev' into dev 2024-02-01 09:15:39 +00:00
Daniël Koek
0d3b86ec54 and clean even more 2024-01-31 18:24:45 +00:00
Daniël Koek
a2438b7386 Update ebyte_lora_e220.h 2024-01-31 18:14:42 +00:00
Daniël Koek
53e41d37e2 Update lora_e220.cpp 2024-01-31 18:11:44 +00:00
Daniël Koek
474f03e707 Update lora_e220.cpp 2024-01-31 18:08:34 +00:00
Daniël Koek
9735f3381c even more cleanup 2024-01-31 18:05:45 +00:00
Daniël Koek
bbadfbb8d6 anotther fix 2024-01-31 18:02:12 +00:00
Daniël Koek
21e9d9bafc Update lora_e220.cpp 2024-01-31 17:53:47 +00:00
Daniël Koek
d107d23439 add this too 2024-01-31 17:45:46 +00:00
Daniël Koek
b9a2676bc6 add utility 2024-01-31 17:31:34 +00:00
Daniël Koek
853e199524 Update __init__.py 2024-01-31 17:27:49 +00:00
Daniël Koek
78ba0b67ce Update __init__.py 2024-01-31 17:10:44 +00:00
Daniël Koek
bdb154f4da cleanup 2024-01-31 17:09:34 +00:00
Daniël Koek
52a003edc8 Loads more changes 2024-01-31 15:39:08 +00:00
esphomebot
0fa0904bc5
Synchronise Device Classes from Home Assistant (#6158) 2024-02-01 01:25:47 +13:00
Daniël Koek
7b55449229 loads more changes 2024-01-30 19:14:44 +00:00
Daniël Koek
b70d44e6c2 Very basic start 2024-01-30 18:24:17 +00:00
rnauber
92798751c2
Support tri-color waveshare eink displays 2.7inch B and B V2 (#4238)
Co-authored-by: Richard Nauber <richard@nauber.dev>
2024-01-30 15:16:32 +11:00
Ruben van Dijk
23a9a704f3
Minimum 1 for full_update_every to prevent IntegerDivideByZero. (#6150) 2024-01-28 07:15:14 +11:00
Clyde Stubbs
f2caf13d39
ILI9XXX: Restore offset usage in set_addr_window (#6147) 2024-01-25 23:13:38 -06:00
J. Nick Koston
25ab6f0297
Ensure filename is shown when YAML raises an error (#6139)
* Ensure filename is shown when YAML raises an error

fixes #5423
fixes #5377

* Ensure filename is shown when YAML raises an error

fixes #5423
fixes #5377

* Ensure filename is shown when YAML raises an error

fixes #5423
fixes #5377

* Ensure filename is shown when YAML raises an error

fixes #5423
fixes #5377

* Ensure filename is shown when YAML raises an error

fixes #5423
fixes #5377
2024-01-23 23:11:03 -06:00
Clyde Stubbs
23071e932a
Add support for Pico-ResTouch-LCD-3.5 to ili9xxx driver (#6129)
* Working version of Waveshare 3.5 Res Touch driver.

* Default color order BGR
2024-01-24 07:40:16 +11:00
Edward Firmo
4812997429
Nextion TFT upload IDF memory optimization (#6128)
* Nextion TFT upload IDF memory optimization

This optimizes the memory in use for TFT upload when using `esp-idf` framework.

Basically, the engine establishes 3 connections to the the http/https server:
1. Fetch the file size (used to manage chunks and file size)
2. Transfer the 1st chunk (when it evaluates Nextion response to define either to continue from that point or to another point in the file)
3. Transfer the remaining data.

Until now, connection 1 was kept open during the whole process taking aprox 40kb of heap in a esp32dev (NSPanel in my tests) and the same amount of memory was needed to the 2nd and 3rd connections (which never competes to each other).
With this change, each connection is closed and released before opening the next one with a significant reduction on the required heap needed for this transfer.

This can still be improved to use a persistent connection, but I will look at this in the future, so it is not part of this change.

In addition to the better connection management, I've added quite a lot of log (mostly at VERBOSE level), which was used for troubleshooting here.
I was unsure about removing this. As it can be useful for others, I decided to keep it, but I will be fine about removing it if this is now in line with ESPHome best practices.

* clang-format

* Log response length
2024-01-23 01:49:28 -06:00
jxl77
c35a21773e
Improve temperature precision in BME280 and BMP280 (#6124)
* Update bme280_base.cpp

Change read_temperature to get better precision

  float const temperature = (*t_fine * 5 + 128);
  return temperature / 25600.0f;

* Update bmp280.cpp

increase precision in read_temperature

* Update bmp280.cpp

clang-format correction
2024-01-20 19:57:39 -06:00
Jesse Hills
0cbc06a9b9
Fix some Voice Assistant bugs (#6121) 2024-01-20 03:38:37 +13:00
Stefan Rado
2f09624c07
Remove optional<> for pointer types (#6120) 2024-01-20 02:30:57 +13:00
tomaszduda23
6a8da17ea3
OTA 2 which confirm each written chunk (#6066)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-01-19 13:18:06 +09:00
Clyde Stubbs
ed771abc8a
Add support for Waveshare EPD 2.13" V3 (#5363)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-01-19 12:10:53 +09:00
alexbuit
6561746f97
add AM2120 device type (#6115) 2024-01-19 11:50:00 +09:00