Skip to content

Upnp mapping notification#8303

Merged
balloob merged 19 commits into
home-assistant:devfrom
dgomes:upnp_mapping_notification
Jul 7, 2017
Merged

Upnp mapping notification#8303
balloob merged 19 commits into
home-assistant:devfrom
dgomes:upnp_mapping_notification

Conversation

@dgomes
Copy link
Copy Markdown
Contributor

@dgomes dgomes commented Jul 2, 2017

Description:

This pull request addresses an issue identified in https://community.home-assistant.io/t/upnp-new-module/20839

  • Added a notification that explains the cause
  • Added a configuration option that can move the external port to a different port (from the default 8123)

Related issue (if applicable): fixes #8067

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.io#2924

Example entry for configuration.yaml (if applicable):

  external_port: 80

Checklist:

If user exposed functionality or configuration variables are added/changed:

@mention-bot
Copy link
Copy Markdown

@dgomes, thanks for your PR! By analyzing the history of the files in this pull request, we identified @robbiet480 and @fabaff to be potential reviewers.

Comment thread homeassistant/components/upnp.py Outdated
external_port, 'TCP', host, internal_port, 'Home Assistant', '')
internal_port = base_url.port
external_port = int(config[DOMAIN].get(CONF_EXTERNAL_PORT))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blank line contains whitespace

@balloob balloob merged commit 903e6b5 into home-assistant:dev Jul 7, 2017
@balloob balloob mentioned this pull request Jul 13, 2017
dethpickle pushed a commit to dethpickle/home-assistant that referenced this pull request Aug 18, 2017
* make port mapping optional

* dependencies + improvements

* Added bytes and packets sensors from IGD

* flake8 check

* new sensor with upnp counters

* checks

* whitespaces in blank line

* requirements update

* added sensor.upnp to .coveragerc

* downgrade miniupnpc

Latest version of miniupnpc is 2.0, but pypi only has 1.9

Fortunately it is enough

* revert to non async

miniupnpc will do network calls, so this component can’t be moved to
coroutine

* hof hof

forgot to remove import ot asyncio

* UPnP mapping overlap

Addressing: https://community.home-assistant.io/t/upnp-new-module/20839

* removed whitespaces
@home-assistant home-assistant locked and limited conversation to collaborators Oct 20, 2017
@dgomes dgomes deleted the upnp_mapping_notification branch February 12, 2018 16:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants