Smart Home
以Apple HomeKit为核心交互层,Home Assistant为自动化引擎,Scrypted为视频桥接,构建统一、稳定、可扩展的全屋智能家居系统。A unified, stable, and extensible whole-home smart system built on Apple HomeKit as the interaction layer, Home Assistant as the automation engine, and Scrypted as the video bridge.
Home Assistant运行在群晖NAS的虚拟机或Docker容器中,作为整个智能家居系统的自动化引擎与设备集成中心。Home Assistant runs on Synology NAS via VM or Docker container, serving as the automation engine and device integration hub.
使用Scrypted将非HomeKit摄像头桥接到Apple HomeKit安全视频(HSV),实现本地化视频录制与iCloud加密存储。Scrypted bridges non-HomeKit cameras to Apple HomeKit Secure Video (HSV) for local recording and iCloud encrypted storage.
HomeKit安全视频(HSV)通过端到端加密将摄像头录像存储在iCloud中,仅用户设备可解密,Apple无法查看。实现安防与隐私的最佳平衡。HomeKit Secure Video (HSV) stores camera recordings in iCloud with end-to-end encryption. Only user devices can decrypt — Apple cannot view the footage.
以Matter/Thread为未来主线,同时兼容Zigbee和Wi-Fi设备,构建多协议共存的智能家居生态。Building a multi-protocol smart home ecosystem with Matter/Thread as the future backbone, while maintaining Zigbee and Wi-Fi compatibility.

ZigBee信道与Wi-Fi信道频谱重叠示意图 (来源: MetaGeek)

ZigBee vs Wi-Fi Channel Spectrum Overlap (Source: MetaGeek)
开源智能家居自动化平台,支持数千种设备集成Open-source home automation platform with thousands of integrations
Scrypted官方文档,HomeKit安全视频桥接配置指南Official Scrypted docs for HomeKit Secure Video bridge setup
Home Assistant社区商店,海量自定义集成与前端卡片HA Community Store for custom integrations and Lovelace cards
小米/Aqara设备的HA深度集成,支持MIoT协议Deep HA integration for Xiaomi/Aqara devices via MIoT protocol
将HA设备通过Matter协议暴露给其他平台Expose HA devices via Matter protocol to other platforms
Matter与Thread协议深度解析系列文章,涵盖协议架构、Thread网络拓扑、边界路由器等核心概念Deep dive series on Matter and Thread protocols, covering architecture, Thread mesh topology, and border routers
中文Home Assistant社区论坛,丰富的实战经验分享Chinese HA community forum with extensive practical experience
我的智能家居系统设计遵循三个核心原则:本地优先(所有自动化在本地执行,不依赖云服务)、Apple生态统一(HomeKit作为唯一交互入口)、可扩展性(通过Matter/Thread协议面向未来)。
智能家居设备通过独立VLAN隔离,与主网络分离,确保安全性:
My smart home design follows three core principles: local-first (all automations run locally, no cloud dependency), Apple ecosystem unity (HomeKit as the sole interaction layer), and extensibility (Matter/Thread protocols for future-proofing).
Smart home devices are isolated via dedicated VLANs, separated from the main network for security:
通过Scrypted将TP-Link系列摄像头桥接到Apple HomeKit安全视频,实现iCloud端到端加密录像:
rtsp://user:pass@IP:554/stream1(主码流)或 /stream2(子码流)通过鱼眼镜头改造TP-Link室内摄像头为HomeKit门铃猫眼:
--restart=always确保崩溃后自动重启。Bridging TP-Link cameras to Apple HomeKit Secure Video via Scrypted for iCloud end-to-end encrypted recording:
rtsp://user:pass@IP:554/stream1 (main) or /stream2 (sub-stream)Converting a TP-Link indoor camera with a fisheye lens into a HomeKit doorbell peephole:
--restart=always for auto-recovery.Matter是由Apple、Google、Amazon、Samsung和CSA共同支持的开源统一IP智能家居协议。关键理解:Matter是软件控制平面协议,不是网络传输协议——它构建于IPv6之上,不支持Z-Wave和Zigbee。

ZigBee信道与Wi-Fi信道频谱重叠示意图 (来源: MetaGeek)
Matter is an open-source unified IP protocol backed by Apple, Google, Amazon, Samsung, and the CSA. Key insight: Matter is a software control plane protocol, NOT a networking protocol — it's built on IPv6 and does NOT support Z-Wave or Zigbee.

ZigBee vs Wi-Fi Channel Spectrum Overlap (Source: MetaGeek)