From 0d07dae3bc206f3bc59e027b3635550dc36f0e05 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 6 Mar 2021 21:41:56 -1000 Subject: [PATCH] Change default homekit ports to 21063 and 21064 (#47491) We previously used a value in the linux default ephemerial port range which meant that if something else happened to use that port HomeKit would not start up. We now use a value below 32768 to ensure that the port is not randomly unavailable --- homeassistant/components/homekit/const.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/homekit/const.py b/homeassistant/components/homekit/const.py index 67312903b50..840e9ebe607 100644 --- a/homeassistant/components/homekit/const.py +++ b/homeassistant/components/homekit/const.py @@ -74,8 +74,8 @@ DEFAULT_LOW_BATTERY_THRESHOLD = 20 DEFAULT_MAX_FPS = 30 DEFAULT_MAX_HEIGHT = 1080 DEFAULT_MAX_WIDTH = 1920 -DEFAULT_PORT = 51827 -DEFAULT_CONFIG_FLOW_PORT = 51828 +DEFAULT_PORT = 21063 +DEFAULT_CONFIG_FLOW_PORT = 21064 DEFAULT_SAFE_MODE = False DEFAULT_VIDEO_CODEC = VIDEO_CODEC_LIBX264 DEFAULT_VIDEO_MAP = "0:v:0"