benleb / surepy

🐾 Library & CLI to monitor and control the Pet Door & Cat Flap Connect 🚪 the Pet Feeder Connect 🍽 and the Felaqua 💦 sold by Sure Petcare
https://pypi.org/project/surepy/
MIT License
76 stars 36 forks source link

Add support for setting LED status #196

Open phavekes opened 1 year ago

phavekes commented 1 year ago

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?