4.9 KiB
title, description, ha_category, ha_release, ha_quality_scale, ha_domain
title | description | ha_category | ha_release | ha_quality_scale | ha_domain | |
---|---|---|---|---|---|---|
Discovery | Instructions on how to setup Home Assistant to discover new devices. |
|
0.7 | internal | discovery |
Home Assistant can discover and automatically configure zeroconf/mDNS and UPnP devices on your network. Currently the discovery
integration can detect:
- Apple TV
- Belkin WeMo switches
- Bluesound speakers
- Bose Soundtouch speakers
- Denon network receivers
- DirecTV receivers
- DLNA DMR enabled devices
- Enigma2 media player
- Frontier Silicon internet radios
- Linn / Openhome
- Logitech Harmony Hub
- Logitech Media Server (Squeezebox)
- NETGEAR routers
- Panasonic Viera
- Philips Hue
- Plex Media Server
- Roku media player
- SABnzbd downloader
- Samsung SyncThru Printer
- Sonos speakers
- Telldus Live
- Wink
- Yamaha media player
- Yeelight Sunflower bulb
- Xiaomi Gateway (Aqara)
It will be able to add Belkin WeMo switches automatically, for Philips Hue it will require some configuration from the user.
Zeroconf discoverable integrations Axis/ESPHome/HomeKit/Tradfri/Google Cast have been migrated to use zeroconf integration to initiate discovery.
To load this integration, add the following lines to your configuration.yaml
file:
# Example configuration.yaml entry
discovery:
ignore:
- sonos
- samsung_printer
enable:
- homekit
{% configuration discovery %}
ignore:
description: A list of platforms that never will be automatically configured by discovery
.
required: false
type: list
enable:
description: A list of platforms not enabled by default that discovery
should discover.
required: false
type: list
{% endconfiguration %}
Valid values for ignore are:
apple_tv
: Apple TVbelkin_wemo
: Belkin WeMo switchesbluesound
: Bluesound speakersbose_soundtouch
: Bose Soundtouch speakersdenonavr
: Denon network receiversdirectv
: DirecTV receiversenigma2
: Enigma2 media playersfrontier_silicon
: Frontier Silicon internet radiosharmony
: Logitech Harmony Hubigd
: Internet Gateway Devicelogitech_mediaserver
: Logitech Media Server (Squeezebox)netgear_router
: NETGEAR routersoctoprint
: Octoprintopenhome
: Linn / Openhomepanasonic_viera
: Panasonic Vieraphilips_hue
: Philips Hueplex_mediaserver
: Plex Media Serverroku
: Roku media playersabnzbd
: SABnzbd downloadersamsung_printer
: Samsung SyncThru Printersonos
: Sonos speakerssongpal
: Songpaltellstick
: Telldus Livewink
: Wink Hubyamaha
: Yamaha media playeryeelight
: Yeelight lamps and bulbs (not only Yeelight Sunflower bulb)xiaomi_gw
: Xiaomi Aqara gateway
Valid values for enable are:
dlna_dmr
: DLNA DMR enabled devices
Troubleshooting
UPnP
Home Assistant must be on the same network as the devices for UPnP discovery to work.
If running Home Assistant in a Docker container use switch --net=host
to put it on the host's network.
Windows
64-bit Python
There is currently a known issue with running this integration on a 64-bit version of Python and Windows.
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.
DSM and Synology
For DSM/Synology, install via debian-chroot see this forum post.