fishbigger / TapoP100

A module for controlling the TP-Link Tapo P100 Plugs
MIT License
566 stars 138 forks source link

P105? #138

Open fmarzocca opened 3 months ago

fmarzocca commented 3 months ago

I can't get this working on a P105:

  File "/home/boss/.node-red/assets/./TapoP100.py", line 33, in <module>
    p100.handshake()
  File "/usr/local/lib/python3.11/dist-packages/PyP100/PyP100.py", line 129, in handshake
    encryptedKey = r.json()["result"]["key"]
                   ~~~~~~~~^^^^^^^^^^
KeyError: 'result'
KaiHomeier commented 3 months ago

This error popped up from nowhere on my bulb as well. I migrated my project to https://github.com/petretiandrea/plugp100 which is working fine now.