I've seen the other issues posted in which people recently have had trouble connecting to their devices. My issue might be a little different, not sure.
I have several P100's. Some of them are hardware version 1.20.0 with up-to-date firrmware 1.4.18... other P100's are newer hardware 2.0 with up-to-date firmware 1.2.1. The former still work fine with PyP100. The latter no longer work. When I call plug.handshake(), I get this:
File "/home/stephen/.local/lib/python3.10/site-packages/PyP100/PyP100.py", line 129, in handshake
encryptedKey = r.json()["result"]["key"]
KeyError: 'result'
In my python script that uses the PyP100 module, nothing has changed... the only thing that's happened (I think) is the firmware on some devices was upgraded, likely the hardware 2.0 devices.
I've seen the other issues posted in which people recently have had trouble connecting to their devices. My issue might be a little different, not sure.
I have several P100's. Some of them are hardware version 1.20.0 with up-to-date firrmware 1.4.18... other P100's are newer hardware 2.0 with up-to-date firmware 1.2.1. The former still work fine with PyP100. The latter no longer work. When I call plug.handshake(), I get this:
File "/home/stephen/.local/lib/python3.10/site-packages/PyP100/PyP100.py", line 129, in handshake encryptedKey = r.json()["result"]["key"] KeyError: 'result'
In my python script that uses the PyP100 module, nothing has changed... the only thing that's happened (I think) is the firmware on some devices was upgraded, likely the hardware 2.0 devices.