Comments (10)
I can use this library to do a lot of things with my Arlo cameras, but unfortunately, it doesn't seem to have any functions to download the videos stored on the base station. Another user came up with a proof of concept here: https://github.com/jesserockz/python-arlo-ratls-poc
It was apparently written before the change to using 2FA security, so I haven't been able to make it work. I've tried to incorporate it into this library on my own but haven't been successful due to my lack of python knowledge.
As a workaround, I bought a WIFI storage card and use it in my base station. I've written a program that polls the SD card for new files and downloads them to my webserver. It is quite a kludge. This is not ideal but at least I can view the videos.
from pyaarlo.
Thanks for the lead! I bet I can get that working with this library.
from pyaarlo.
Let me know how this goes. I want to get this integrated into Pyarlo - or made a requirement so I can hook into it - I've just been busy elsewhere for the last few weeks.
from pyaarlo.
I actually got this working to the point of automatically downloading videos from my base station, but I suspect there's some refactoring that needs to be done to better fit with the existing code base. I'll try to clean it up a bit this weekend and submit a PR.
Through this I learned that not all of my recordings are being uploaded to the cloud...
from pyaarlo.
Sounds awesome, I would love to get rid of my external WiFi solution. And you are correct about some recordings not uploading to the cloud. I had the same issue and decided to get the recordings straight from the base station and eliminate the need to pay for the cloud. I've been running without a cloud subscription for a year now.
from pyaarlo.
I just had a chance to try phene's support-ratls branch, but I'm getting ModuleNotFoundError: No module named 'cryptography'
Could someone point me to where I can find the cryptography module on GitHub? Sorry, I'm a total newb.
from pyaarlo.
I just added it to the requirements.txt -- sorry about that!
https://pypi.org/project/cryptography/
from pyaarlo.
Thanks! I have cryptography installed now and I tried your example. I get the messages:
Connecting to base station Arlo Base: A283087RA0E9F
Downloading media from Arlo Base...
request-error=URLError
followed by a long error message ending in:
line 321, in _fetch_library
if "data" in data:
TypeError: argument of type 'NoneType' is not iterable
from pyaarlo.
@Jeff-Rand are there any days in which you don't have videos within the library_days
period? I've pushed a fix for that specific error, but I'm concerned about the details of that URLError.
Consider adding self._arlo.warning(f"Downloading {self.video_url} to {filename}...")
to the top of both download_video
methods in media.py
. I wonder if you have non-2k videos on your base station, which is causing it to load the wrong object. If you can send me some some of the output, I could probably mitigate it.
Also, can we move this discussion to the PR?
from pyaarlo.
@Jeff-Rand I've updated the branch to support non-2k videos on the base station.
from pyaarlo.
Related Issues (20)
- Arlo Go V2 HOT 3
- Arlo Streams Stopped Working HOT 1
- Arlo Recently added Automation v3 - are you supporting that? HOT 1
- Problem downloading media from the base station due to the new year.
- body-error=JSONDecodeError HOT 8
- authentication error HOT 89
- SSL: CERTIFICATE_VERIFY_FAILED HOT 10
- general-error=gaierror HOT 2
- Can't restart cameras HOT 1
- AttributeError: 'ArloBase' object has no attribute 'update_resources' HOT 3
- 2FA via Push ?
- 2nd Instance / Session possible? HOT 2
- Authentication Failed HOT 13
- Unable to download videos past 1 day
- OAuth2 support HOT 1
- Unable to read mode, try forcing v2 HOT 5
- Failed to open ratls port HOT 4
- 2FA not parsing mail properly? HOT 15
- Failed to read current modes correctly HOT 17
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 pyaarlo.