Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
projects:ha [2021/03/02 21:48] – 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 and expansion port | ||
+ | * 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 integrated into rail mount modules. | ||
+ | |||
+ | For the dimmable lights I use relatively cheap DMX light controllers (2 channels). | ||
===== Door Bell ===== | ===== Door Bell ===== | ||
- | For the door bells, I went for a HikVision IP-based system that is entirely PoE-powered. The outdoor module contains the base station, the indoor door stations connect to this outdoor station. The only downside is that the modules do not support DHCP, all configuration has to be done statically. This one is not yet integrated into Home Assistant. | + | For the door bells, I went for a HikVision IP-based system that is entirely PoE-powered. The outdoor module contains the base station, the indoor door stations connect to this outdoor station. The only downside is that the modules do not support DHCP, all configuration has to be done statically. |
+ | |||
+ | 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. Using my custom [[http:// | + | 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 | + | As we have a few older radiators, I installed |
===== Alarm System ===== | ===== Alarm System ===== | ||
Line 45: | Line 79: | ||
===== Shutters ===== | ===== Shutters ===== | ||
- | 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 two Mediola v4 gateways. I got them used for a few euros, each gateway can control up to 15 Elero shutters. As integration, | + | 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 <del>two Mediola v4 gateways. I got them used for a few euros, each gateway can control up to 15 Elero shutters. As integration, | ||
- | The Somfy shutters will be controlled by Homegear and one of my CUBes with a 433MHz module. For this, I integrated Somfy RTS into Homegear, currently only available in my [[http:// | + | 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. | 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. |