1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-23 21:52:23 +01:00
Commit Graph

6171 Commits

Author SHA1 Message Date
Tomasz Duda
e1686aab55 Merge branch 'logger_hal' into nrf52 2024-02-03 09:49:31 +01:00
Tomasz Duda
d7c80bb9c8 fix clang-tidy 2024-02-03 01:38:05 +01:00
Tomasz Duda
252e324390 simplify if/def 2024-02-03 01:32:35 +01:00
Tomasz Duda
4851d68a46 fix build error 2024-02-03 01:09:53 +01:00
Tomasz Duda
7b30b7d788 fix build error 2024-02-03 00:42:01 +01:00
Tomasz Duda
8b956d6c2f fix if/def 2024-02-03 00:29:45 +01:00
Tomasz Duda
02b3e27cf2 fix build errors 2024-02-03 00:03:02 +01:00
Tomasz Duda
d6ce6a2f4c fix build error 2024-02-02 23:26:14 +01:00
Tomasz Duda
f1e284bcab generate config in python 2024-02-02 23:22:27 +01:00
Tomasz Duda
c18e661923 move internal implemenation to cpp files 2024-02-02 22:58:42 +01:00
Tomasz Duda
b505a48dd1 separate logger implementation for each platfor to diffrent file 2024-02-02 22:31:23 +01:00
Tomasz Duda
933fb3f0b5 fix bulid error 2024-02-02 01:18:02 +01:00
Tomasz Duda
8b7c9ea188 remove tmp files 2024-02-02 01:04:08 +01:00
Tomasz Duda
3c33c9e128 remove tmp files 2024-02-02 01:02:19 +01:00
Tomasz Duda
a7364be94c remove tmp files 2024-02-02 01:00:22 +01:00
Tomasz Duda
d09dc3b123 add nrf sdk build 2024-02-02 00:58:34 +01:00
Tomasz Duda
6a5b243359 add gpio for zephyr 2024-02-02 00:58:34 +01:00
Tomasz Duda
990871fa0e add dfu for zephyr 2024-02-02 00:58:34 +01:00
Tomasz Duda
52cf8a1cf5 add zephyr 2024-02-02 00:58:34 +01:00
Tomasz Duda
c5b70bad84 add deep sleep 2024-02-02 00:58:34 +01:00
Tomasz Duda
793e90a0e0 fix build error 2024-02-02 00:58:34 +01:00
Tomasz Duda
0aa4a1e845 add debug information 2024-02-02 00:58:34 +01:00
Tomasz Duda
89121938ad add watchdog 2024-02-02 00:58:34 +01:00
Tomasz Duda
c40d07d377 add logging task name 2024-02-02 00:58:34 +01:00
Tomasz Duda
2c32fa4018 simplify update function 2024-02-02 00:58:34 +01:00
Tomasz Duda
ff26bebf74 add ADC support 2024-02-02 00:58:34 +01:00
Tomasz Duda
7147b962b5 use platformio upload 2024-02-02 00:58:34 +01:00
Tomasz Duda
ecfbca8522 beacon demo 2024-02-02 00:58:34 +01:00
Tomasz Duda
469aaecec9 add test 2024-02-02 00:58:34 +01:00
Tomasz Duda
3983c04974 add dfu support 2024-02-02 00:58:34 +01:00
Tomasz Duda
237dad7c58 init commit for nrf52 2024-02-02 00:58:34 +01:00
esphomebot
0fa0904bc5 Synchronise Device Classes from Home Assistant (#6158) 2024-02-01 01:25:47 +13: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
Clyde Stubbs
1fef769496 Add quad spi features (#5925)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-01-19 11:42:17 +09:00
Clyde Stubbs
2283b3b443 Fix time component for host platform (#6118) 2024-01-19 12:46:55 +11:00
Clyde Stubbs
8267b3274c Enable networking and some other components on host platform (#6114) 2024-01-19 10:10:23 +09:00
dependabot[bot]
6a6a70f1e5 Bump actions/cache from 3.3.2 to 4.0.0 (#6110)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-19 10:08:29 +09:00
dependabot[bot]
ea9de45d16 Bump platformio from 6.1.11 to 6.1.13 (#6086)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-01-19 10:07:50 +09:00
kahrendt
045836c3fe Add combination sensor and remove absorbed kalman_combinator component (#5438) 2024-01-18 18:09:49 +09:00