Commit graph

6953 commits

Author SHA1 Message Date
Anton Sergunov
648fdba4f1
Apply suggestions from code review 2024-06-10 17:41:22 +06:00
Anton Sergunov
46b1884fb5
Merge branch 'dev' into sntp 2024-06-10 17:30:58 +06:00
Anton Sergunov
1de1290bbe
Update esphome/components/sntp/sntp_component.h 2024-06-10 12:25:08 +06:00
Jesse Hills
dceab6ce29
[voice_assistant] Write less data to speaker each loop (#6877) 2024-06-10 15:22:55 +12:00
Jesse Hills
6de79d6cfb
[i2s_speaker] A few fixes (#6872) 2024-06-10 15:22:41 +12:00
Jesse Hills
7b45498de6
[http_request] Add esp-idf and rp2040 support (#3256)
* Implement http_request component for esp-idf

* Fix ifdefs

* Lint

* clang

* Set else to fail with error message

* Use unique_ptr

* Fix

* Tidy up casting, explicit HttpResponse lifetime (#3265)

Co-authored-by: Daniel Cousens <dcousens@users.noreply.github.com>

* Remove unique_ptr wrapper

* Fix

* Use reference

* Add duration code into new split files

* Add config for tx/rx buffer on idf

* Fix

* Try reserve response data with rx buffer size

* Update http_request.h

* Move client cleanup to be earlier

* Move capture_response to bool on struct and remove global

* Fix returns

* Change quotes to brackets

* Rework http request

* Remove http request from old test yamls

* Update component tests

* Validate md5 length when hardcoded string

* Linting

* Add duration_ms to container

* More lint

* const

* Remove default arguments and add helper functions for get and post

* Add virtual destructor to HttpContainer

* Undo const HEADER_KEYS

* 🤦

* Update esphome/components/http_request/ota/ota_http_request.cpp

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>

* Update esphome/components/http_request/ota/ota_http_request.cpp

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>

* lint

* Move header keys inline

* Add missing WatchdogManagers

* CAPS

* Fix "follow redirects" string in config dump

* IDF 5+ fix

---------

Co-authored-by: Daniel Cousens <413395+dcousens@users.noreply.github.com>
Co-authored-by: Daniel Cousens <dcousens@users.noreply.github.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-06-09 15:15:29 -05:00
Mischa Siekmann
618102fe8c
fix: arduino media player still sets wrong state. (#6875) 2024-06-09 18:34:21 +12:00
esphomebot
38b7bed2fa
Update webserver local assets to 20240608-093147 (#6874) 2024-06-08 09:55:57 +00:00
RFDarter
d77ea46157
[datetime] datetime-datetime strptime support value string without seconds (#6867) 2024-06-08 08:29:10 +12:00
Mischa Siekmann
8718e15a6a
fix: arduino media player sets wrong state for announcements (#6849)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-06-08 07:43:22 +12:00
RFDarter
861a23d039
[datetime] Add logs on DateCall perform (#6868) 2024-06-08 07:37:05 +12:00
Pieter Viljoen
276eea2b69
[docker] Avoid unsafe git error when container user and file config volume permissions don't match (#6873) 2024-06-08 07:36:07 +12:00
Anton Sergunov
7523327502 Replace sntp_enabled with esp_sntp_enabled 2024-06-07 15:23:14 +00:00
Anton Sergunov
547517450d Replace ifdef with defined() 2024-06-07 13:51:40 +00:00
Anton Sergunov
ddc3e65e40 Make it build 9 2024-06-07 13:25:14 +00:00
Anton Sergunov
5ee8575f07 Cleanup 2024-06-07 13:22:16 +00:00
Anton Sergunov
93915dc6d4 Merge remote-tracking branch 'origin/dev' into sntp 2024-06-07 13:17:17 +00:00
Anton Sergunov
6872cbbb9f Macro closing comments 2024-06-07 07:31:54 +00:00
Anton Sergunov
062520b8b8 Remove scheduler 2024-06-07 07:27:37 +00:00
Anton Sergunov
cec868bd3e Cleanup 2024-06-07 07:05:05 +00:00
Anton Sergunov
0b5eafcc6c Use sntp_get_sync_status
callback is not called if custom sntp_sync_time is defined
2024-06-07 07:04:17 +00:00
Anton Sergunov
e51ecb8b22 Keep correct update interval 2024-06-07 06:36:42 +00:00
Anton Sergunov
0b22fc946a Make it build 8 2024-06-07 06:35:31 +00:00
Anton Sergunov
347b35a2c7 Fix notificagtions 2024-06-07 06:31:30 +00:00
Anton Sergunov
4f0b0ed952 Don't use swap 2024-06-07 06:20:36 +00:00
Anton Sergunov
e14cd7e6ab Return sntp_set_sync_interval in setup 2024-06-07 06:09:50 +00:00
Anton Sergunov
2c90f61de1 Make it build 7 2024-06-07 06:08:43 +00:00
Anton Sergunov
a3e3f37445 Make it build 6 2024-06-07 06:06:43 +00:00
Anton Sergunov
73a473e389 Make it build 5 2024-06-07 06:04:26 +00:00
Anton Sergunov
aa3dcdcff8 Make it build 4 2024-06-07 06:03:25 +00:00
Anton Sergunov
2d1b4b8279 Make it build 3 2024-06-07 06:02:18 +00:00
Anton Sergunov
2151cc2282 Make it build 2 2024-06-07 05:58:42 +00:00
Anton Sergunov
6c1765015f Make it build 2024-06-07 05:57:12 +00:00
Anton Sergunov
12e5d6e7a9 SNTP for esp-idf
* report syncronization events
 * force restart
 * server list runtime update
 * server list setup checks
 * real update interval reported
 * update interval runtime change
2024-06-07 05:28:33 +00:00
Jesse Hills
ccab57fc58
[logger] Fix defines for development (#6870)
* [logger] Fix defines for development

* Set debugging flags for rp2040
2024-06-06 23:30:49 -05:00
Olivier ARCHER
8ef4aaa70e
[ota] http_request update platform (#5586)
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
2024-06-06 14:35:28 +12:00
Clyde Stubbs
7143e9cd9e
[config] Allow file: scheme for git external components (#6844) 2024-06-06 07:27:06 +12:00
zry98
cc217d8a83
[Tuya Climate] Support both datapoint and pins for active state (#6789) 2024-06-05 08:11:19 +00:00
Will Rouesnel
c52d5c0279
Add invert_position_report to tuya.cover (#6020) 2024-06-05 07:52:19 +00:00
svxa
f36a96c8e2
Add carrier_frequency option to remote_transmitter.transmit_aeha (#6792) 2024-06-05 00:35:19 -07:00
Nate Clark
594856899a
[ethernet] Add config option to set arbitrary PHY register values (#6836) 2024-06-05 18:51:56 +12:00
Jesse Hills
f7742cdf19
Merge branch 'release' into dev 2024-06-05 16:39:19 +12:00
Jesse Hills
5b062a222c
Merge pull request #6863 from esphome/bump-2024.5.5
2024.5.5
2024-06-05 16:38:27 +12:00
Jesse Hills
664ee56dc5
Bump version to 2024.5.5 2024-06-05 15:51:29 +12:00
Keith Burzinski
388b2c2de0
[improv_serial] Fix for IDF 4.4.7 (#6855) 2024-06-05 15:51:29 +12:00
Jesse Hills
ce4a3d9950
[i2s_speaker] Add buffer allocation failure checks (#6829) 2024-06-05 15:51:29 +12:00
Jesse Hills
ac9f57600d
[voice_assistant] Half the microphone ringbuffer size (#6830) 2024-06-05 15:51:29 +12:00
Jesse Hills
69d38f6137
[ft5x06] Interrupt pin and code quality improvements (#6851)
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
2024-06-05 11:02:18 +10:00
Keith Burzinski
eb75778f84
[improv_serial] Fix for IDF 4.4.7 (#6855) 2024-06-04 03:18:20 +00:00
Keith Burzinski
2d56d8d84f
[wireguard] Implement workaround for crash on IDF 5+ (#6846) 2024-06-04 15:10:44 +12:00