dimme / tapo-cli

Command-line utility for batch-downloading your videos from the Tapo TP-Link Cloud.
22 stars 2 forks source link

getting error code -20571 device is offline, even it is online #4

Open jkyngan opened 6 months ago

jkyngan commented 6 months ago

I have successfully logged in and obtained authorization. It is capable of displaying my list of devices. However, when I attempt to list videos, it returns no results. Furthermore, executing the command list-devices-info indicates that all devices are offline, despite them actually being online.

im using C210 camera

kurniady commented 4 weeks ago

this happens because the service address is incorrect. if you're in Asia, change line https://github.com/dimme/tapo-cli/blob/main/tapo-cli.py#L59 to aps1 instead of euw1 for example.

ideally this can be done automatically, because the cli does detect your region correctly and save to config file. but not for the POST addresses