mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-12 01:52:16 +00:00
Refactor HomeKit configuration to support a multi-bridge setup, enhancing stability and performance. Separate camera and front door lock entities into dedicated accessory mode bridges for improved reliability. Update entity filters and configurations accordingly.
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
#-------------------------------------------
|
||||
# HomeKit Configuration for Home Assistant
|
||||
#
|
||||
# Description: This file controls the HomeKit integration settings,
|
||||
# defining which entities are exposed to Apple HomeKit.
|
||||
#
|
||||
# Follow me on https://www.vcloudinfo.com/click-here
|
||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
##-------------------------------------------
|
||||
######################################################################
|
||||
# @CCOSTAN - Follow Me on X
|
||||
# For more info visit https://www.vcloudinfo.com/click-here
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# -------------------------------------------------------------------
|
||||
# HomeKit Configuration - Multi-bridge setup for stability.
|
||||
# Main bridge handles lights/locks/climate; cameras + front lock are
|
||||
# isolated in accessory-mode bridges for better reliability.
|
||||
# -------------------------------------------------------------------
|
||||
######################################################################
|
||||
|
||||
# Main bridge (everything except cameras + front door lock)
|
||||
- name: Home Assistant Bridge
|
||||
mode: bridge
|
||||
port: 21063
|
||||
filter:
|
||||
include_domains:
|
||||
- climate
|
||||
@@ -18,18 +23,10 @@ filter:
|
||||
- media_player
|
||||
- sensor
|
||||
- script
|
||||
- sensor
|
||||
- switch
|
||||
- scene
|
||||
- light
|
||||
include_entities:
|
||||
- camera.bedroomgate
|
||||
- camera.driveway
|
||||
- camera.filtergate
|
||||
- camera.frontdoorbell
|
||||
- camera.poolcam
|
||||
- camera.frontlawn
|
||||
- camera.garagecam
|
||||
- light.bedroom
|
||||
- light.bedroom_lights
|
||||
- light.den_lights
|
||||
@@ -48,12 +45,26 @@ filter:
|
||||
- light.sink
|
||||
- switch.lr_amp
|
||||
exclude_entities:
|
||||
- lock.front_door
|
||||
- lock.spaceship_door_lock
|
||||
- lock.spaceship_charger_door_lock
|
||||
- lock.spaceship_trunk_lock
|
||||
- lock.spaceship_frunk_lock
|
||||
- climate.spaceship_hvac_climate_system
|
||||
|
||||
# Cameras in accessory mode (better performance/reliability)
|
||||
- name: HomeKit Cameras
|
||||
mode: accessory
|
||||
port: 21064
|
||||
filter:
|
||||
include_entities:
|
||||
- camera.bedroomgate
|
||||
- camera.driveway
|
||||
- camera.filtergate
|
||||
- camera.frontdoorbell
|
||||
- camera.poolcam
|
||||
- camera.frontlawn
|
||||
- camera.garagecam
|
||||
entity_config:
|
||||
camera.frontdoorbell:
|
||||
video_codec: copy
|
||||
@@ -82,3 +93,11 @@ entity_config:
|
||||
linked_motion_sensor: binary_sensor.filtergate_motion_sensor
|
||||
video_codec: copy
|
||||
stream_source: rtsp://192.168.10.14:8554/filtergate?mp4
|
||||
|
||||
# Front door lock in accessory mode (keeps lock responsive/available)
|
||||
- name: HomeKit Front Door Lock
|
||||
mode: accessory
|
||||
port: 21065
|
||||
filter:
|
||||
include_entities:
|
||||
- lock.front_door
|
||||
|
||||
Reference in New Issue
Block a user