替代付费服务Homey Premium ($36/yr)
内存占用400 MB 常态 · 800 MB 峰值
支持架构amd64 / arm64
开源协议Apache-2.0 · 中等
避坑提醒
Docker 安装方式没有加载项商店,设备发现需要 network_mode: host,USB Zigbee 棒必须直通进容器。
零公网端口 Compose 片段
已自带 mem_limit 与 127.0.0.1 绑定。打开选配台可一键组合 Tailscale/Cloudflare 与本地 .env。
# Generated by NASPicks (https://naspicks.com/planner/)
# Hardware: UGREEN NASync DXP2800 (8 GB, ugos) | Peak est: 0.8 GB / 6.7 GB
# Zero-open-port default: web ports bind to 127.0.0.1 and are reached via tailscale.
# Every service includes mem_limit (peak x 1.2) to help prevent host OOM freezes.
services:
homeassistant:
image: ghcr.io/home-assistant/home-assistant:stable
container_name: homeassistant
restart: unless-stopped
mem_limit: 960m
# Host network is required for mDNS / local smart-home device discovery
network_mode: host
environment:
- TZ=${TZ}
volumes:
- ${DATA_DIR}/homeassistant:/config
networks:
naspicks:
driver: bridge
讨论区(GitHub Discussions)
GitHub Discussions ↗评论区采用懒加载,确保海内外页面秒开。