Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
projects:ha [2021/01/07 19:30] – created Andreas Böhler | projects:ha [2025/08/12 20:35] (current) – Andreas Böhler | ||
---|---|---|---|
Line 9: | Line 9: | ||
One of the most important backbones in our home is the network infrastructure. We ran CAT7 cables in all rooms, used them for the light switches (see next section) and for the alarm system (see later section). Orange CAT7 cables are either network or light, blue CAT7 cables are alarm system cables. | One of the most important backbones in our home is the network infrastructure. We ran CAT7 cables in all rooms, used them for the light switches (see next section) and for the alarm system (see later section). Orange CAT7 cables are either network or light, blue CAT7 cables are alarm system cables. | ||
- | The whole network is run by a TP-Link T-1600G switch which features 48-Ports | + | Most of the network is run by two core switches: ZyXEL GS1900-24HPv2 |
* VLAN " | * VLAN " | ||
Line 15: | Line 15: | ||
* VLAN " | * VLAN " | ||
- | The access | + | The access |
- | The OpenWrt firewall on the EdgeRouter-X | + | The OpenWrt firewall on the main router |
- | ===== Switching Lights | + | ===== Servers |
- | Regarding the light switches, I wanted a rather simple solution that can be used stand-alone without any dependency on a central server or infrastructure. | + | Yes, I have to write servers in plural. The reason is simple: When I was on holiday, the power supply in my single Home Assistant server died and the whole home automation was down. While this is not a big show-stopper as everything can be controlled without it, it's still annoying. Since then, I've invested in more systems: |
+ | |||
+ | - 2x Acemagic S1 (Intel N97, 16GiB RAM, 512GiB SSD, Dual Gigabit LAN) | ||
+ | - 1x CWWK NAS Mainboard (Intel N150, 32GiB RAM, 1TiB SSD + 2x16TiB HDD, Dual 2.5GBit LAN, Google Coral EdgeTPU) | ||
+ | |||
+ | The three systems are configured as a fully virtualized cluster, based on Proxmox. The VMs and containers are distributed as follows: | ||
+ | |||
+ | - Acemagic 1: | ||
+ | - Debian Stable VM: Docker (Home Assistant, ESPHome, Homematic CCU, ZWaveJS2MQTT, | ||
+ | - Acemagic 2: | ||
+ | - Debian Stable VM: FreePBX | ||
+ | - Windows 11 VM: Home Service (configuration utilities that do now have Linux equivalents) | ||
+ | - CWWK: | ||
+ | - Debian Stable LXC: Docker (TVHeadend, Frigate, InfluxDB, Grafana, Lyrion Music Server), Native (NFS, Samba) | ||
+ | |||
+ | I did not implement realtime failover, but use a replication-based approach: All virtual machines are replicated every 15 minutes to the other hosts. Proxmox takes care of migrating/ | ||
+ | |||
+ | ===== Switching Lights (and other stuff) ===== | ||
+ | |||
+ | Regarding the light switches, I wanted a rather simple solution that can be used stand-alone without any dependency on a central server or infrastructure. | ||
+ | |||
+ | I designed a bunch of PCBs and smart home modules, all powered by ESPHome: | ||
+ | |||
+ | * Base Module with ESP32, LAN, two relays, two digital inputs, OneWire | ||
+ | * Relay Module with 8 relays | ||
+ | * Input Module with 8 inputs | ||
+ | * Input/Relay Module with 8 inputs and 8 outputs | ||
+ | * Base Module X with ESP32, LAN, 8 relays, 8 digital inputs, OneWire and DMX | ||
+ | * Relay Module with 14 relays | ||
+ | |||
+ | All modules communicate via differential i2c, run along +5V over CAT5 patch cables. Everything is nicely | ||
+ | |||
+ | For the dimmable lights I use relatively cheap DMX light controllers (2 channels). | ||
===== Door Bell ===== | ===== Door Bell ===== | ||
- | The door bell solution | + | For the door bells, I went for a HikVision IP-based system that is entirely PoE-powered. |
+ | |||
+ | For better integration, | ||
===== Heating control ===== | ===== Heating control ===== | ||
- | The newly installed floor heating can be controlled via wall thermostats as well as over IP: The control modules are Möhlenhoff Alpha 2 IP systems that provide an XML interface. | + | The newly installed floor heating can be controlled via wall thermostats as well as over IP: The control modules are Möhlenhoff Alpha 2 IP systems that provide an XML interface. |
+ | |||
+ | As we have a few older radiators, I installed HomeMatic wireless thermostats, | ||
===== Alarm System ===== | ===== Alarm System ===== | ||
As an alarm system, we went for a bus-based Jablotron system. There is a native USB integration for Home Assistant (available in HACS) that works very well. This allows the use of the motion detectors for switching on the lights in the corresponding room using an automation rule in Home Assistant. | As an alarm system, we went for a bus-based Jablotron system. There is a native USB integration for Home Assistant (available in HACS) that works very well. This allows the use of the motion detectors for switching on the lights in the corresponding room using an automation rule in Home Assistant. | ||
+ | |||
+ | ===== 433 MHz devices ===== | ||
+ | |||
+ | For the integration of 433MHz devices (e.g. our outdoor wireless thermometer), | ||
+ | |||
+ | Additionally, | ||
+ | |||
+ | ===== Shutters ===== | ||
+ | |||
+ | In the meantime, I replaced all wires with proper 4-conductor wires and all motors with Elero RevioLine motors. They are all driven by my newly developed 14-relais module and ESPHome with the custom [[http:// | ||
+ | |||
+ | For reference, the older solution: | ||
+ | |||
+ | We have shutters around the house, driven by Elero and Somfy remotes. For the Elero-based shutters, I did a lot of research and finally went for < | ||
+ | |||
+ | The Somfy shutters < | ||
===== Further devices ===== | ===== Further devices ===== | ||
- | Some further devices integrated into Home Assistant are our Neff oven (via Home Connect) or some Gosund wireless wall plugs, the entire SqueezeBox eco system and a few other devices. An RFLink integration is currently under development. | + | Some further devices integrated into Home Assistant are our Neff oven (via Home Connect) or some Gosund wireless wall plugs, the entire SqueezeBox eco system and a few other devices. |