How do I exclude uPnP from Discovery? The persistent notification is getting irritating.
discovery:
ignore:
- upnp
Starting with HA 0.85.0, in my setup the UPNP component is discovered on start. Like tc23, Iād like to disable that. I already tried to ignore āupnpā, but unfortunately, that doesnāt work:
Invalid config for [discovery]: value is not allowed @ data['discovery']['ignore'][0]. Got 'upnp'. (See /config/configuration.yaml, line 55). Please check the docs at https://home-assistant.io/components/discovery/
Ditto, tried that ignore, but got the same error. Really donāt want to be forced into enabling a component to make a notification go away . And I would disable at the router level, but I believe that messes with things like Chromecast (RIP Chromecast Audio)
It is igd
.
discovery:
ignore:
- igd
Awesome! I will have that a try. Thank you!!
Works for me Thank you!
It worked. Thank you!
Iāve just started getting this error. Is yours still working? What does your discovery look like?
@pedro Any ideas? This just started happening with the latest update.
upnp is no longer a valid option for ignore.
EDIT: A few things were removed recently like ārokuā in 109. Just remove the key from your ignore section thatās causing the error as it was likely removed. Especially seeing that ignore is an option in the UI now.
.
I am so sick and tired of the notification that HA has detected new devices. it keeps ādiscoveringā one of my Google WiFi router pucks as an āUPnP/IGD: OnHubā device, but āconfigureā or āignoreā do nothing.
I see the latest documentation in the post directly above this one, as noted both āupnpā and āigdā are removed, so what is the solution to get HA to stop this silliness?
Any luck? I find this annoying as well. Particularly because the entities arenāt even usefulā¦
Donāt use default_config:
Use what is useful for yourself.
What is the alternative? Can you point me toward some additional info?
In configuration.yaml, this :
default_config:
is a shortcut for this :
# Individual options represented by default_config
automation: !include automations.yaml
cloud:
config:
frontend:
history:
input_boolean:
input_datetime:
input_number:
input_select:
input_text:
logbook:
map:
mobile_app:
person:
script:
ssdp:
sun:
system_health:
updater:
zeroconf:
zone:
If you donāt need everything in default_config, you can pick what you do need :
Mine :
# Individual options represented by default_config
automation: !include automations.yaml
automation manual: !include_dir_merge_list automations
#cloud:
config:
frontend:
history:
input_boolean: !include input_boolean.yaml
input_datetime:
input_number: !include input_number.yaml
input_select:
input_text:
logbook:
#map:
#mobile_app:
person:
script: !include scripts.yaml
#ssdp:
sun:
system_health:
updater:
#zeroconf:
zone:
To disable uPnP Discovery, comment out ssdp and zeroconf.
I appreciate that.
So if I were to remove those, everything would work as expected except for automatic discovery? Iād still be able to add any given device using a normal integration?
Yes
Thank you, good sir.
So, essentially, ssdp
and zeroconf
have to be disabled.
Great tip! If I read it correctly, SSDP alone might be enough to stop uPnP detection, but I donāt like what zeroconf is adding, either ā¦