I just installed Configurator in HA. Every time I open the Configurator from HA I get the login attempt failed notification. Everything works fine but this keeps popping up. Has anyone ran into this before?
Are you sure that you’ve entered the right password in the configurator’s settings? This can happen, and while everything will seem to be working, the entity list in the configurator will be unavailable because it won’t be able to access Homeassistant’s API.
I’m using the legacy password. Where would I put that in the configurator’s settings?
@Dayve67 Try putting it under HASS_API_PASSWORD
. That should make the configurator use the password when connecting.
I tried that. Do I need to put quotes around the password cause I tried both ways. With and without.
Hmm. I would also try removing api_password from Homeassistant’a configuration restarting, and generating a long-lived access token through your profile page in Hass, and then using that instead for the configurator config entry.
If the configurator still started when trying without quotes, then you’re doing something wrong. That would be a syntax error and the configurator wouldn’t be able to start at all.
I assume you are using the standalone version. It’s not the best idea to hardcode your settings into the configurator.py file. You should either pass them via environment variables (like the systemd unit does), or use an external settings.conf file (mentioned here).
One note regarding the legacy password: the configurator will interpret passwords with 2 dots (like abc.def.ghi
) as long lived access tokens (because they always have that format). So in case your legacy password has 2 dots, that could be an issue.
And you have to restart the configurator every time you make a change to the config.
That’s what I was doing wrong. I assumed it read the config file when opening. Thank you.