Comments (9)
Hi Len,
I'm not aware of any changes. I'll do a little testing later today.
from arlo.
Hey Len, as far as I can tell, nothing has changed. I logged into their UI and watched the requests. Can you check the system time on your pi?
from arlo.
The system time is correct, and I've rebooted several times.
It looks like the login succeeds, and then it returns a "401 Client Error: Unauthorized" error while trying "basestations = arlo.GetDevices('basestation')"
from arlo.
Odd. It works fine for me. I just tested. Stupid question here, but did you happen to change your password or anything like that?
Edit: Nevermind, I see you said you didn't change your login info.
from arlo.
Or update any python packages?
from arlo.
Can you add some debugging to Arlo.py for me? Maybe dump the r in the line that does the http request.
r = requests.get(url, headers=headers, cookies=cookies, stream=stream)
from arlo.
Well (blush) I did try updating stuff when it starting failing, so I don't want you to spend a lot of time on this. I might have my PI in an inconsistent state. But it started failing (on both my systems, which use different logins) before I changed anything; I've never changed the userids or passwords.
Using the original 2-year-old code, logging in appears to succeed.
Before the line "r = requests.get(url, headers=headers)" in the get function,
the url is 'https://arlo.netgear.com/hmsweb/users/devices'
and headers is { 'Authorization': '2_5ZUbjyTDdO-odN1dYkQIsPeMbWOcrRtLNin0STbxS_ZmIibW32sprYHvcoVToh_HmCLtFY2NhIju7WRdZyPEbjlpeQ2ffllftvJ3b46j8LaTY9weHJ6PBsTfk2U0JyEzGy_Xz0l23M_b1jqnBhLNtzTcieuvdIA75Apj75-PsHhH'}
Then after requests.get the result r is <Response [401]>
and it raises an exception.
from arlo.
Guess what? Several weeks after it started failing, it suddenly starting working again, without me doing anything! This is for two different Raspberry Pis controlling different cameras with different account logons in different houses in different cities. (I had updated the Python version on one of them when the problem started, but the other one hasn't been touched in two years.)
I can only surmise that Arlo temporarily broke something in the way they respond to the commands that your two-year-old code issues, but then fixed it.
Sorry for the false alarm...
from arlo.
Great news! Thanks for the update. I would highly recommend checking out the latest and greatest code. The API hasn't changed all that much (it has changed) and there have been several bug fixes and new APIs added. That being said, if it ain't broke... :)
from arlo.
Related Issues (20)
- Support for the multiple verification emails HOT 1
- localhost:7788 not found error after "Arlo wants access to your Google Account" screen HOT 52
- Feature Request - Local Storage file download HOT 5
- Arm/Disarm Throws an error - Validated Auth/MFA was successful HOT 20
- Feature Request - Doorbell HOT 1
- How to get the current status (Armed or Disarmed) HOT 2
- 413 Client Error: Request Entity Too Large for url: https://myapi.arlo.com/hmsweb/users/library/recycle HOT 2
- Error on login API - Forbidden for url: https://ocapi-app.arlo.com/api/auth -
- Error on login API - Forbidden for url: https://ocapi-app.arlo.com/api/auth HOT 19
- 401 Client Error: for url: https://my.arlo.com/hmsweb/users/devices HOT 3
- Support for Docker? HOT 1
- 'Origin': f'https://{self.BASE_URL}', SyntaxError: invalid syntax HOT 1
- Feature ? HOT 1
- email factorRole SECONDARY throws StopIteration HOT 4
- Mode Changing no longer works / other functions work with same credentials HOT 7
- [Arlo Pro 4] is basestation required for python interaction
- GetRules() hangs, seemingly, forever
- oauthlib.oauth2.rfc6749.errors.MismatchingStateError: (mismatching_state) CSRF Warning! State not equal in request and response. HOT 3
- 403 Client Error: Forbidden for url: https://ocapi-app.arlo.com/api/auth HOT 19
- Feature request: move away from Arlo's cloud/use cameras as standalone
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arlo.