By my understanding the webserver at chicken-coop.local should not be enabled since I didnāt explicitly enable it, however it is enabled. How do I disable it?
I think maybe itās related to the esp-idf framework as my config is similar to other projects I have that donāt show the webserver. I think if I turn off captive_portal it will shut it down, but Iād like that fallback available.
I suppose I could just add auth to the webserver, but Iām also just interested to know why its running. Is it just an undocumented quirk (intentional or not?) with esp-idf?
Whatās got me confused is that captive portal is enabled on my other devices, but no web server on those. They donāt have framework defined.
I noticed the webserver coming up on a BLE proxy I set up recently and disabling captive portal did disable it.
I guess I can work around this via auth, or disabling captive_portal, but Iād like to put a mention in the docs if itās a thing. Seems like it might be a thing, just undocumented as far as I could find.
Are you aware of a way to disable web_server while retaining captive_portal?
Thanks! Itās a good lead still, even if just to indicate that there may be something different about how esp-idf handles the web_server when it isnāt explicitly configured.
Itās in the gear cog menu of the text editor, āhide detailsā. It sure is nice to tuck away a big log or config.
It works on GitHub too, but over there you gotta add a line break before the code block line if youāre posting code or it breaks the code block for some reason.
[details="Summary"]
This text will be hidden
[/details]
I noticed it too. The Web server is activated on the ESP32 BLE Proxy if you add a captive_portal.
I performed an experiment like this: I created a BLE proxy using a ESPhome Ready-Made Projects. Then I got control over the device configuration and added only one line:
captive_portal:
And an active Web server appeared on the device.
Then I added this section:
esp32:
board: esp32dev
framework:
type: arduino
And the Web server disappeared.
It seems to me that this is either a feature of the esp-idf framework or a bug.
It is not clear how to maintain the functionality of the captive_portal on a BLE proxy if it is recommended not to use a Web server for a BLE proxy device?