We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Requesting the status of the light, does not seem to work:
$ ./keylight status --elgato-ip 0.0.0.0 --number-of-lights 1 -vvv 2024-08-12T14:36:40 [DEBUG] - response '400 Bad Request' for http://0.0.0.0:9123/elgato/lights 2024-08-12T14:36:40 [TRACE] - poll_want: taker wants! 2024-08-12T14:36:40 [INFO] - Response status: 400 Bad Request 2024-08-12T14:36:40 [INFO] - Response text: {"errors":[{"message":"Fail to parse JSON data","code":-1}]}
From what I see, the status 2 is not something my light understands:
2
keylight-cli/src/main.rs
Line 46 in bea72be
Instead of requesting a PUT to query the status, it should be a GET, I guess:
PUT
GET
Line 85 in bea72be
I found this as a reference, which works for my light: https://github.com/adamesch/elgato-key-light-api/blob/master/resources/lights/GET_lights.md
My setup:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Requesting the status of the light, does not seem to work:
From what I see, the status
2
is not something my light understands:keylight-cli/src/main.rs
Line 46 in bea72be
Instead of requesting a
PUT
to query the status, it should be aGET
, I guess:keylight-cli/src/main.rs
Line 85 in bea72be
I found this as a reference, which works for my light: https://github.com/adamesch/elgato-key-light-api/blob/master/resources/lights/GET_lights.md
My setup:
The text was updated successfully, but these errors were encountered: