ratgdo / esphome-ratgdo

ratgdo for ESPHome
GNU General Public License v2.0
308 stars 75 forks source link

Can't find configuration URL #230

Closed PlinyElderATX closed 2 months ago

PlinyElderATX commented 2 months ago

What is the configuration URL - when clicking "visit device" after flashing ESPHome I simply get the page for status, etc. I've tried guessing a few obvious URLs /config, /configuration, /settings but no dice. I really want to secure this thing a bit more but have no earthly idea how to get to the config URL

rlowens commented 2 months ago

ESPHome doesn't have a separate configuration page on the device's webserver. Everything changeable at run-time is on the main page.

All configuration beyond that is done by editing the device .yaml file in the ESPHome Dashboard (or otherwise if using ESPHome via the command line) and compiling and uploading a new firmware binary.

Re:security: To enable authentication on the webserver, see https://esphome.io/components/web_server.html#configuration-variables and use the auth: option like this:

web_server:
  auth:
    username: somename
    password: somepassword

Or if you prefer to not have a web server on the device (so it is only controlled via Home Assistant, or MQTT if enabled manually), you can remove it in your .yaml with this:

#custom modifications using https://esphome.io/guides/configuration-types.html
web_server: !remove
PlinyElderATX commented 2 months ago

Ah I see- thx