Skip to content

Major improvement to Elgato Key Lights #18532

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

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
1f54a34
Improve Elgato Key Light controls: Replace showHUD with showToast, ke…
omarshahine Mar 15, 2025
3bf2b98
Update Elgato Key Light changelog: Enhance controls with showToast, m…
omarshahine Mar 15, 2025
4c46501
Add validation for cached lights and introduce "Discover Lights" comm…
omarshahine Mar 15, 2025
166a823
Remove unused import of showHUD from Elgato Key Light extension to st…
omarshahine Mar 15, 2025
8c9af26
Update Elgato Key Light extension: Add Prettier as a dependency, modi…
omarshahine Mar 15, 2025
1be8557
Enhance Elgato Key Light extension: Improve user interface with clear…
omarshahine Mar 15, 2025
eda0b8e
Update elgato.ts
omarshahine Mar 15, 2025
da32dc4
Adding all features from PR 17822
omarshahine Mar 15, 2025
c2e06af
Refactor Elgato Key Light extension: Update dependencies, enhance cac…
omarshahine Apr 11, 2025
d2a64f3
fixing changelog
omarshahine Apr 11, 2025
d520b75
Updated changelog
omarshahine Apr 11, 2025
d71d1a6
Update Elgato Key Light extension: Change ESLint configuration to use…
omarshahine Apr 12, 2025
e38c201
Change service property visibility from private to protected in KeyLi…
omarshahine Apr 12, 2025
fd81520
Change service property visibility from protected to public in KeyLig…
omarshahine Apr 12, 2025
2924780
Changed name of command to Toggle Lights
omarshahine Apr 12, 2025
414482b
logic: This logic is incorrect. When increasing temperature, you're u…
omarshahine Apr 12, 2025
3827aa9
Update Elgato Key Light extension: Modify toggle command title for cl…
omarshahine Apr 12, 2025
84df173
using showFailureToast
omarshahine Apr 12, 2025
8f7c5b7
Merge branch 'elgato-enhancements' of https://github.com/omarshahine/…
omarshahine Apr 12, 2025
4cfaf4b
showFailureToast
omarshahine Apr 12, 2025
183eb28
showFailureToast
omarshahine Apr 12, 2025
15eb276
showFailureToast
omarshahine Apr 12, 2025
889449f
showFailureToast
omarshahine Apr 12, 2025
cbb5f09
Merge branch 'elgato-enhancements' of https://github.com/omarshahine/…
omarshahine Apr 12, 2025
428e904
Add icon property to preset data in create-preset.ts
omarshahine Apr 12, 2025
df4dbce
Remove unused Toast import from PresetForm component
omarshahine Apr 12, 2025
c5d0e47
Update Elgato Key Light extension: Rename toggle command title for cl…
omarshahine Apr 12, 2025
505a496
Updating to latest Raycast API
omarshahine Apr 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extensions/elgato-key-light/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
"extends": ["@raycast/eslint-config"]
}
26 changes: 24 additions & 2 deletions extensions/elgato-key-light/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
# Elgato light Changelog
# Elgato Key Light Changelog

## [1.1.0] - {PR_MERGE_DATE}
## [Improved Controls and Feedback] - {PR_MERGE_DATE}

User Interface Improvements
- Replace showHUD with showToast for better visual feedback
- Keep Raycast window open after commands for easier adjustments
- Rename temperature commands to "Warmer" and "Cooler" for clarity
- Show temperature values in Kelvin (2900K-7000K) instead of percentages

Technical Improvements
- Add proper error handling and undefined checks
- Add separate error handling for discovery and command operations
- Fix temperature control logic to properly handle min/max values
- Update bonjour package to fix deprecation warnings
- Improve caching mechanism for discovered lights
- Add validation of cached lights to ensure they are still reachable
- Synchronize all lights to the same values when adjusting settings

New Features
- Add "Discover Lights" command to force fresh discovery of lights
- Add comprehensive error messages for connection issues
- Add development mode logging for better debugging

## [1.1.0] - 2025-04-11

- Added support for creating and saving custom presets
- Quick access to default presets (Default, Night, Day, Warm, Cold)
Expand Down
26 changes: 26 additions & 0 deletions extensions/elgato-key-light/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Elgato Key Light Extension for Raycast

Control your Elgato Key Lights directly from Raycast with a smooth, responsive interface.

## Features

- Toggle lights on/off
- Adjust brightness (increase/decrease by 5%)
- Control color temperature (warmer/cooler)
- Automatic light discovery using Bonjour
- Smart caching with reachability validation
- Visual feedback with toast notifications
- Window stays open for quick adjustments

## Commands

- **Toggle On/Off**: Turn all connected Key Lights on or off
- **Increase/Decrease Brightness**: Adjust brightness in 5% increments
- **Warmer/Cooler Color Temperature**: Adjust color temperature (2900K-7000K)
- **Discover Lights**: Force a fresh discovery of lights on your network

## Installation

1. Install the extension from the Raycast Store
2. Make sure your Elgato Key Lights are connected to your network
3. Run any command - lights will be automatically discovered
Loading
Loading