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 magic-home extension #18219

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

bcarusodev
Copy link

@bcarusodev bcarusodev commented Mar 28, 2025

Description

Raycast extension to control Magic Home based devices.

Magic Home is a mobile app used to control Wi-Fi-enabled LED controllers and smart lighting devices on its ecosystem. The app is commonly used with LED controllers from brands like Magic Home Pro, Zengge, and other generic smart LED controllers.

This Raycast extension allows to control devices directly from Raycast, using magic-home.

Screencast

magic-home-1
magic-home-2
magic-home-3
magic-home-4

Checklist

- Upscale images
- Linting
- Fix
- Store guidelines changes
- Add icons
- Custom color pick
- Create .nvmrc
- Improve discovery behaviour
- Add new power on/off commands
- Merge branch \'main\' of https://github.com/bcarusodev/magic-home-raycast
- Added My Devices command
- Setup node engine version
- Update README.md
- Update README.md
- Update README.md
- Update README.md
- Implement initial discovery command
- Initial commit
@raycastbot
Copy link
Collaborator

Congratulations on your new Raycast extension! 🚀

You can expect an initial review within five business days.

Once the PR is approved and merged, the extension will be available on our Store.

@raycastbot raycastbot added the new extension Label for PRs with new extensions label Mar 28, 2025
@bcarusodev bcarusodev marked this pull request as ready for review March 28, 2025 22:08
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR adds a new "magic-home" extension with configuration files, command implementations, and a proper changelog entry with the {PR_MERGE_DATE} placeholder.

• New extension set up in extensions/magic-home/package.json with multiple commands (view and no-view) defined.
• Changelog in extensions/magic-home/CHANGELOG.md correctly uses the {PR_MERGE_DATE} format at the top.
• In extensions/magic-home/src/power-off.tsx, consider wrapping async operations in a try-catch and using showFailureToast for error handling.
• Verify that the use of ES2023 in extensions/magic-home/tsconfig.json is intentional given the ES2022 target.
• For new extension guidelines, include a metadata folder with screenshots for view commands.

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

8 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

- Lint fix
- Make some code reusable & implement error handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new extension Label for PRs with new extensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants