tchellomello / python-arlo

Python Arlo is a library written in Python 2.7/3x that exposes the Netgear Arlo cameras as Python objects.
GNU Lesser General Public License v3.0
100 stars 35 forks source link

Mode Endpoint has Changed #92

Open jwillaz opened 6 years ago

jwillaz commented 6 years ago

When changing modes (Armed, Disarmed, etc), a POST is now made to a different endpoint:

https://arlo.netgear.com/hmsweb/users/devices/automation/active

with a payload similar to the following:

{ "activeAutomations":[ { "deviceId":"xxxxxxxxxx", "timestamp":1531211943092, "activeModes":[ "mode1" ], "activeSchedules":[ ] } ] }

Nicxe commented 6 years ago

Any progress in this issue?

tchellomello commented 6 years ago

@Nicxe sorry I've been a little busy lately but hopefully, someone will take this issue.

collse commented 6 years ago

Has there been any movement on this - seems like its now affecting the front/back end performance as well

nzben commented 6 years ago

I'm picking this up. I'd be keen to understand where you see the data posted @jwillaz. When I post that payload (with my deviceId and current timestamp) I get

{u'data': {u'message': u'Failed to update Automation Definitions', u'reason': u'Unable to upload active automation. Please try again', u'error': u'AUTO-5050'}, u'success': False}

teqnet commented 5 years ago

@nzben Any progress here. My arlo is unknown 50% of the time (every seccond sample)

teqnet commented 5 years ago

Update of alarm_control_panel.arlo_t is taking over 10 seconds

JesperSkagerberg commented 5 years ago

I am also very interested in the progress. Thank you in advance.

zemerick1 commented 5 years ago

Would love this to work so I could utilize some automation. I've ran several basic troubleshooting tasks using pyarlo directly.

View mode View available modes Set mode View new mode

It is really hit or miss. Sometimes it will return 'none' as the new set mode. sometimes it will return the same mode as the current set mode, indicating it never got changed. Not sure it is the code as much as it is Arlo.

nzben commented 5 years ago

I'm not sure if @jwillaz initial issue is correct, because as I posted back in November, I can't get any valid response, nor any valid mode change.

zemerick1 commented 5 years ago

I'm not sure if @jwillaz initial issue is correct, because as I posted back in November, I can't get any valid response, nor any valid mode change.

Yeah, I may be in the wrong thread. However, there is an issue where the mode won't change.

collse commented 5 years ago

its not only the mode change that is broken, I added another camera yesterday and it doesnt show up either - I think the entire component needs reviewing - unfortunately it seems no one has the time or skill at the moment to address the issues ...