Custom integration for Home Assistant that connects to the WireGuard Easy (wg-easy) API and exposes peers as devices with sensors and binary sensors.
https://github.com/wg-easy/wg-easy
- Add this repository as a custom repository to HACS:
- Use HACS to install the integration.
- Restart Home Assistant.
- Set up the integration using the UI:
- Download the integration files from the GitHub repository.
- Place the integration folder in the custom_components directory of Home Assistant.
- Restart Home Assistant.
- Set up the integration using the UI:
- Go to Settings → Devices & Services
- Click "Add Integration"
- Select WG Easy
- Enter:
- API URL
- API Token
- Automatic peer discovery
- Dynamic device creation/removal
- Peer-level monitoring
- Transfer statistics (RX/TX, rates)
- Configurable online detection
- WireGuard server overview
This project is free to use, modify, and distribute.
Author: metaathron
Please retain attribution and link to the original repository:
https://github.com/metaathron/ha-wgeasy