Component for tracking devices and managing routers based on MiWiFi from Home Assistant.
Q. Do I need to get telnet or ssh?
A. Not. integration works through Luci-API
Q. How often are states updated?
A. The default is every 30 seconds, but this setting can be configured. It is not recommended to set less than 10 seconds.
Q. Does the integration support routers connected in repeater mode
or access point mode
?
A. Yes, the integration supports devices connected in repeater mode
or access point mode
. But to get the number of devices and their tracking, you will also need to connect and configure the parent router.
Q. Can I use the router in repeater mode
or access point mode
without a parent MiWiFi device?
A. It is possible with the is_force_load
option enabled. But there is a limitation. You will not see IP, uptime, and connection type, but the name will be the mac-address.
Q. Does Mesh support routers?
A. Yes, they are supported.
Q. Is a reboot required after changing the [PRO] settings?
A. Reboot is required
The following component conflicts are currently known:
-
xiaomi (device_tracker)
- Cause: Due to the fact that they use the same API, logout occurs after each scan
- Solution: I recommend turning it off for this router
-
nmap (device_tracker)
- Cause: Because nmap uses the old integration and finds your devices, it simply overwrites their attributes
- Solution: Exclude router netmask from scanning
-
pihole
- Cause: Devices stop being tracked
- Solution: Disable the pihole app
- PS: Perhaps you can customize, if someone configures write, I will add instructions
Installed through the custom repository HACS - dmamontov/hass-miwifi
Or by copying the miwifi
folder from the latest release to the custom_components folder (create if necessary) of the configs directory.
Via GUI
Settings
> Integrations
> Plus
> MiWiFi
For authorization, use the ip of your router and its password
❗ Via YAML (legacy way) not supported
The component supports automatic deletion of monitored devices after a specified number of days (Default: 30 days) after the last activity. If you specify 0, then automatic deletion will be disabled.
Via GUI (Recommended)
Settings
> Integrations
> Your integration MiWiFi
> Settings
- Install Auto-entities from HACS
- Install Flex Table from HACS
- Add new Lovelace tab with Panel Mode
- Add new Lovelace card:
Many more Xiaomi and Redmi routers supported by MiWiFi (OpenWRT - Luci API)
xqsystem/login
- Authorization.xqsystem/init_info
- Basic information about the router.misystem/status
- Basic information about the router. Diagnostic data, memory, temperature, etc.xqnetwork/mode
- Operating mode. Repeater, Access Point, Mesh, etc.
misystem/topo_graph
- Topography, auto discovery does not work without it.xqnetwork/wan_info
- WAN port information.misystem/led
- Interaction with LEDs.xqnetwork/wifi_detail_all
- Getting information about WiFi adaptersxqnetwork/wifi_up
- Turning onxqnetwork/wifi_down
- Turning off
xqnetwork/wifi_connect_devices
- Get information about connected devicesmisystem/devicelist
- More information about connected devicesxqsystem/reboot
- Rebootmisystem/newstatus
- Additional information about connected devices for force load mode
❗ If your router is not listed or not tested, try adding an integration, it will check everything and give a link to create an issue. You just have to click Submit new issue
❗ If at the time of adding the integration only Router {ip} not supported
message is displayed, please create an issue with the message that the router is not supported, indicating the model of the router.
- 🟢 - Supported
- 🔴 - Not supported
- ⚪ - Not tested