You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the same issue and I think this is not a normal behaviour. There might some differences between the release version under pip repositories and this one
Hello,
I'm having an issue using PyP100
from PyP100 import PyP100
p100 = PyP100.P100("192.168.X.X, "[email protected]", "MyPaSsWoRd!")
p100.handshake()
p100.login()
p100.turnOffWithDelay(45)
here's what I get when I execute the script :
root@raspberrypi:/usr/local/bin# shutdown_with_tapo.sh
Traceback (most recent call last):
File "/usr/local/bin/scripts/tapo_off.py", line 6, in
p100.handshake()
File "/usr/local/lib/python3.9/dist-packages/PyP100/PyP100.py", line 129, in handshake
encryptedKey = r.json()["result"]["key"]
KeyError: 'result'
The text was updated successfully, but these errors were encountered: