ded457c2c1
[libretiny] Tune oversized lwIP defaults for ESPHome ( #14186 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-23 13:52:46 +13:00
J. Nick Koston and Claude Opus 4.6
94712b3961
[esp8266][web_server] Use constexpr for PROGMEM arrays in codegen ( #14128 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 18:54:44 -06:00
J. Nick Koston
3b869f1720
[web_server] Double socket allocation to prevent connection exhaustion ( #14067 )
2026-02-18 19:01:37 -06:00
J. Nick Koston
f73c539ea7
[web_server] Add RP2040 platform support ( #13576 )
2026-01-27 17:18:31 -10:00
J. Nick Koston
41dceb76ec
[web_server][captive_portal] Change default compression from Brotli to gzip ( #13246 )
2026-01-15 19:56:35 +00:00
J. Nick Koston and Copilot
2793e33baf
[logger] Use StaticVector for log listeners with compile-time sizing ( #13196 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-13 15:43:17 -10:00
J. Nick Koston
1339f3e77e
[web_server][captive_portal] Add Brotli compression (saves ~11KB flash when using local) ( #12959 )
2026-01-07 11:49:23 -10:00
J. Nick Koston
7abb6d4998
[core] Implement Global Controller Registry to reduce RAM usage ( #11772 )
2025-11-09 17:34:08 -06:00
J. Nick Koston
e23d66a8cf
[esp32] Automatic CONFIG_LWIP_MAX_SOCKETS configuration based on component needs ( #11378 )
2025-10-21 09:38:34 +13:00
J. Nick Koston
d1276dc6df
[core] Replace magic coroutine priority numbers with self-documenting CoroPriority enum ( #10518 )
2025-09-02 21:41:50 +00:00
Clyde Stubbs
456c31262d
[web_server] Use oi.esphome.io for css and js assets ( #10296 )
2025-08-25 09:04:32 +12:00
J. Nick Koston
494a1a216c
[web_server] Conditionally compile authentication code to save flash memory ( #10022 )
2025-08-04 14:09:12 +12:00
J. Nick Koston and Copilot
44979f0840
Skip compilation of web_server_v1.cpp when not using version 1 ( #9590 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-17 21:02:51 +12:00
J. Nick Koston
b1655b3fd4
Allow disabling OTA for web_server while keeping it enabled for captive_portal ( #9583 )
2025-07-16 17:05:09 -10:00
J. Nick Koston and Jesse Hills
84ab758b22
Replace custom OTA implementation in web_server_base ( #9274 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-02 13:50:45 +12:00
J. Nick Koston
16ef5a9377
Add OTA support to ESP-IDF webserver ( #9264 )
2025-07-01 15:21:11 +12:00
lamauny and Jesse Hills
d86f319d66
Add support for LN882X Family (with LibreTiny) ( #8954 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-06-30 16:20:36 +12:00
J. Nick Koston
687cb1cd2b
Reduce web_server RAM usage by 96 bytes with conditional sorting compilation ( #9227 )
2025-06-30 11:47:20 +12:00
RFDarter and Jesse Hills
86a34f4b17
[web_server] v3 entity grouping ( #6833 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-10-07 15:52:26 +13:00
tomaszduda23
f8e8bd2c24
[code-quality] fix clang-tidy web_server and web_server_base ( #7286 )
2024-08-30 12:03:44 +12:00
RFDarter and Jesse Hills
a7fc1a6298
[web_server] add entity sorting for v3 ( #6445 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-05-30 13:54:20 +12:00
Jesse Hills
036a666e36
[web_server] Minor python formatting ( #6735 )
2024-05-14 15:38:53 +12:00
RFDarter
7e8e658999
web_server support for v3 ( #6203 )
2024-03-20 16:37:18 +13:00
Daniel Baulig
708ed8f38a
[web_server] Adds the ability to handle Private Network Access preflight requests ( #5669 )
2023-11-07 13:59:03 +13:00
Jesse Hills
46be886ca6
Use platform consts ( #5508 )
2023-10-09 16:54:15 -05:00
Samuel Sieb and Samuel Sieb
bf253c21fa
fix handling of web server version ( #5405 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net >
2023-09-21 09:25:16 +12:00
a9630ac847
Support for LibreTiny platform (RTL8710, BK7231 & other modules) ( #3509 )
...
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl >
Co-authored-by: Sam Neirinck <git@samneirinck.com >
Co-authored-by: David Buezas <dbuezas@users.noreply.github.com >
Co-authored-by: Stroe Andrei Catalin <catalin2402@gmail.com >
Co-authored-by: Sam Neirinck <github@samneirinck.be >
Co-authored-by: Péter Sárközi <xmisterhu@gmail.com >
Co-authored-by: Hajo Noerenberg <hn@users.noreply.github.com >
2023-09-05 10:16:08 +12:00
Daniel Dunn and Daniel Dunn
19d53c6643
Use gzip compression for the web server component's static resources ( #5291 )
...
Co-authored-by: Daniel Dunn <dannydunn@eternityforest.com >
2023-09-01 14:02:26 +12:00
7a551081ee
web server esp idf suppport ( #3500 )
...
* initial web_server_idf implementation
* initial web_server_idf implementation
* fix lint errors
* fix lint errors
* add captive_portal support
* fix lint errors
* fix lint errors
* add url decode
* Increase the max supported size of headers section in HTTP request
* add ota support
* add mulipart form data support (ota required)
* make linter happy
* make linter happy
* make linter happy
* fix review marks
* add DefaultHeaders support
* add DefaultHeaders support
* unify file names
* using std::isnan
* parse multipart requests only when ota enabled
* parse multipart requests only when ota enabled
* parse multipart requests only when ota enabled
* parse multipart requests only when ota enabled
* parse multipart requests only when ota enabled
* drop multipart request support
* drop multipart request support
* drop multipart request support
* OTA is disabled by default
* fail when OTA enabled on IDF framework
* changing file permissions to remove execute bit
* return back PGM_P and strncpy_P macro
* temp web_server fix to be compat with 2022.12
* fix config handling w/o web_server
* fix compilation with "local"
* fully remove all idf ota
* merge with esphome 2023.6
* add core/hal to web_server_base
* Update esphome/components/web_server_base/__init__.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
* Update __init__.py
* Update __init__.py
---------
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-07-11 19:08:03 -05:00
Dion Hulse and Jesse Hills
1cc7428445
Add configuration option to disable the log UI. ( #4419 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-06-22 09:58:49 +12:00
J. Nick Koston and Jesse Hills
cd57271386
Construct web_server assets at build time instead of run time ( #4944 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-06-19 13:51:19 +12:00
Jesse Hills
472dcebf2c
Mark webserver and captive portal as not available on rp2040 ( #4023 )
2022-11-14 13:19:32 +13:00
wilberforce and Jesse Hills
3b8ca80900
Webserver v2 ( #2688 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-03-08 15:02:24 +13:00
Jesse Hills
40e06c9819
Raise minimum python version to 3.8 ( #3176 )
2022-02-10 09:55:11 +01:00
Oxan van Leeuwen
c2ee0f0864
Rename WEBSERVER_PORT define to USE_WEBSERVER_PORT ( #3102 )
2022-01-24 00:34:38 +01:00
Jesse Hills
cc5947467f
Require arduino in webserver for better validation ( #2941 )
2021-12-22 20:08:54 +13:00
6f07421911
Optionally show internal components on the web server ( #2627 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
2021-11-29 16:52:20 +01:00
Jesse Hills and Paulus Schoutsen
5ff7c8418c
Implement Improv via Serial component ( #2423 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2021-11-11 08:55:45 +13:00
Laszlo Gazdag and Jesse Hills
0bdb48bcac
Make OTA function switchable in web_server component ( #2685 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-11-11 08:31:22 +13:00
Jesse Hills
d8b3af3815
Expose webserver_port to the native API ( #2640 )
2021-11-01 09:33:04 +13:00
Otto Winter
be965a60eb
Merge pull request from GHSA-48mj-p7x2-5jfm
...
* Move web_server auth to web_server_base
* Fix
* Fix
* Add middleware system
2021-09-28 13:53:38 +13:00
Jesse Hills
54337befc2
Fix some lint errors in pylint 2.10.2 ( #2226 )
2021-08-31 14:00:58 +12:00
Jesse Hills
b955527f6c
Fix css/js file loading for webserver when esphome not executed form config directory ( #2207 )
2021-08-26 15:34:39 +12:00
aebad04c0b
Convert core components to async-def coroutine syntax ( #1658 )
...
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-05-23 22:10:30 +02:00
Guillermo Ruffino
69879920eb
add-black ( #1593 )
...
* Add black
Update pre commit
Update pre commit
add empty line
* Format with black
2021-03-07 16:03:16 -03:00
richardweinberger
765e641d08
Fix mDNS webserver port and expose prometheus service ( #1389 )
...
* Expose right webserver port using mDNS.
80 is the default value but can be changed in the config file.
Add a new define for the port.
Signed-off-by: Richard Weinberger <richard@nod.at >
* Expose prometheus service via mDNS
That way prometheus auto discovery features can find us.
Signed-off-by: Richard Weinberger <richard@nod.at >
2020-12-14 17:14:38 -03:00
Otto Winter
52639a0a7c
Cleanup web server prometheus integration ( #1192 )
2020-07-27 12:07:05 +02:00
Marvin Gaube
f63fd9696f
Add Webserver Prometheus support for sensor, binary sensor, fan, light, cover and switch ( #1032 )
2020-06-09 22:00:12 -03:00
Elkropac
67cbaabd99
Webserver - include css, js in index ( #932 )
...
* add new config options
* init variables in code
* load css and js in python
* update print inside webserver
* fix indentation
* fix indentation
* indentation fix
* fix condition in init
* use cv.file_ instead of cv.string
* do not import EsphomeError
* support embedding js and css at the same time as defined in url
* handle css as separate page
* handle js as separate page
* fix copy and paste error
2020-02-20 09:05:10 -03:00
Nikolay Vasilchuk and Otto Winter
b2388b6fe7
Basic Auth for web_server component ( #674 )
...
* Basic auth
* Test
* Linter fix
* Make username/password strict strings
Reason: passwords only consisting of digits (012345) will be silently converted (to "12345")
Co-authored-by: Otto Winter <otto@otto-winter.com >
2019-10-13 14:27:44 +02:00