4.1 KiB
4.1 KiB
Installation Guide
This guide covers all installation methods for AdGuard Control Hub integration.
Prerequisites
Before installing AdGuard Control Hub, ensure you have:
- Home Assistant 2023.5.0 or newer
- AdGuard Home v0.107.0 or newer
- Network connectivity between Home Assistant and AdGuard Home
- (Optional) Admin credentials for AdGuard Home if authentication is enabled
Installation Methods
Method 1: HACS Installation (Recommended)
HACS (Home Assistant Community Store) is the easiest way to install and manage custom integrations.
Step 1: Install HACS
If you don't have HACS installed:
- Follow the official HACS installation guide
- Restart Home Assistant after installation
Step 2: Add AdGuard Control Hub
- Open Home Assistant web interface
- Navigate to HACS → Integrations
- Click the "+ EXPLORE & DOWNLOAD REPOSITORIES" button
- Search for "AdGuard Control Hub"
- Click on the integration and then "DOWNLOAD"
- Select the latest version and click "DOWNLOAD"
- Restart Home Assistant
Step 3: Add Integration
- Navigate to Settings → Devices & Services
- Click "+ ADD INTEGRATION"
- Search for "AdGuard Control Hub"
- Follow the configuration steps
Method 2: Manual Installation
For users who prefer manual installation or cannot use HACS.
Step 1: Download Integration
- Go to the latest release page
- Download the
adguard-control-hub.zipfile - Extract the ZIP file
Step 2: Copy Files
- Copy the extracted
custom_components/adguard_control_hubfolder - Place it in your Home Assistant's
config/custom_components/directory - The final structure should look like:
config/ └── custom_components/ └── adguard_control_hub/ ├── __init__.py ├── manifest.json ├── config_flow.py └── ... (other files)
Step 3: Restart and Configure
- Restart Home Assistant
- Navigate to Settings → Devices & Services
- Click "+ ADD INTEGRATION"
- Search for "AdGuard Control Hub"
- Follow the configuration steps
Verification
After installation, verify everything is working:
- Check Settings → Devices & Services for the AdGuard Control Hub integration
- Verify entities are created under the AdGuard device
- Test switching protection on/off
- Check the Home Assistant logs for any errors
Next Steps
Troubleshooting Installation
HACS Issues
Integration not found in HACS:
- Ensure you're searching in the "Integrations" section
- Check if HACS is up to date
- Clear HACS cache and refresh
Download fails:
- Check your internet connection
- Verify HACS has proper GitHub access
- Try downloading manually and installing via Method 2
Manual Installation Issues
Integration not showing up:
- Verify folder structure is correct
- Check file permissions
- Restart Home Assistant completely (not just config reload)
- Check Home Assistant logs for errors
Permission errors:
- Ensure Home Assistant has read/write access to custom_components
- Check file ownership matches Home Assistant user
General Issues
Integration fails to load:
- Check Home Assistant logs: Settings → System → Logs
- Verify Python requirements are met
- Ensure Home Assistant version compatibility
Cannot add integration:
- Clear browser cache and cookies
- Try incognito/private browsing mode
- Check for JavaScript errors in browser console
Getting Help
If you're still having issues:
- Check the Troubleshooting Guide
- Review GitHub Issues
- Create a new issue with:
- Installation method used
- Home Assistant version
- Error messages from logs
- Steps you've already tried