Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handshake() fails #144

Open
RustieNewton opened this issue Jan 8, 2025 · 1 comment
Open

Handshake() fails #144

RustieNewton opened this issue Jan 8, 2025 · 1 comment

Comments

@RustieNewton
Copy link

the creation of cookies in handshake() fails with key error "result", which is an unhelpful error report,
has the firmware updated

rustie@rustie-Inspiron-15-3515:~$ python3 lamps.py
Traceback (most recent call last):
File "/home/rustie/lamps.py", line 5, in
p110.handshake() #Creates the cookies required for further methods
File "/home/rustie/.local/lib/python3.10/site-packages/PyP100/PyP100.py", line 129, in handshake
encryptedKey = r.json()["result"]["key"]
KeyError: 'result'

@Kuba77cz
Copy link

Try this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants