Closed robozb closed 1 year ago
OK, the problem is solved partialy, I mistyped the IP address string(+1 space) "192.168.0.27 " ->"192.168.0.27" But now the auth data is incorrect, even so I can connect to the camera(stream) by VLC:
Anyway which credentials should I use?
I mention it this is a Tapo-C110 :)
Thanks!
(virt) pytapo@rpi4:~/pytapo $
python3 tapo.py
Traceback (most recent call last):
File "/home/pytapo/pytapo/tapo.py", line 7, in <module>
tapo = Tapo(host, user, password)
File "/home/pytapo/pytapo/virt/lib/python3.9/site-packages/pytapo/__init__.py", line 45, in __init__
self.basicInfo = self.getBasicInfo()
File "/home/pytapo/pytapo/virt/lib/python3.9/site-packages/pytapo/__init__.py", line 364, in getBasicInfo
return self.executeFunction(
File "/home/pytapo/pytapo/virt/lib/python3.9/site-packages/pytapo/__init__.py", line 105, in executeFunction
data = self.performRequest(
File "/home/pytapo/pytapo/virt/lib/python3.9/site-packages/pytapo/__init__.py", line 128, in performRequest
self.ensureAuthenticated()
File "/home/pytapo/pytapo/virt/lib/python3.9/site-packages/pytapo/__init__.py", line 65, in ensureAuthenticated
return self.refreshStok()
File "/home/pytapo/pytapo/virt/lib/python3.9/site-packages/pytapo/__init__.py", line 84, in refreshStok
raise Exception("Invalid authentication data")
Exception: Invalid authentication data
You need to create a camera account via the Tapo app first. Or you can use "admin" username and your tplink cloud password, some cameras allow control only through that account.
You do not need to disable 2FA.
Dear @JurajNyiri,
What user/password are good here throws exception in the python prg :(
The host is the ip address of the camera?
Happy New Year!
Bela
None of the checked user/password pairs were good :(
Neither the app credentials nor the camera’s :(
Both case throw auth exception.
Thanks for any help!
Use "admin" username and your tplink cloud password.
Dear @JurajNyiri,
Awesome!!! Now I can access the camera :)
So the credentials: Username: "admin" Password: WEB/ (IOS)APP password (not the camera account password!) Host: IP of the camera on localhost!
Thanks: Bela
Incredible, the privacy settings works as well!
tapo.setPrivacyMode(False)
Thank you so much!
Dear Developers,
What do You think, can I access my TP-Link C110 With this library? The first trying wasn't successful :( I'd like to turn on/off the "privacy mode".
Thanks: Bela