home_assistant:installatie
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| home_assistant:installatie [2024/11/16 18:14] – created - external edit 127.0.0.1 | home_assistant:installatie [2025/10/13 12:55] (current) – admin | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| ===== Debian===== | ===== Debian===== | ||
| + | < | ||
| + | ==== Staging Debian VM ==== | ||
| + | |||
| + | * Create a Debian VM on ESXi | ||
| + | * Give it | ||
| + | * 2–4 vCPU | ||
| + | * 4GB RAM (more if you plan many integrations). | ||
| + | * 20–30 GB disk is usually sufficient for Home Assistant OS installation inside Debian. | ||
| + | * Update Debian: < | ||
| + | sudo apt install -y software-properties-common curl</ | ||
| + | * Install dependencies for Home Assistant Supervised (if you choose this path) | ||
| + | ==== Prepare for Zigbee integration ==== | ||
| + | * Connect the Zigbee dongle to your Debian VM | ||
| + | * Plug the Zigbee USB dongle into your ESXi host. | ||
| + | * Pass it through to the Debian VM via **VM > Edit Settings > USB Controller > Add USB Device** | ||
| + | * Verify in Debian:< | ||
| + | dmesg | grep tty</ | ||
| + | * Install necessary tools (optional but useful):< | ||
| + | |||
| + | ==== Install Home Assistant Supervised on Debian ==== | ||
| + | * Install Docker: < | ||
| + | sudo systemctl enable docker | ||
| + | sudo systemctl start docker | ||
| + | sudo usermod -aG docker $USER</ | ||
| + | |||
| + | ==== Install Home Assistant Supervised ==== | ||
| + | < | ||
| + | bash installer.sh --machine qemux86-64</ | ||
| + | |||
| + | ==== Verify Home Assistant ==== | ||
| + | * Access in browser: < | ||
| + | * Go through the onboarding wizard. | ||
| + | |||
| + | ==== Set up Zigbee integration in Home Assistant ==== | ||
| + | * Install Zigbee integration | ||
| + | * Use Zigbee2MQTT or ZHA (Zigbee Home Automation) add-on: | ||
| + | * ZHA: Easiest, built into Home Assistant. | ||
| + | * Go to **Settings > Devices & Services > Add Integration > Zigbee Home Automation** | ||
| + | * Select your USB device (/ | ||
| + | * Zigbee2MQTT: | ||
| + | * Zigbee2MQTT on Debian VM< | ||
| + | cd zigbee2mqtt | ||
| + | npm ci | ||
| + | cp configuration.yaml.example configuration.yaml | ||
| + | nano configuration.yaml | ||
| + | npm start</ | ||
| + | * Pair your sensors | ||
| + | * Follow pairing instructions of your Zigbee sensor. | ||
| + | * Once paired, Home Assistant should automatically detect temperature readings. | ||
| + | |||
| + | ==== Automate and visualize ==== | ||
| + | |||
| + | * Create a Lovelace card for temperature readings. | ||
| + | * Set automations to trigger events (e.g., if temp > 28°C, turn on a fan). | ||
| + | |||
| + | ==== Optional enhancements ==== | ||
| + | |||
| + | * Use Docker Compose for Home Assistant and Zigbee2MQTT if you want better control. | ||
| + | * Back up the Home Assistant VM regularly (snapshots on ESXi). | ||
| + | * Consider a dedicated Zigbee coordinator like CC2531, CC2652, or ConBee II for best reliability. | ||
| + | ==== Diagram ==== {{ : | ||
| + | |||
| ===== meer info ===== | ===== meer info ===== | ||
| * [[https:// | * [[https:// | ||
home_assistant/installatie.1731780894.txt.gz · Last modified: by 127.0.0.1
