mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
mDNS requires HA to be on same network as devices (#13245)
This commit is contained in:
parent
e0a1db44dd
commit
a1aed55432
@ -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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user