Skip to content

Decisions

The four earlier projects contradicted each other in places. This chapter lists every contradiction, what was decided, and why. The rest of the guide follows this table without repeating the debate.

# Question Ruling
R1 Form of the guide One guide in chapters, written as a brand new setup on a brand new Mac, in English. Every step has a verification and a rollback. Each service has a restore path and a from-scratch path. Completeness over brevity
R2 Where sources conflict Judgement: the most performant, efficient, secure and convenient option
R3 Home Assistant VM Move the existing VM if that is simple, otherwise rebuild
R4 Virtual machines Three: Home Assistant, infra for personal services, and a separate third VM for the remote site’s warm failover
R5 Mac policy FileVault on, no automatic login. VM disks encrypted. Every password, key and passphrase in 1Password
R6 NAS address 10.0.2.2, final
R7 Remote access Cloudflare Tunnel
R8 Mosquitto, Matter and anything tied to Home Assistant Containers inside the Home Assistant VM
R9 Publication Real values in the private repository. The public site keeps private addresses and may describe the remote site, but carries no personal information and no name tied to the remote owner
R10 Wired and Wi-Fi networks One trusted network in place of Wired and WiFi, and one IoT network in place of IoT and WiFi_IoT
R11 VLAN numbers Every VLAN ID follows its subnet: VLAN N is 10.0.N.0/24
R12 Reuse of the freed numbers Standby on VLAN 6, 10.0.6.0/24, because the remote site is 10.6.x.x. Surveillance moves from VLAN 8 to VLAN 3, 10.0.3.0/24. Final layout: 1 Default, 2 Servers, 3 Surveillance, 4 IoT, 5 Trusted, 6 Standby, 7 work, 100 neighbour
R13 VLAN 7 The work network, named Work: isolated, used only for the job, one wired Mac and no Wi-Fi
# Conflict Decision Why
J1 Home Assistant as HA OS at 10.0.2.4 (UniFi project) or Debian with Docker on VLAN 5 (running today) Debian 13 with Docker, on VLAN 5 It runs and is proven: tagged VLANs through UTM’s bridge, the Thread route learned from the HomePods, wake-on-LAN. HA OS cannot host plain containers, which R8 asks for, and its VLAN interface through UTM was never tested
J2 home VM address: 10.0.5.20 (today) or 10.0.5.2 10.0.5.2, and 10.0.4.2 on VLAN 4 Follows the .1 to .10 convention, and it is the address the phones and bookmarks used before. The NAS gives it up when it stops being multi-homed (chapter 8)
J3 Mac address: 10.0.2.2 on Servers (UniFi project) or the wired VLAN 3 (before R10) 10.0.5.3 on the Trusted network (VLAN 5), untagged R6 gives 10.0.2.2 to the NAS. The Mac is a workstation, so it lives with your other devices. Its switch port carries Trusted untagged and the VM VLANs tagged
J4 Who holds 10.0.5.2 The home VM The address the phones and bookmarks already use. The Mac takes 10.0.5.3 beside it
J5 Scrypted: native on macOS (UniFi project) or in a container Container in the home VM The only reason for macOS was CoreML, which is not used. In the VM it sits on the Home hubs’ subnet, which HomeKit Secure Video requires, with no extra interface on the Mac and nothing installed on the workstation. It also follows R8
J6 infra VM address: 10.0.2.3 (UniFi project) or 10.0.2.5 (built) 10.0.2.5 Already built and verified there. Every DNS setting in this guide uses 10.0.2.5
J7 NAS on its own Storage VLAN at 10.0.9.3 (UniFi project) Dropped. The NAS stays on Servers at 10.0.2.2 R6. The same isolation is reached with DSM’s own firewall plus UniFi policies on its address: no internet, backup ports from three hosts, admin from the Mac only
J8 Standby VM on Servers VLAN 2 (as built) or isolated (as promised in the remote site’s plan) Its own VLAN 6 and firewall zone The VM holds another household’s photos and business data. Neither house should see the other’s network, and the plan given to the remote owner says so
J9 DNS for each VM: Pi-hole at 10.0.2.2, AdGuard, or public resolvers Clients and the home VM use AdGuard Home at 10.0.2.5 with the gateway as second server. infra and standby use Cloudflare 1.1.1.2 and 1.0.0.2 directly AdGuard replaces Pi-hole and dnscrypt-proxy. The DNS server must not depend on itself to pull its own images. The standby has no path to the home network by design
J10 Pi-hole plus dnscrypt-proxy, or AdGuard Home AdGuard Home One container with encrypted upstreams built in. Decided 2026-11-24
J11 Services under Apple container on macOS (mac/ in this repository) or in a VM The infra VM R4. Apple’s runtime has no host networking, so DNS loses client addresses. mac/services and mac/bin/svc are kept for history and marked superseded
J12 Monitoring: trimmed stack without Grafana (24 Nov) or with Grafana and Loki (26 Nov) Prometheus, Grafana, Loki, Alloy, UnPoller, blackbox, node exporter, cAdvisor, SNMP exporter for the NAS The later decision. Home panel specs 27 and 28 use Grafana, and Loki puts logs beside the metrics
J13 Retired NAS services Pi-hole, dnscrypt-proxy, both Pi-hole exporters, homepage, Uptime Kuma, hydroqc2mqtt, cAdvisor on the NAS Replaced by AdGuard, the Home panel, health rules and the Hydro-Québec integration already in Home Assistant
J14 Disk encryption: unattended key file in the initramfs (planned in the UTM notes) or a passphrase LUKS passphrase from 1Password, typed into the serial console by mac/bin/vm-unlock after login R5. A key file inside the VM image protects nothing if the image is copied. With FileVault and no automatic login a person is at the Mac after every restart anyway, so one Touch ID costs little. VM images copied to the NAS stay encrypted
J15 Existing home VM is not LUKS encrypted The restore path moves it as it is (R3) and relies on FileVault. The from-scratch path builds it with LUKS Converting a running root disk to LUKS in place is not simple. Chapter 7 says how to switch later
J16 Remote access: Tailscale Funnel (decision card, 6 Nov) or Cloudflare Tunnel Cloudflare Tunnel R7
J17 NAS backups by rsync over SSH (HA guide) or SMB only (UniFi project) SMB only, SSH off DSM 7.0 gets no more fixes, so the NAS exposes one file protocol
J18 Kit: plan says databases reload every 15 minutes, kit reloads at most every 60 The kit is right. Dumps arrive every 15 minutes (data loss bound unchanged), the standby reloads them at most every 60 DB_RESTORE_INTERVAL_MIN=60. Chapters 13 and 14 use the corrected wording
J19 Kit README creates a crm sentinel, the configuration expects espocrm, invoiceninja, freshrss, _dumps The configuration is right. This guide installs by Ansible, which places the right sentinels, and gives the corrected manual command A missing sentinel fences the primary: following the README by hand would stop the remote site’s applications
J20 Standby VM address in the kit examples (10.7.9.2) 10.0.6.2 R12. 10.0.6.0/24 does not overlap the remote site’s 10.6.0.0/16
J21 Thread prefix differs between documents Check for any fd…::/64 route learned by router advertisement, not a fixed prefix The prefix belongs to the Thread network and can change
J22 UniFi controller address: 10.0.0.1 in old examples, 10.0.1.1 in the running configuration 10.0.1.1 for UnPoller and the probe. Protect clients use the gateway address of their own VLAN 10.0.0.1 was a stale example value
J23 IGMP snooping: on everywhere (audit fix guide) or off (Scrypted guide) Off on Trusted and IoT, on elsewhere Snooping is a documented cause of lost HomeKit discovery. The two networks where discovery happens go without it, the others keep it to limit multicast
J25 Order of the work: network fixes first (UniFi project) or services first Services first. Only the network prerequisites come early (chapter 3). The firewall zones and the audit’s other fixes come once the VMs run (chapter 10) the owner’s ruling of 2026-11-26. Each restriction is then tested against the real setup, and a build step never fails because of a rule added the week before
J24 Storage of Insights Plus dumps: NFS share on the NAS (26 Nov) or SMB SMB, with the other backups J17 keeps one file protocol on the NAS. The database stays on the VM disk, and only finished dump files cross, which SMB handles safely
J26 R10: which VLAN survives each merge Trusted keeps VLAN 5 (10.0.5.0/24). IoT keeps VLAN 4 (10.0.4.0/24). The freed numbers go to Surveillance (3) and Standby (6) once Wired and WiFi_IoT are gone (R12) Home Assistant keeps 10.0.5.2 and stays beside the HomePods and Apple TV, which Matter, Thread and HomeKit depend on. On the IoT side the TV, the wake-on-LAN broadcast address in the Home Assistant configuration and the VM’s leg keep their addresses. Every other device moves by DHCP on its own
J27 The home VM now shares a VLAN with the Mac that hosts it Its main interface is untagged, like the Mac’s. Only its IoT leg stays tagged A switch port has one untagged network, and both machines are in it. One tag fewer also removes the 1496 MTU on the VM’s main interface
J28 The home VM’s IoT leg now faces every IoT device, not three wired ones The leg keeps its address for wake-on-LAN broadcasts only: its subnet route is removed and new inbound connections on it are dropped Otherwise answers to IoT devices would leave by the leg while their requests arrive through the router, and IoT devices could reach Home Assistant without crossing the firewall. Now every flow between IoT and Home Assistant crosses the router in both directions
J29 Network names after R10 Trusted (VLAN 5) and IoT (VLAN 4). The Wi-Fi names (SSIDs) do not change A network is named for its trust level. Keeping the SSIDs means no device has to be joined again
J30 R13: how the work network is isolated Its own firewall zone, Work: internet, plus DHCP, DNS and time from the gateway. Blocked to and from every other zone. It keeps the gateway’s DNS, not AdGuard Until now VLAN 7 sat in the Internal zone, which allows everything between its networks. An employer-managed computer is a device you do not administer, and the employer should not see the home either. Work computers bring their own DNS and VPN rules, so a home ad filter in the path only causes support tickets
  • Never base an automation on camera motion detection. Use phones, door sensors and the first-floor motion sensor.
  • Every Home Assistant or panel change goes into the repository as its own pull request, merged by the owner.
  • Markdown documents live in the repository’s doc/ folder, indexed in doc/README.md.
  • Guides are complete, give a short why per step, and stay concise.
  • On the remote site: no open port, stable versions only, no network change without talking to its owner first, no SSH to its NAS, one site serves at a time, and the return to the primary is always manual.