Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:ha [2021/01/07 23:22] Andreas Böhlerprojects:ha [2024/02/29 12:48] (current) – [Shutters] 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 and PoE+ on every port with a total power capacity of 384WIt's a L2+ switch, so it provides VLAN and some advanced switching stuff. For Internet access, an Ubiquiti EdgeRouter-X powered by OpenWrt is used. All other switches and the WiFi AP are also VLAN capable: That's important, because we defined three VLANs in our home:+Most of the network is run by two core switches: ZyXEL GS1900-24HPv2 and HPE JG927ABoth are L2+ switches, so they provide VLAN and some advanced switching stuff. For Internet access, an DreiNeo Pro powered by OpenWrt is used. All other switches and the WiFi APs are also VLAN capable: That's important, because we defined three VLANs in our home:
  
   * VLAN "Management": for configuring devices; does not have Internet access   * VLAN "Management": for configuring devices; does not have Internet access
Line 15: Line 15:
   * VLAN "Technik": for all switches, alarm system etc. with "partially" trusted interfaces   * VLAN "Technik": for all switches, alarm system etc. with "partially" trusted interfaces
  
-The access point (a TP-Link Archer C7is also powered by OpenWrt and provides two WiFi networks, one bridge to "Private" and one bridge to "Technik". This way, also the wireless appliances can be added to an "untrusted" network section.+The access points (Extreme Networks WS-AP3915iare also powered by OpenWrt and provide one WiFi network with different keys, one bridge to "Private" and one bridge to "Technik". This way, also the wireless appliances can be added to an "untrusted" network section.
  
-The OpenWrt firewall on the EdgeRouter-X allows or denies access and routing between the different subnets and the Internet.+The OpenWrt firewall on the main router allows or denies access and routes between the different subnets and the Internet.
  
 ===== Switching Lights ===== ===== Switching Lights =====
  
-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. After quite lot of research, I went for Ethernet relay modules: [[http://denkovi.com/smartden-maxi-io-relay-module-snmp-http-din-rail-box|Denkovi smartDEN IP-Maxi]]. All light switches are connected to the digital inputs and are configured as push buttons for the corresponding relays. They are integrated into Home Assistant and are therefore easily controllable via software.+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. For half year we had a ready-made solution ([[http://denkovi.com/smartden-maxi-io-relay-module-snmp-http-din-rail-box|Denkovi smartDEN IP-Maxi]]), but the system is not very flexiblePlus, since it provides only HTTP and SNMP interfaces, the integration into Home Assistant is also not very tight. Therefore, I went for my own solution based on ESPHome: 
 + 
 +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 
 + 
 +All modules communicate via differential i2c, run along +5V over CAT5 patch cablesEverything is nicely integrated into rail mount modules. 
 + 
 +For the dimmable lights I use relatively cheap DMX light controllers (2 channels).
  
 ===== Door Bell ===== ===== Door Bell =====
  
-The door bell solution is yet installedit will probably consist of Hikvision IP intercom stations.+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 DHCPall configuration has to be done statically.  
 + 
 +For better integration, I added a central Asterisk server where all stations connect to. This way, the bell can be forwarded to our smart phones and other VoIP phones.
  
 ===== 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://github.com/andyboeh/ezr2json|ezr2json]] serverthe parameters can be polled and set from within Home Assistant.+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 radiatorsI installed HomeMatic wireless thermostats, wireless wall thermostats and te CCU interface and it is therefore easily integrated into Home Assistant.
  
 ===== Alarm System ===== ===== Alarm System =====
Line 38: Line 54:
  
 For the integration of 433MHz devices (e.g. our outdoor wireless thermometer), I built an [[http://www.rflink.nl/blog2/wiring|RFLink]] gateway - most of the hardware devices were available anyway and the gateway is very inexpensive to build. For the integration of 433MHz devices (e.g. our outdoor wireless thermometer), I built an [[http://www.rflink.nl/blog2/wiring|RFLink]] gateway - most of the hardware devices were available anyway and the gateway is very inexpensive to build.
 +
 +Additionally, I'm experimenting with RFLink on ESP8266 and I can receive some 433MHz devices, most notably one Intertechno-based wall switch, via Homegear/CUBe.
 +
 +===== 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 <del>two Mediola v4 gateways. I got them used for a few euros, each gateway can control up to 15 Elero shutters. As integration, I wrote [[http://github.com/andyboeh/mediola2mqtt|mediola2mqtt]], which makes certain Mediola devices available via MQTT, including auto discovery for Home Assistant.</del> a custom solution based on an ESP32 with a CC1101 module. The relevant ESPHome-module can be found on github: [[http://github.com/andyboeh/esphome-elero|esphome-elero]].
 +
 +The Somfy shutters <del>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://github.com/andyboeh/Homegear-Somfy|github]].</del> are controlled by a similar ESP32 + CC1101, but with ESPSomfyRTS as software component.
  
 ===== 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.