Open
Description
File "python/site-packages/PyP100/PyP100.py", line 129, in handshake
encryptedKey = r.json()["result"]["key"]
KeyError: 'result'
I checked the response and it happens to be: {'error_code': 1003}
I am trying to set a connection with my TpLink Tapo L530 bulb and run this code to turn it on and off:
from PyP100 import PyL530
l530 = PyL530.L530("IP Address", "Mail ID", "Password")
l530.handshake()
l530.login()
l530.turnOn()
l530.turnOff()
l530.turnOn()
How do I tackle this issue?
Metadata
Metadata
Assignees
Labels
No labels