mDNS requires HA to be on same network as devices (#13245)

This commit is contained in:
Erik Montnemery 2020-05-01 23:28:03 +02:00 committed by GitHub
parent e0a1db44dd
commit a1aed55432
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,17 +98,17 @@ Valid values for enable are:
## Troubleshooting ## Troubleshooting
### UPnP ### mDNS and UPnP
Home Assistant must be on the same network as the devices for UPnP discovery to work. Home Assistant must be on the same network as the devices for UPnP discovery to work.
If running Home Assistant in a [Docker container](/docs/installation/docker/) use switch `--net=host` to put it on the host's network. When running Home Assistant Core in a [Docker container](/docs/installation/docker/) command line option `--net=host` or the compose file equivalent `network_mode: host` must be used to put it on the host's network, otherwise mDNS and UPnP will not work.
### Windows ### Windows
#### 64-bit Python #### 64-bit Python
There is currently a <a href='https://bitbucket.org/al45tair/netifaces/issues/17/dll-fails-to-load-windows-81-64bit'>known issue</a> with running this integration on a 64-bit version of Python and Windows. There is currently a <a href='https://bitbucket.org/al45tair/netifaces/issues/17/dll-fails-to-load-windows-81-64bit'>known issue</a> with running this integration on a 64-bit version of Python and Windows.
### could not install dependency netdisco ### Could not install dependency netdisco
If you see `Not initializing discovery because could not install dependency netdisco==0.6.1` in the logs, you will need to install the `python3-dev` or `python3-devel` package on your system manually (eg. `sudo apt-get install python3-dev` or `sudo dnf -y install python3-devel`). On the next restart of Home Assistant, the discovery should work. If you still get an error, check if you have a compiler (`gcc`) available on your system. If you see `Not initializing discovery because could not install dependency netdisco==0.6.1` in the logs, you will need to install the `python3-dev` or `python3-devel` package on your system manually (eg. `sudo apt-get install python3-dev` or `sudo dnf -y install python3-devel`). On the next restart of Home Assistant, the discovery should work. If you still get an error, check if you have a compiler (`gcc`) available on your system.