Closed omarshahine closed 1 year ago
Thank you for opening this issue!
🔔 @thomaspaulmann you might want to have a look.
💡 Tip: Once the issue is resolved, comment @raycastbot close this issue
to close it.
This popped up before and would be indeed nice. Want to help by contributing? Happy to steer you in the right direction.
I actually spent a bit of time and am kind of stuck.
bonjour.find can enumerate more than one light. bonjour.findOne just gets one.
The issue is that I can't quite figure out how to store the resulting lights in an array and then return by resolving the promise without doing so too early.
also I found this other NPM package that might help but it doesn't seem to work with me:
@thomaspaulmann I have a working version now. To make it work I added a pref asking the end user how many lights they have. That is needed to get this to work but I am sure that it could be improved to remove this need for a preference. I'll submit a PR.
Submitted the pull request https://github.com/raycast/extensions/pull/4821
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊
Extension
https://www.raycast.com/thomas/elgato-key-light
Description
I have two Elgato KeyLights, it would be awesome to have this control a "pair" as I have configured in the Elgato app.
Who will benefit from this feature?
Anyone with a pair of lights
Anything else?
No response