Skip to content

Commit a251f6a

Browse files
committed
Update to UPnP documentation
In accordance to pull request home-assistant/core#8067
1 parent 038dc31 commit a251f6a

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

source/_components/upnp.markdown

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
title: "UPnP"
4-
description: "Automatically creates port mappings on your router for Home Assistant."
4+
description: "Internet Gateway Device (IGD) Protocol for Home Assistant."
55
date: 2016-04-10 19:16
66
sidebar: true
77
comments: false
@@ -12,17 +12,11 @@ ha_category: "Other"
1212
ha_release: 0.18
1313
---
1414

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.
1616

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.
1818

19-
```bash
20-
$ git clone https://github.com/miniupnp/miniupnp.git
21-
$ cd miniupnp/miniupnpc
22-
$ make
23-
$ make pythonmodule3
24-
$ sudo make installpythonmodule3
25-
```
19+
Please note that UPnP or NAT-PMP needs to be enabled on your router for this component to work.
2620

2721
To integrate this into Home Assistant, add the following section to your `configuration.yaml` file:
2822

@@ -32,3 +26,10 @@ upnp:
3226
```
3327
3428
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
33+
upnp:
34+
port_mapping: false
35+
```

0 commit comments

Comments
 (0)