为什么在 Apple「家庭」做為何在 Apple「家庭」做Why do it in Apple Home
- 设置一次,手机不在身边也会执行:iPhone 锁屏、甚至关掉 App 都会执行——由 Apple 家庭中枢(HomePod / Apple TV)触发、ZoneFoundry 家庭桥接执行,所以桥接要一直开着。設定一次,手機不在身邊也會執行:iPhone 鎖定畫面、甚至關掉 App 都會執行——由 Apple 家庭中樞(HomePod / Apple TV)觸發、ZoneFoundry 家庭橋接執行,所以橋接要一直開著。Set it once, runs without your phone: it runs even when your iPhone is locked or the app is closed — your Apple Home hub (HomePod / Apple TV) triggers it and the ZoneFoundry home bridge carries it out, so keep the bridge running.
- 任何品牌都行:只要设备在 Apple「家庭」里(原生 HomeKit、Matter,或经米家 / Home Assistant 桥接),都能和场景组合。任何品牌都可以:只要設備在 Apple「家庭」裡(原生 HomeKit、Matter,或經米家 / Home Assistant 橋接),都可以與場景組合。Any brand works: as long as the device is in Apple Home (native HomeKit, Matter, or bridged via Mi Home / Home Assistant), it can join the scene.
- 各司其职:ZoneFoundry 专注把 Sonos 多房间音频做到最好,设备联动交给 Apple 成熟的家庭自动化。各司其職:ZoneFoundry 專注把 Sonos 多房間音頻做到最好,設備聯動交給 Apple 成熟的家庭自動化。Best of both: ZoneFoundry focuses on great multi-room Sonos audio; device automation is handled by Apple's mature Home engine.
开始前你需要開始前你需要Before you start
- iPhone(iOS 18 或以上)iPhone(iOS 18 或以上)iPhone (iOS 18 or later)
- 在 ZoneFoundry 已经建了至少一个场景在 ZoneFoundry 已建立至少一個場景At least one scene already created in ZoneFoundry
- 已安装并连接 ZoneFoundry 家庭桥接,并已在 Apple「家庭」App 里用配对码添加(做法见让 Siri 和 Apple 家庭直接控制你的 Sonos)已安裝並連接 ZoneFoundry 家庭橋接,並已在 Apple「家庭」App 裡用配對碼加入(做法見讓 Siri 與 Apple 家庭直接控制你的 Sonos)The ZoneFoundry home bridge installed, connected and added to the Apple Home app with its pairing code (see Let Siri & Apple Home control your Sonos)
- 桥接要装在一台一直开着、装了 Docker 的机器上(群晖 / 飞牛 / Unraid / TrueNAS / 软路由 / Linux 主机);Mac / Windows 的 Docker Desktop 不行。安装见家庭桥接安装教程。橋接要裝在一部一直開著、裝了 Docker 的機器上(群暉 / 飛牛 / Unraid / TrueNAS / 軟路由 / Linux 主機);Mac / Windows 的 Docker Desktop 不行。安裝見家庭橋接安裝教學。The bridge runs on an always-on machine with Docker (Synology / fnOS / Unraid / TrueNAS / a soft router / a Linux box); Docker Desktop on Mac or Windows won’t work. Setup: home bridge guide.
- 你的灯 / 空调已经加进 Apple「家庭」App你的燈 / 空調已加入 Apple「家庭」AppYour lights / AC already added to the Apple Home app
- 家里有 Apple 家庭中枢(HomePod 或 Apple TV),自动化才会在你不在身边时运行家裡有 Apple 家庭中樞(HomePod 或 Apple TV),自動化才會在你不在身邊時運行An Apple Home hub (HomePod or Apple TV) at home, so automations run when you are not around
步骤步驟Steps
在 ZoneFoundry 确认你的场景在 ZoneFoundry 確認你的場景Confirm your scene in ZoneFoundry
打开 ZoneFoundry →「自动化」,最上面就是「场景」,确认你有一个场景(例如「回家」)。桥接在线时,它会以「回家」这个名字,作为一个开关出现在 Apple「家庭」App 里,新建或改名后通常半分钟内同步过去。如果你在 ZoneFoundry 里启用过 Apple Home 自动化,打开 App 时它会被自动整理进「ZoneFoundry 场景」这个房间;没启用时,它会在配对桥接时分到的房间里。打開 ZoneFoundry →「自動化」,最上方就是「場景」,確認你有一個場景(例如「回家」)。橋接在線時,它會以「回家」這個名字,作為一個開關出現在 Apple「家庭」App 中,新建或改名後通常半分鐘內同步過去。如果你在 ZoneFoundry 裡啟用過 Apple Home 自動化,打開 App 時它會被自動整理進「ZoneFoundry 場景」這個房間;未啟用時,它會在配對橋接時分到的房間裡。Open ZoneFoundry → Automations — Scenes sits right at the top — and confirm you have a scene (e.g. "Arrive home"). While the bridge is online, it appears in the Apple Home app as a switch with that name; new or renamed scenes usually sync over within half a minute. If you have enabled Apple Home automation in ZoneFoundry, opening the app tidies it into a room called “ZoneFoundry 场景”; otherwise it stays in the room it was given when you paired the bridge.
在「家庭」App 新建一个家庭场景在「家庭」App 新建一個家庭場景Create a Home scene in the Home app
打开 Apple「家庭」App → 右上角「+」→「添加场景」→「自定义」→ 起个名(例如「回家」)。打開 Apple「家庭」App → 右上角「+」→「加入場景」→「自訂」→ 起個名(例如「回家」)。Open the Apple Home app → top-right "+" → "Add Scene" → "Custom" → name it (e.g. "Arrive home").
加入 ZoneFoundry 场景 + 你的设备加入 ZoneFoundry 場景 + 你的設備Add the ZoneFoundry scene + your devices
在「添加配件」里勾选:① 你的 ZoneFoundry 场景开关(设为「开」=执行这个场景)② 客厅灯(开)③ 空调(开,并设好温度)。然后保存。在「加入配件」裡勾選:① 你的 ZoneFoundry 場景開關(設為「開」=執行這個場景)② 客廳燈(開)③ 空調(開,並設好溫度)。然後儲存。In "Add Accessories" select: ① your ZoneFoundry scene switch (set to On = run the scene), ② living-room light (On), ③ AC (On, set the temperature). Then save.
提示:ZoneFoundry 场景在「家庭」里是一个开关,把它设成「开」就会执行整个 Sonos 场景(房间、音量、内容都按你在 ZoneFoundry 里的设定)。执行后开关会自动弹回「关」,这是正常的。提示:ZoneFoundry 場景在「家庭」裡是一個開關,把它設成「開」就會執行整個 Sonos 場景(房間、音量、內容都按你在 ZoneFoundry 裡的設定)。執行後開關會自動彈回「關」,這是正常的。Tip: A ZoneFoundry scene is a switch in Home — turning it On runs the whole Sonos scene (rooms, volume and content exactly as set in ZoneFoundry). The switch flips back to Off by itself right after; that is expected.
(可选)让它自动触发(可選)讓它自動觸發(Optional) Make it automatic
「家庭」App →「自动化」→「添加自动化」→ 选触发条件(传感器侦测到有人 / 某个时间 / 到家)→ 选择运行刚才建的「回家」场景。这样人一进门,音乐、灯、空调就自动一起来。「家庭」App →「自動化」→「加入自動化」→ 選觸發條件(傳感器偵測到有人 / 某個時間 / 到家)→ 選運行剛才建立的「回家」場景。這樣人一進門,音樂、燈、空調就自動一起啟動。Home app → Automation → Add Automation → pick a trigger (a sensor detects someone / a time of day / when you arrive home) → run the "Arrive home" scene you just made. Walk in and music, lights and AC all come on by themselves.
更省事的做法:如果只是想让某个 ZoneFoundry 场景按时间、到家离家或传感器自动执行,也可以不离开 ZoneFoundry:「自动化」→「Apple Home 与进阶」→「Apple Home 自动化」→「创建场景自动化」,选一个场景和触发条件,ZoneFoundry 会直接在「家庭」里建好这条自动化。第一次要先点「启用 Apple Home 自动化」,允许访问家庭数据。更省事的做法:如果只是想讓某個 ZoneFoundry 場景按時間、到家離家或傳感器自動執行,也可以不離開 ZoneFoundry:「自動化」→「Apple Home 與進階」→「Apple Home 自動化」→「建立場景自動化」,選一個場景和觸發條件,ZoneFoundry 會直接在「家庭」裡建好這條自動化。第一次要先點「啟用 Apple Home 自動化」,允許存取家庭資料。A quicker way: if you just want a ZoneFoundry scene to run on a schedule, when you arrive or leave, or from a sensor, you can stay in ZoneFoundry: Automations → Apple Home & advanced → Apple Home automation → Create scene automation, then pick a scene and a trigger — ZoneFoundry builds the automation in Home for you. The first time, tap “Enable Apple Home Automation” and allow access to your Home data.
设备没出现?确认它真的在 Apple「家庭」App 里(不是只在米家或其他厂商 App)。米家 / Home Assistant 的设备要先经「家庭」桥接进来,才会出现在家庭场景里。設備沒有出現?確認它真的在 Apple「家庭」App 裡(不是只在米家或其他廠商 App)。米家 / Home Assistant 的設備要先經「家庭」橋接進來,才會出現在家庭場景裡。Device missing? Make sure it's actually in the Apple Home app (not only in Mi Home or another vendor app). Mi Home / Home Assistant devices must be bridged into Home first before they show up in Home scenes.
看不到 ZoneFoundry 场景开关?先确认 ZoneFoundry 家庭桥接还在线,并且已经在「家庭」App 里用配对码添加过。看不到 ZoneFoundry 場景開關?先確認 ZoneFoundry 家庭橋接仍然在線,並且已經在「家庭」App 裡用配對碼加入過。No ZoneFoundry scene switch? Check that the ZoneFoundry home bridge is online and has been added to the Home app with its pairing code.
锁屏、快捷指令都能接上;装了家庭桥接,还能接 Apple 家庭鎖屏、捷徑都能接上;裝了家庭橋接,還能接 Apple 家庭Lock screen and Shortcuts, plus Apple Home with the bridge
ZoneFoundry 把 Sonos 接进快捷指令和锁屏,不用为了换首歌先解锁再开 App;装了家庭桥接,还能接进 Apple「家庭」。ZoneFoundry 把 Sonos 接進捷徑和鎖屏,不用為了換首歌先解鎖再開 App;裝了家庭橋接,還能接進 Apple「家庭」。ZoneFoundry brings Sonos into Shortcuts and onto your lock screen — no unlocking and opening an app just to change a track. With the home bridge installed, it also joins Apple Home.