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

Add support for setting LED status #196

Open
phavekes opened this issue Apr 8, 2023 · 0 comments
Open

Add support for setting LED status #196

phavekes opened this issue Apr 8, 2023 · 0 comments

Comments

@phavekes
Copy link

phavekes commented Apr 8, 2023

It's possible to control the hub LED status by sending HTTP PUT to:
https://app.api.surehub.io/api/device/<deviceid>/control
with a JSON body like :
{"led_mode":4}
I found LED modes:

  1. Off
  2. Bright Green
  3. invalid
  4. invalid
  5. Dimmed Green
  6. invalid

Could this be added to the lib?

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

1 participant