core/homeassistant/components/homekit
Marc Hörsken e3f0c904b0 Add option to specify mDNS advertised IP address for HomeKit Bridge (#26791)
* Add options to specify advertised IP and MAC for HomeKit Bridge

This makes use of HAP-python's new feature in version 2.6.0
that allows to specify the mDNS advertised IP and MAC address.

This is a requirement for the following use cases:
- Running Home Assistant behind a NAT, e.g. inside Docker.
- Running it on a system with multiple interfaces there
  the default IP address, DNS entry and hostname diverge.

The forwarding of the required mDNS packets can be done with
an avahi-daemon based gateway, e.g. by using enable-reflector=yes.

Specifying the MAC address makes it possible to identify an
accessory in case HA is run inside a ephemeral docker container.

Whitespace changes were performed due to black and flake8.

* Update tests for HomeKit Bridge due to IP and MAC advertising

Whitespace changes were performed due to black and flake8.

* Remove the possibility to set the MAC address of the HomeKit Bridge

Since the MAC address is a random device ID, there is no need
for the user to be able to set a custom MAC address value for it.

Whitespace changes were performed due to black and flake8.
2019-10-22 22:06:21 -07:00
..
__init__.py Add option to specify mDNS advertised IP address for HomeKit Bridge (#26791) 2019-10-22 22:06:21 -07:00
accessories.py
const.py Add option to specify mDNS advertised IP address for HomeKit Bridge (#26791) 2019-10-22 22:06:21 -07:00
manifest.json Update documentation link URL for integrations in all manifests (#27114) 2019-10-02 09:25:44 -07:00
services.yaml
type_covers.py
type_fans.py
type_lights.py
type_locks.py
type_media_players.py
type_security_systems.py
type_sensors.py Fix homekit temperaturesensor round (#27047) 2019-10-03 17:44:07 -07:00
type_switches.py
type_thermostats.py
util.py Fix homekit temperaturesensor round (#27047) 2019-10-03 17:44:07 -07:00