twrecked / hass-aarlo

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

Arlo Authentication Issue #870

Open madmycal opened 10 months ago

madmycal commented 10 months ago

Following the steps from this video I'm still having authentication issues.

At first I thought it was a secrets.yaml configuration issue, however I decided to delete the !secrets entry's directly from configuration.yaml and enter in my credentials as found below:

aarlo: tfa_source: imap tfa_type: email tfa_host: imap.gmail.com tfa_username: mynewarlogmail@gmail.com tfa_password: mynewgoogleappspecificpass username: mynewarlogmail@gmail.com password: mynewarlogmailpassword backend: sse

I did try with backend: sse, and without and got the same results.

I'm certainly not a power user so any help would be greatly appreciated!

Logs Below:

2024-01-22 17:29:27.996 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration aarlo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-01-22 17:29:28.004 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-01-22 17:29:42.864 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from aarlo, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/twrecked/hass-aarlo/issues 2024-01-22 17:29:43.210 WARNING (MainThread) [homeassistant.components.alarm_control_panel] FORMAT_NUMBER was used from aarlo, this is a deprecated constant which will be removed in HA Core 2025.1. Use CodeFormat.NUMBER instead, please create a bug report at https://github.com/twrecked/hass-aarlo/issues 2024-01-22 17:29:43.223 WARNING (MainThread) [homeassistant.components.alarm_control_panel] FORMAT_TEXT was used from aarlo, this is a deprecated constant which will be removed in HA Core 2025.1. Use CodeFormat.TEXT instead, please create a bug report at https://github.com/twrecked/hass-aarlo/issues 2024-01-22 17:29:43.227 WARNING (SyncWorker_0) [pyaarlo] body-error=JSONDecodeError 2024-01-22 17:29:43.238 WARNING (MainThread) [homeassistant.components.alarm_control_panel] FORMAT_NUMBER was used from aarlo, this is a deprecated constant which will be removed in HA Core 2025.1. Use CodeFormat.NUMBER instead, please create a bug report at https://github.com/twrecked/hass-aarlo/issues 2024-01-22 17:29:43.251 WARNING (MainThread) [homeassistant.components.alarm_control_panel] FORMAT_TEXT was used from aarlo, this is a deprecated constant which will be removed in HA Core 2025.1. Use CodeFormat.TEXT instead, please create a bug report at https://github.com/twrecked/hass-aarlo/issues 2024-01-22 17:29:43.258 WARNING (MainThread) [homeassistant.components.alarm_control_panel.const] SUPPORT_ALARM_ARM_AWAY was used from aarlo, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_AWAY instead, please create a bug report at https://github.com/twrecked/hass-aarlo/issues 2024-01-22 17:29:43.265 WARNING (MainThread) [homeassistant.components.alarm_control_panel.const] SUPPORT_ALARM_ARM_HOME was used from aarlo, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_HOME instead, please create a bug report at https://github.com/twrecked/hass-aarlo/issues 2024-01-22 17:29:43.273 WARNING (MainThread) [homeassistant.components.alarm_control_panel.const] SUPPORT_ALARM_ARM_NIGHT was used from aarlo, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_NIGHT instead, please create a bug report at https://github.com/twrecked/hass-aarlo/issues 2024-01-22 17:29:43.280 WARNING (MainThread) [homeassistant.components.alarm_control_panel.const] SUPPORT_ALARM_TRIGGER was used from aarlo, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.TRIGGER instead, please create a bug report at https://github.com/twrecked/hass-aarlo/issues 2024-01-22 17:29:44.446 WARNING (SyncWorker_0) [pyaarlo] body-error=JSONDecodeError 2024-01-22 17:29:45.466 WARNING (SyncWorker_0) [pyaarlo] body-error=JSONDecodeError 2024-01-22 17:29:46.468 ERROR (SyncWorker_0) [pyaarlo] authentication failed 2024-01-22 17:29:46.483 ERROR (SyncWorker_0) [custom_components.aarlo] unable to connect to Arlo: attempt=1,sleep=15,error=authentication failed 2024-01-22 17:29:52.876 WARNING (MainThread) [homeassistant.setup] Setup of aarlo is taking over 10 seconds. 2024-01-22 17:30:01.074 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform dlna_dmr is taking over 10 seconds. 2024-01-22 17:30:01.811 WARNING (SyncWorker_0) [pyaarlo] body-error=JSONDecodeError 2024-01-22 17:30:02.836 WARNING (SyncWorker_0) [pyaarlo] body-error=JSONDecodeError 2024-01-22 17:30:03.857 WARNING (SyncWorker_0) [pyaarlo] body-error=JSONDecodeError 2024-01-22 17:30:04.859 ERROR (SyncWorker_0) [pyaarlo] authentication failed 2024-01-22 17:30:04.864 ERROR (SyncWorker_0) [custom_components.aarlo] unable to connect to Arlo: attempt=2,sleep=30,error=authentication failed 2024-01-22 17:30:35.124 WARNING (SyncWorker_0) [pyaarlo] body-error=JSONDecodeError 2024-01-22 17:30:36.145 WARNING (SyncWorker_0) [pyaarlo] body-error=JSONDecodeError 2024-01-22 17:30:36.714 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: aarlo 2024-01-22 17:30:37.164 WARNING (SyncWorker_0) [pyaarlo] body-error=JSONDecodeError 2024-01-22 17:30:38.165 ERROR (SyncWorker_0) [pyaarlo] authentication failed 2024-01-22 17:30:38.171 ERROR (SyncWorker_0) [custom_components.aarlo] unable to connect to Arlo: attempt=3,sleep=60,error=authentication failed 2024-01-22 17:31:36.872 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: aarlo 2024-01-22 17:31:38.445 WARNING (SyncWorker_0) [pyaarlo] body-error=JSONDecodeError 2024-01-22 17:31:39.464 WARNING (SyncWorker_0) [pyaarlo] body-error=JSONDecodeError 2024-01-22 17:31:40.481 WARNING (SyncWorker_0) [pyaarlo] body-error=JSONDecodeError 2024-01-22 17:31:41.482 ERROR (SyncWorker_0) [pyaarlo] authentication failed 2024-01-22 17:31:41.490 ERROR (SyncWorker_0) [custom_components.aarlo] unable to connect to Arlo: attempt=4,sleep=120,error=authentication failed 2024-01-22 17:31:41.490 ERROR (SyncWorker_0) [custom_components.aarlo] unable to connect to Arlo: stopping retries, too may failures 2024-01-22 17:31:41.494 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration 'aarlo': Integration failed to initialize. 2024-01-22 17:31:41.497 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'aarlo.binary_sensor': Unable to set up component. 2024-01-22 17:31:41.497 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'aarlo.sensor': Unable to set up component. 2024-01-22 17:31:41.497 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'aarlo.alarm_control_panel': Unable to set up component. 2024-01-22 17:31:41.497 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'aarlo.media_player': Unable to set up component. 2024-01-22 17:31:41.498 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'aarlo.light': Unable to set up component. 2024-01-22 17:31:41.498 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'aarlo.camera': Unable to set up component. 2024-01-22 17:31:41.498 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'aarlo.switch': Unable to set up component.

twrecked commented 10 months ago

It's cloud flare blocking you.

Try adding this to your aarlo.yaml file.

version: 1
aarlo:
   ...
   send_source: true
unecc commented 10 months ago

works @madmycal ? Today me too, after solved a problem...an other problem :( image

image

aarlo: host: https://my.arlo.com username: !secret arlo_username password: !secret arlo_password mqtt_host: mqtt-cluster-z1.arloxcld.com tfa_host: 'imap.gmail.com' tfa_username: !secret GV_USER tfa_password: !secret GV_PASS backend: sse

petepall commented 10 months ago

What version are you using? If using version 0.8 you don’t need this config in the aarlo.yaml. It’s stored in the config file. Check the following link https://github.com/twrecked/hass-aarlo/issues/864#issuecomment-1908865817

ramdisk00 commented 4 months ago

What version are you using? If using version 0.8 you don’t need this config in the aarlo.yaml. It’s stored in the config file. Check the following link https://github.com/twrecked/hass-aarlo/issues/864#issuecomment-1908865817

Link doesn't work, still having problems with authentication issues. Using arlo integration .8.1.4. I do not have aarlo.yaml how do i get that change?