- **🚀 Smart Config Switching**: Select and apply different Clash YAML configurations. Switch names are automatically cleaned up (removing `.yaml`) for a polished look.
- 🚀 Smart Config Switching: Select and apply different Clash YAML configurations. Switch names are automatically cleaned up (removing
.yaml) for a polished look. - 🛡️ Enable Toggle: Turn OpenClash on or off globally with a simple switch.
- 📡 Operation Modes: Quickly switch between
Rule,Global, andDirectmodes. - 🔄 Service Control: Restart OpenClash directly from Home Assistant buttons.
- 🆙 Automatic Updates: Trigger subscription updates and core updates from your dashboard.
- 📶 Status Monitoring: Real-time status sensor using the
CONNECTIVITYclass (perfect for HomeKit). - 🍏 Apple Home (HomeKit) Optimized:
- Entities are named and categorized for the best Apple Home experience.
- Group multiple config switches into a single tile for a "Pro" device feel.
- Includes a Configuration URL link directly to your router's OpenClash Luci dashboard.
- Open HACS in Home Assistant.
- Click the three dots in the top right and select Custom repositories.
- Add
https://github.com/soulripper13/openclash_managerwith the category Integration. - Click Install.
- Restart Home Assistant.
- Download the latest release.
- Copy the
custom_components/openclash_managerfolder to your HAcustom_componentsdirectory. - Restart Home Assistant.
- Go to Settings > Devices & Services.
- Click Add Integration and search for OpenClash Manager.
- Enter your router's SSH details:
- Host: Your router's IP address.
- Port: SSH port (default
22). - Username: SSH username (usually
root). - Password: SSH password.
- Config Directory: Path to your Clash configs (default
/etc/openclash/config). - Restart Command: The command used to restart OpenClash (default
/etc/init.d/openclash restart).
To get the best experience in Apple Home:
- Add the HomeKit Bridge integration in Home Assistant.
- Include the
switch.enableand allswitch.*_configentities. - In the Apple Home app, long-press the Enable tile and select Group with Other Accessories.
- Group all OpenClash-related switches together. This creates a single professional-looking tile that expands to show all controls.
This project is developed and maintained in spare time and is provided free to the community.
If you find it useful and would like to support ongoing development, maintenance, and improvements, any contribution is appreciated — but never required ❤️
-
PayPal https://paypal.me/SKatoaroo
-
Bitcoin (BTC)
bc1qvu8a9gdy3dcxa94jge7d3rd7claapsydjsjxn0 -
Solana (SOL)
4jvCR2YFQLqguoyz9qAMPzVbaEcDsG5nzRHFG8SeaeBK
You can also help by:
- Reporting bugs
- Submitting pull requests
- Suggesting features
- Helping other users
- Starring the repository ⭐
Thank you for being part of the community.