You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Automatically creates port mappings on your router for Home Assistant."
4
+
description: "Internet Gateway Device (IGD) Protocol for Home Assistant."
5
5
date: 2016-04-10 19:16
6
6
sidebar: true
7
7
comments: false
@@ -12,17 +12,11 @@ ha_category: "Other"
12
12
ha_release: 0.18
13
13
---
14
14
15
-
The `upnp` component automatically creates port forwarding mappings on your router for Home Assistant. UPnP or NAT-PMP needs to be enabled on your router for this component to work.
15
+
The `upnp` component enables you to collect network statistics from your router such as bytes in/out and packets in/out. This information is provided by the Internet Gateway Device (IGD) Protocol if enabled on your router.
16
16
17
-
You need to install [miniupnpc](https://github.com/miniupnp/miniupnp/tree/master/miniupnpc) before using the UPnP component:
17
+
The IGD can also automatically create port forwarding mappings on your router for Home Assistant.
Please note that UPnP or NAT-PMP needs to be enabled on your router for this component to work.
26
20
27
21
To integrate this into Home Assistant, add the following section to your `configuration.yaml` file:
28
22
@@ -32,3 +26,10 @@ upnp:
32
26
```
33
27
34
28
A port mapping will be created using the IP address and port that Home Assistant is running on. The mapping will never automatically expire. Upon stopping Home Assistant, the mapping will be removed from your router.
29
+
30
+
If you which to have the statistics without having port mapping done through IGD, add the option:
31
+
```yaml
32
+
# Example configuration.yaml entry with port mapping disabled
0 commit comments