core: UPnP Broken After Restart - 0.92.2

Last working Home Assistant release (if known): Unknown

Operating environment (Hass.io/Docker/Windows/etc.): Hass.io

Component/platform: UPnP (https://www.home-assistant.io/components/upnp/)

Description of problem: I add a UPnP integration for my NetGear R8000 router, including port forwarding. This works well, and I see the sensor data and the port forwarding rules setup. However, if I restart home assistant the sensors and port forwarding no longer work. The integration says “entity unavailable”. If I remove and re-add the integration, it works again. See https://gfycat.com/pertinentraggedflee for a video example.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

upnp:
  port_mapping: true
  ports:
    443: hass
    8883: 8883

Related Issue: #22787

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 43 (22 by maintainers)

Most upvoted comments

New issue opened: #33827

The new issue also contains my upnp-client search result.

The problem with creating that search was, that the upnp-client command is not available in the zsh of my add-on “SSH & Web Terminal”. I had to run that command explicitly in a bash within the homeassistant docker container:

➜  ~ docker exec -it homeassistant bash                                   
bash-5.0# upnp-client search