twrecked / hass-aarlo

Asynchronous Arlo Component for Home Assistant
GNU Lesser General Public License v3.0
383 stars 77 forks source link

Sorry I am really stupid... after receive code from arlo... where I have to put it? #661

Closed platini76 closed 2 months ago

platini76 commented 1 year ago

please help I did not find right place.

twrecked commented 1 year ago

Do you mean the code in the email? You have to set up 2fa to get it working

platini76 commented 1 year ago

I have intalles extension from HACS and then insert in configuration.yaml this:

aarlo: username: ____ password: _ refresh_devices_every: 2 stream_timeout: 120 reconnect_every: 90 tfahost: imap.____.it tfa_username: ___t tfa_password:

now I receive tons of emails and I don't know where I have to pot this code....

twrecked commented 1 year ago

You can ignore them, the code will read them automatically for you.

Can you see your cameras?

platini76 commented 1 year ago

Logger: custom_components.aarlo Source: custom_components/aarlo/init.py:462 Integration: aarlo (documentation, issues) First occurred: 04:00:15 (92 occurrences) Last logged: 12:52:53

unable to connect to Arlo: attempt=88,sleep=300,error=2fa core retrieval failed unable to connect to Arlo: attempt=89,sleep=300,error=2fa core retrieval failed unable to connect to Arlo: attempt=90,sleep=300,error=2fa core retrieval failed unable to connect to Arlo: attempt=91,sleep=300,error=2fa core retrieval failed unable to connect to Arlo: attempt=92,sleep=300,error=2fa core retrieval failed

twrecked commented 1 year ago

You 2FA authentication is failing. Make sure you have all the pieces in your config:

aarlo:
  tfa_source: imap
  tfa_type: email
  tfa_host: imap.host.com
  tfa_username: your-user-name
  tfa_password: your-imap-password

And double check the tfa_username and tfa_password, they probably aren't the same as your Arlo login.

If that all looks correct then turn on debug:

logger:
  default: info
  logs:
    custom_components.aarlo: debug
    pyaarlo: debug

And add this to your current aarlo config:

aarlo:
  # old config
  verbose_debug: True

And then restart, you will get more information on why it's failing.

platini76 commented 1 year ago

Waiting on integrations to complete setup: aarlo 00:08:48 – (AVVISO) bootstrap.py - il messaggio si è verificato per la prima volta alle 00:07:48 e compare 2 volte unable to connect to Arlo: attempt=1,sleep=15,error=2fa core retrieval failed 00:08:03 – (ERRORE) aarlo (integrazione personalizzata) 2fa core retrieval failed 00:08:03 – (ERRORE) aarlo (integrazione personalizzata) Setup of aarlo is taking over 10 seconds. 00:07:09 – (AVVISO) runner.py

platini76 commented 1 year ago

solved.. was an error maybe on imap authentication. not password but maybe server port.. I migrate to icloud and then solved.

twrecked commented 1 year ago

That's great news!

The Lovelace card is a separate installation. You can it on HACS.

If you've installed it then you might need to force a browser refresh, Home Assistant has aggressive caching.

platini76 commented 1 year ago

thanks!

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 365 days with no activity. This issue will be automatically closed within 28 days if there is no further activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 28 days since being marked as stale.