raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.32k stars 3.01k forks source link

[Hue] Too many requests #4929

Closed astrit closed 1 year ago

astrit commented 1 year ago

Extension

https://www.raycast.com/pindab0ter/hue

Description

Even tho I managed to connect successfully after a while it throws this error, it usually work only the first time

CleanShot 2023-02-23 at 11 34 31@2x

@pindab0ter

Steps To Reproduce

  1. Open Raycast
  2. Open one of the commands ( Control Groups, Lights, Set Scene )

Current Behaviour

No response

Expected Behaviour

No response

raycastbot commented 1 year ago

Thank you for opening this issue!

🔔 @pindab0ter @thomaspaulmann @robertvanhoesel you might want to have a look.

💡 Tip: Once the issue is resolved, comment @raycastbot close this issue to close it.

pindab0ter commented 1 year ago

Hey, this is something that I noticed, too. I currently don't have the time to look into this.

Some things to note, though. The library that is used to interface with Hue does (should) honor rate limiting.

Something that I can think of that could possibly be an issue is multiple calls because a view is rendered multiple times when it should only be rendered once.

If anyone is willing to look into this, that'd be great!

pindab0ter commented 1 year ago

I've made some improvements in #5647 that hopefully result in the 429 error not happening unwarranted any more.

Please let me know if you still experience the issue after you've tried the update once it is available.