hass-aarlo
hass-aarlo copied to clipboard
Arlo Conection Problems
Hello,
i can't add arlo to my HA.
LOG: unable to connect to Arlo: attempt=2,sleep=30,error=authentication failed 5:25:44 PM – (ERROR) aarlo (custom integration) - message first occurred at 5:17:47 PM and shows up 6 times authentication failed 5:25:44 PM – (ERROR) aarlo (custom integration) - message first occurred at 5:17:47 PM and shows up 9 times
My configuration.yaml :
aarlo: host: https://my.arlo.com/ username: user password: pass db_motion_time: 30 db_ding_time: 10 recent_time: 10 last_format: '%m-%d %H:%M' refresh_devices_every: 2 verbose_debug: True tfa_host: 'imap.gmail.com' tfa_username: user tfa_password: pass
sensor:
- platform: aarlo
monitored_conditions:
- last_capture
- total_cameras
- battery_level
- captured_today
- signal_strength
any susgestions?
Can you look in /config/home-assistant.log
, it might have more information as to what is going wrong. There should be more errors just before the "authentication Failed" message.
If you see something about a cloudFlareError
then try adding adding this your configuration:
user_agent: linux
Hello,
this what i've got in the log:
2021-10-24 19:23:34 WARNING (SyncWorker_2) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 19:23:35 WARNING (SyncWorker_2) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 19:23:36 WARNING (SyncWorker_2) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 19:23:37 ERROR (SyncWorker_2) [pyaarlo] authentication failed 2021-10-24 19:23:37 ERROR (SyncWorker_2) [custom_components.aarlo] unable to connect to Arlo: attempt=3,sleep=60,error=authentication failed 2021-10-24 19:23:42 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: aarlo 2021-10-24 19:24:38 WARNING (SyncWorker_2) [pyaarlo] error in new response={'meta': {'code': 400, 'error': 9001, 'message': 'Resource validation error', 'validationErrors': {'_type': '_Collection', 'items': [{'propertyPath': 'email', 'invalidValue': 'user', 'message': 'Email must be between 6-190 symbols in public email format'}]}}} 2021-10-24 19:24:39 WARNING (SyncWorker_2) [pyaarlo] error in new response={'meta': {'code': 400, 'error': 9001, 'message': 'Resource validation error', 'validationErrors': {'_type': '_Collection', 'items': [{'propertyPath': 'email', 'invalidValue': 'user', 'message': 'Email must be between 6-190 symbols in public email format'}]}}} 2021-10-24 19:24:40 WARNING (SyncWorker_2) [pyaarlo] error in new response={'meta': {'code': 400, 'error': 9001, 'message': 'Resource validation error', 'validationErrors': {'_type': '_Collection', 'items': [{'propertyPath': 'email', 'invalidValue': 'user', 'message': 'Email must be between 6-190 symbols in public email format'}]}}}
Can you look in
/config/home-assistant.log
, it might have more information as to what is going wrong. There should be more errors just before the "authentication Failed" message.If you see something about a
cloudFlareError
then try adding adding this your configuration:user_agent: linux
So i need to put user_agent: linux where?
Thank you
In your aarlo
section
In your
aarlo
section
Thank you,
i add the line to aarlo section bellow tfa_password:
So this is the log now:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.2.56', port=3480): Max retries exceeded with url: /data_request?id=sdata (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c7fb490>: Failed to establish a new connection: [Errno 113] Host is unreachable')) 2021-10-24 22:10:31 WARNING (SyncWorker_6) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 22:10:32 WARNING (SyncWorker_6) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 22:10:33 WARNING (SyncWorker_6) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 22:10:34 ERROR (SyncWorker_6) [pyaarlo] authentication failed 2021-10-24 22:10:34 ERROR (SyncWorker_6) [custom_components.aarlo] unable to connect to Arlo: attempt=6,sleep=300,error=authentication failed 2021-10-24 22:11:51 ERROR (MainThread) [homeassistant.components.vera] Error communicating with Vera API OSError: [Errno 113] Host is unreachable
It's the same problem (CloudflareChallengeError
). You can try changing you user agent again and restarting. Other ones to try are:
iphone
mac
firefox
It's a pain but there and seems to be a problem with python and the cloud flare servers. It isn't even making it to the Arlo servers.
Tryed iphone, mac and firefox without sucess :(
Any more idea?
2021-10-24 23:34:40 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:34:41 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:34:43 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:34:44 ERROR (SyncWorker_0) [pyaarlo] authentication failed 2021-10-24 23:34:44 ERROR (SyncWorker_0) [custom_components.aarlo] unable to connect to Arlo: attempt=2,sleep=30,error=authentication failed 2021-10-24 23:35:14 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:35:15 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:35:16 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:35:17 ERROR (SyncWorker_0) [pyaarlo] authentication failed 2021-10-24 23:35:17 ERROR (SyncWorker_0) [custom_components.aarlo] unable to connect to Arlo: attempt=3,sleep=60,error=authentication failed 2021-10-24 23:35:25 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: aarlo 2021-10-24 23:36:18 ERROR (SyncWorker_0) [pyaarlo] imap connection failedb'[ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure)' 2021-10-24 23:36:18 ERROR (SyncWorker_0) [pyaarlo] 2fa startup failed 2021-10-24 23:36:18 ERROR (SyncWorker_0) [custom_components.aarlo] unable to connect to Arlo: attempt=4,sleep=120,error=2fa startup failed 2021-10-24 23:36:25 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: aarlo 2021-10-24 23:37:26 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: aarlo 2021-10-24 23:38:19 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:38:20 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:38:21 WARNING (SyncWorker_0) [pyaarlo] request-error=CloudflareChallengeError 2021-10-24 23:38:22 ERROR (SyncWorker_0) [pyaarlo] authentication failed
That seemed to make it further. You need an application specific password for gmail:
2021-10-24 23:36:18 ERROR (SyncWorker_0) [pyaarlo] imap connection failedb'[ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure)'
The google link will tell you how to fix the issue.
I'm haveing many different problem with my arlo camera. Untill some weeks ago all works fine, but now I'm having different problems:
- battery drain on camera connected with WiFi (Essential Camera)
- % battery not updated
- armed/Disarmed status not always sync
for the above problem I have disconnected the Arlo from H.A., hope that with feature update the problems will be fixed