mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-28 23:37:35 +00:00
1.6 KiB
1.6 KiB
title | description | ha_category | ha_release | ha_iot_class | ha_config_flow | ha_codeowners | ha_domain | ha_ssdp | ha_platforms | ha_integration_type | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UPnP/IGD | Internet Gateway Device (IGD) Protocol for Home Assistant. |
|
0.18 | Local Polling | true |
|
upnp | true |
|
device |
The upnp
integration enables you to collect network statistics from your router such as bytes in/out and packets in/out, uptime, WAN IP address, and WAN connectivity status. This information is provided by the UPnP/Internet Gateway Device (IGD) Protocol if enabled on your router.
There is currently support for the following device types within Home Assistant:
- Binary Sensor - If router is connected to the WAN.
- Sensor - Allows to get the network statistics from your router such as bytes in/out and packets in/out, uptime, status, and IP. Sensor for uptime will only be there if supported by the router.
Please note that UPnP or NAT-PMP needs to be enabled on your router for this integration to work.
{% include integrations/config_flow.md %}
Debugging integration
If you have problems with this integration you can add debug prints to the log.
logger:
default: info
logs:
homeassistant.components.upnp: debug
async_upnp_client: debug
async_upnp_client.traffic: error
When creating an issue, please include the (relevant) logging with the issue. Any sensitive information such as IPs can be obfuscated.