This is a Home Assistant custom integration for Keenetic Routers. It provides detailed information about your Keenetic router including WiFi networks, ethernet ports, and mesh network status.
- Monitor router system information (CPU, memory, uptime)
- Control WiFi networks (enable/disable)
- View ethernet port status and statistics
- Monitor mesh network nodes
- View detailed interface statistics
- Open HACS
- Click on "Integrations"
- Click the "+" button
- Search for "Keenetic Router"
- Click "Install"
- Restart Home Assistant
- Download the latest release
- Copy the
ha_keeneticfolder to yourcustom_componentsdirectory - Restart Home Assistant
The integration communicates with the router via REST API, for which you need to configure port forwarding:
- Access your router's web interface
- Go to "Port Forwarding" > "Add rule"
- Configure the following parameters:
- Enable rule: ✓ (enabled)
- Description: rest api
- Input: Other destination
- IP address: 192.168.1.0 (local network address where HomeAssistant is located)
- Subnet mask: 255.255.255.0 (/24)
- Output: This Keenetic device
- Protocol: TCP
- Rule type: Single port
- Open the port: 81
- Redirect to port: 79
- Work schedule: Always on
To enable automatic router discovery, you need to enable UPnP on your Keenetic:
- Access your router's web interface
- Go to "System Settings" > "Component options"
- Make sure "UPnP" is enabled:
If UPnP is enabled, the integration will discover the router.
- Go to "Settings" > "Devices & services"
- Click the "+ ADD INTEGRATION" button
- Search for "Keenetic Router"
- Enter your router details:
- IP address (default: 192.168.1.1)
- Port (default: 81)
- Username (default: admin)
- Password
The integration has been tested with the following models:
- Keenetic Giga
- Keenetic Hero 4g
- Keenetic Sprinter SE
Other Keenetic models should also work.
- System information (CPU, memory, uptime)
- WiFi networks status
- Ethernet ports status
- Mesh network nodes status
- WiFi networks (enable/disable)
Mesh devices information (if available):
Any suggestions for improvement are welcome.
This project is licensed under the MIT License - see the LICENSE file for details.