hopeful wrote: > I am struggling to work out how to specify an API password. I installed > Home Assistant using a Pi image and have a password to enter on the web > page when I go to http://hassio.local:8123 > This isn't the same password as the API password is it? Also, isn't the > API password feature is now deprecated? > > Do I need to modify the following lines in configuration.yaml and add a > line 'api_password: !secret http_password'? > > # Uncomment this if you are using SSL/TLS, running in Docker container, > etc. > # http: > # base_url: example.duckdns.org:8123 > > Do I also need to add the following? > > auth_providers: > - type: legacy_api_password > > Colin
In the configuration.yaml file the following entry is required in the http section to set the API password: -http: # Secrets are defined in the file secrets.yaml api_password: !secret http_password # Uncomment this if you are using SSL/TLS, running in Docker container, etc. base_url: !secret base_url ssl_certificate: /ssl/fullchain.pem ssl_key: /ssl/privkey.pem- In my secrets.yaml file the following entries: -http_password: HA_API_Password base_url: https://HA_Link.duckdns.org - Hope that helps. Ynot. *software* - logitech media server version: 7.9.1, home assistant 0.75.3, dialogflow - v.2 api, lms controls app - voice control of lms, openmediavault 4.1.9 - storage *add-ons* - spotty, upnp / dlna bridge, chromecast bridge, *players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player v1.4.0, airplay to googlehome and minis *hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.16.5 ------------------------------------------------------------------------ ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569 View this thread: http://forums.slimdevices.com/showthread.php?t=109273 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
