JurajNyiri / pytapo

Python library for communication with Tapo Cameras
MIT License
292 stars 60 forks source link

Downloading Recordings #63

Closed peakpeak-github closed 1 year ago

peakpeak-github commented 1 year ago

Why do I need the Tapo cloud account password as I don't even use that service? Downloading from the SD card on the phone works ok.

JurajNyiri commented 1 year ago

Because the camera requires access to admin account to access some functionalities which uses your cloud password, accessing and playing recordings is one if these.

Application on phone uses it too.

peakpeak-github commented 1 year ago

Please elaborate: I do not have a cloud password, neither has the phone!

JurajNyiri commented 1 year ago

You do, its the password for your tplink account which you use to sign in into the app.

peakpeak-github commented 1 year ago

Ok, why do you call it the cloud password then? If they are the same, please mention it so we don't have to bother you.

JurajNyiri commented 1 year ago

There are two passwords, one you create for 3rd party account - local, where you provide account name and password. And another one for "admin" internal account, which uses your tplink cloud account password. One is local, one is cloud (as in, your cloud account with tplink). It is named correctly.

What you are probably thinking of, is tapo care subscription, which is tied to your cloud account, that is a completely different category.

peakpeak-github commented 1 year ago

Yes, I was supposing that the tapo care subscription was the same as 'cloud'. Thanks for explaining that. I can contact the camera through python and there are three videos and one still picture on the SD card. However I get this error when executing the code to fetch content from the SD card: File "C:\Python311\Lib\site-packages\pytapo__init__.py", line 138, in executeFunction raise Exception( Exception: Error: -71112, Response: {"method": "searchVideoOfDay", "result": {}, "error_code": -71112}

What am I doing wrong?