mmakaay / esphome-xiaomi_bslamp2

ESPHome integration for the Xiaomi Mijia Bedside Lamp v2.
Other
204 stars 49 forks source link

[BUG] No option menu OTA #119

Closed rdlvm closed 1 year ago

rdlvm commented 1 year ago

Hello, installed on my bed lamp 2 working correctly, but I can't see the ota update menu on the device's website. Attached images.

camphoto_824023566

camphoto_1691952160

I do something wrong? thanks in advance

mmakaay commented 1 year ago

I'm surprised you got the web server working at all :-) Apparently, the web server support for ESP-IDF builds is now part of the ESPHome standard code, nice! This wasn't true for quite a while after ESP-IDF support was added to ESPHome.

I assume that OTA is not (yet) implemented for the ESP-IDF-based web server. This is not an issue with the lamp firmware or with the configuration that you used.

Looked it up in the docs, and the assumption is correct. See: https://esphome.io/components/web_server#configuration-variables

ota (Optional, boolean): Turn on or off the OTA feature inside webserver. Strongly not suggested without enabled authentication settings. Defaults to true. Cannot be used with the esp-idf framework.

Closing this issue therefore, since this is not something that I can fix.