Anyone tried the new 0.77 beta 1 and having issues with the new authentication method and Appdaemon starting? Just putting it out there before I start fault finding…
appdaemon isnt working with the new authentication yet.
so please keep using the old method untill there is an update from AD. i know that it is on the top from the priority list from @aimc
Thanks for the prompt response - not sure I can rollback this now? All good, will just switch back to yaml for now. My bad, should have asked prior to the install…
if i am correct you can still use the old way of authentication in the newer versions from HA.
and it should be possible to get back. but dont ask me how
if i remember correct there was something about that in the blog
I was under the impression with the api_password still configured it would have still worked.
WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
no, if i am correct you need to disable the new style by adding a line to the http section.
Pretty sure you can have both enabled
auth_providers:
- type: homeassistant
- type: legacy_api_password
thanks, found the doco and trying this now
Any idea as to what we do with this section now?
http:
api_password: !secret api_password
you still need that, that is where the old api password is set
thanks for the heads up - still not working… I will dig deeper
Do you have this in your configuration.yaml to enable the auth
auth:
auth_providers:
- type: homeassistant
- type: legacy_api_password
just this and the http entry
trying to find the doco…
that link isnt working.
but if you still have trouble allthough you have the correct settings, this issue could be helpfull.
https://github.com/home-assistant/home-assistant/issues/15687
Thanks Rene, nothing worked in the end - AD remains disconnected. The conflicting advice on Discord was not helping in the end.
thats bad.
did you have any errors?
they say it should work with the extra lines.
how is your HA and AD setup? venv, docker, hassio?
The changes even between the betas release are confusing and is moving at a very fast pace to keep up. Errors were very limited, but it was an authentication error in the end…I have commented these two lines out and will do some more testing as the ip of my HA machine was banned?
api_password: !secret api_password
ip_ban_enabled: true
login_attempts_threshold: 5
HA on Ubuntu in a virtual env, with Appdaemon in its own virtual env as well. Have not needed/used an Api_key in the past, but was told it now needed one to work. That did not work either.
2018-08-27 16:51:22.719246 INFO AppDaemon: HASS: Connected to Home Assistant 0.77.0b2
2018-08-27 16:51:22.727946 WARNING AppDaemon: HASS: Error in authentication
2018-08-27 16:51:22.728458 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-08-27 16:51:27.743129 INFO AppDaemon: HASS: Connected to Home Assistant 0.77.0b2
2018-08-27 16:51:27.753594 WARNING AppDaemon: HASS: Error in authentication
2018-08-27 16:51:27.754048 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-08-27 16:51:32.771545 INFO AppDaemon: HASS: Connected to Home Assistant 0.77.0b2
2018-08-27 16:51:32.784582 WARNING AppDaemon: HASS: Error in authentication