hass-aarlo
hass-aarlo copied to clipboard
No Motion Detected Event. Wired Doorbell
Did my best to debug this one but I am a little confused. I have a wired doorbell only in my setup. I have no issues using the pyaarlo library outside of HA but inside I get no motion events. I have the following logging enabled and the following setup sensors.
logger:
default: info
logs:
custom_components.aarlo: debug
custom_components.aarlo.alarm_control_panel: debug
custom_components.aarlo.binary_sensor: debug
custom_components.aarlo.camera: debug
custom_components.aarlo.light: debug
custom_components.aarlo.media_player: debug
custom_components.aarlo.sensor: debug
custom_components.aarlo.switch: debug
pyaarlo: debug
aarlo:
username: !secret arlo_username
password: !secret arlo_password
verbose_debug: true
tfa_source: imap
tfa_type: email
tfa_host: imap.gmail.com
tfa_username: !secret arlo_tfa_email_username
tfa_password: !secret arlo_tfa_email_password
packet_dump: true
camera:
- platform: aarlo
binary_sensor:
- platform: aarlo
monitored_conditions:
- motion
- ding
- connectivity
From packet.dump this is all that I get:
2021-09-27 14:34:42.935158: ev_loop start
2021-09-27 14:34:42.935890: {'status': 'connected'}
2021-09-27 14:36:26.332937: {'status': 'connected'}
2021-09-27 14:38:09.417205: {'status': 'connected'}
2021-09-27 14:39:52.564413: {'status': 'connected'}
2021-09-27 14:41:35.683072: {'status': 'connected'}
2021-09-27 14:43:18.775449: {'status': 'connected'}
2021-09-27 14:45:02.120140: {'status': 'connected'}
2021-09-27 14:46:45.105030: {'status': 'connected'}
2021-09-27 14:48:28.232666: {'status': 'connected'}
2021-09-27 14:50:11.373830: {'status': 'connected'}
2021-09-27 14:51:54.474391: {'status': 'connected'}
2021-09-27 14:53:37.956046: {'status': 'connected'}
I feel like I am missing like one thing but I don't know what it is. Any ideas?
I thought this might help too. Looks like I am getting an error with SSE
2021-09-28 13:44:07 DEBUG (ArloBackgroundWorker) [pyaarlo] fast refresh
2021-09-28 13:44:07 DEBUG (ArloBackgroundWorker) [pyaarlo] NO ping to A2G201KXA40AF
2021-09-28 13:44:07 DEBUG (ArloBackgroundWorker) [pyaarlo] no mode reload
2021-09-28 13:44:07 DEBUG (ArloBackgroundWorker) [pyaarlo] no device reload
2021-09-28 13:44:07 DEBUG (ArloBackgroundWorker) [pyaarlo] day testing with 2021-09-28!
2021-09-28 13:44:18 DEBUG (ArloEventStream) [pyaarlo] sseclient-error=ChunkedEncodingError
2021-09-28 13:44:21 DEBUG (ArloEventStream) [pyaarlo] Fetching device list after ev-reconnect
2021-09-28 13:44:21 DEBUG (ArloEventStream) [pyaarlo] get+response running
2021-09-28 13:44:21 DEBUG (ArloEventStream) [pyaarlo] request-url=https://myapi.arlo.com/hmsweb/users/devices?t=1632858261336
2021-09-28 13:44:21 DEBUG (ArloEventStream) [pyaarlo] request-params=
{}
2021-09-28 13:44:21 DEBUG (ArloEventStream) [pyaarlo] request-headers=
{}
2021-09-28 13:44:21 DEBUG (ArloEventStream) [pyaarlo] request-end=200
2021-09-28 13:44:21 DEBUG (ArloEventStream) [pyaarlo] request-body=
I'll sometime see those ChunkedEncodingError
entries so it's not the end of the world.
Can you look in the logs for the motionDetected
keyword?
Can you paste the pyaarlo
call you use outside of HA, it really shouldn't make a difference but it's worth a look. Mins the sensitive bits obviously.
edit: there should be more in that packet dump for sure.
I also have problems with the motion detection, all of a sudden. Motion is detected in the Arlo-app. But its not forwarded to Home Assistant. Been working fine until a couple of days ago. No debugs, nothing..
Mine is a Wireless Doorbell.
Can you try the 7.2 release? It uses Arlo's new event system.
Updated yesterday to v0.7.2b1, same problem.
Can you post your config - just the aarlo
piece minus the sensitive bits.
Also, did the admin access change for the account?
And. do you know if the motion events work on the my.arlo.com
website? If they do, the changes Arlo have made actually make debugging easier.
aarlo:
username: !secret arlo_username
password: !secret arlo_password
user_agent: random
tfa_source: push
tfa_type: PUSH
stream_snapshot: True
Only this one or do you also need the sensors etc?
My Arlo user has full access as before. The only recent changes made by me is going from from 2fa-email to 2fa-push. Arlo-app is still detecting motion as normal.
That's good. Does it work when you start up or just never work?
And can you try the my.arlo.com website. We use that interface, not the app interface, to talk to Arlo so if you can check we're seeing the motion events on my.arlo.com
that would be great.
If you feel comfortable enough, you can share the device with me and I can take a look from here.
My email: [email protected]
Tried out the website and yeah it seems to detect motion. Device shared.
I got the device. How often does the motion happen? Or can you trigger it? I'll leave the website open for a few minutes.,
Triggering now
Thanks. I was looking at the arlo website and now I just started my test home assistant system.
Unfortunately, I forgot I need to head out so I'll just leave the backend running, it'll collect all the packets I'll need.
If you're uncomfortable sharing then remove access in 15 minutes, I should have lots of stuff by then.
And sorry, I'll try and look at this later.
No worries. I'll let you have access for 15 min. Get back to me if you need anything. Thanks for trying to solve this.