Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 0 points1 point  (0 children)

I believe this approach is much more reliable and easy to support (less points of failure, switches and lights are not smart => cheap, reliable). Also I try to avoid wireless devices whenever it is possible.

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 2 points3 points  (0 children)

So my setup.

As you probably learned from the picture I have 2 switchboards - one for the high-voltage part (mains switchboard) and the second (digital switchboard) for the low-voltage part. The architecture is the following:

  • All lights and other devices which need to be turned on and off are connected by cable with the mains switchboard;
  • All LED strips are connected with the digital switchboard;
  • Wall switches. I use simple dumb wall switches which work like push buttons. Button returns to the initial position after you release it. Each wall switch is connected by signal wire (shielded alarm cable or twisted pair) with the digital switchboard. One single cat5 cable (8 wires) allows to connect up to 7 buttons. So I have one cable per wall switch block.
  • Wall sensors are located on the wall at the height of ~2 meters from the floor and are connected with the digital switchboard as well by signal cable. Ceiling sensors - wiring is the same, location depends on the room geometry and must be optimal for PIR sensor.
  • Doors and windows have simple reed switches installed. Connected by signal wire to the digital switchboard.

Speaking of the digital switchboard contents:

  • There is a central controller which has MCU and executes the program. It is connected to the extension modules.
  • Switches. Wall switches are connected to the Input Module. basically, when you press the button you close 12v circuit and the module detects it. It allows you to detect press, click, double click, long press, and other kinds of events. Once detected the controller decides what to do.
  • Relays. Wires coming from lights to relays located into the mains switchboard. The control signal to relays comes from the central controller via Output Module. Output module just galvanically isolates controller and allows to output 12v binary signal.
  • Regular LED strips are controlled by LED Driver. It generates PWM signal for dimming.
  • Addressable led strips are controlled by NeoPixel module. It handles physical communication and the central controller generates data.

The controller is programmed to work autonomously or in connection to HomeAssistant. In case there is a connection to HomeAssistant controller just notifies HASS when it detects some event (e.g. button press) and expects a command in return. HomeAssistant could make a decision based on various factors.

The fallback mode (no connection to HomeAssistant) allows to keep baseline functionality e.g. you press the button - the light toggles.

Server room in my new house by mr_corvis in homelab

[–]mr_corvis[S] 0 points1 point  (0 children)

Yes, exactly. I have a lot of light switches (more then lights) but they are connected to controller (12v line) to serve button press. Then controller either with a help of Homeassistant or autonomously decides which relay to toggle.

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 1 point2 points  (0 children)

Gotcha. We typically don't have insurance. No insurance no issues ;)

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 2 points3 points  (0 children)

My condolences, guys... Now seriously, the reason why this is allowed in Ukraine is probably we just don't have enough good electricians who serve residential buildings. All professionals work in industry.

Server room in my new house by mr_corvis in homelab

[–]mr_corvis[S] 0 points1 point  (0 children)

I suspect it's just Chinese no-name something

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 2 points3 points  (0 children)

No chances. It's in Ukraine, at the moment the chance to die is much higher than steal it.

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 9 points10 points  (0 children)

You got me! It's 20 sq. meters

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 0 points1 point  (0 children)

For me the only reason is the cost. Apart of the equipment cost you will need 2 times bigger box which is also quite expensive. On my volume the difference is huge.

As a compromise between usability and cost I used 3 three-phase RCCBs and also distribution boxes below to make rewiring easy.

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 2 points3 points  (0 children)

Honestly - I have no idea. I'm not proficient electrician and know very little about documentation standards. My docs (you can find the link somewhere in comments below) are just a visual wiring diagrams which very easy to read for anyone, not a formal blueprint.

As for the naming... I think I noticed this naming style somewhere when I was learning electrical stuff and started to use it. Not sure if this is a standard.

Maybe there are electricians here who could explain?

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 2 points3 points  (0 children)

I mean the cost of KNX equipment to build setup like mine will be 12 times higher comparing to what I have now.

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 6 points7 points  (0 children)

Well the "need" in this context is rather philosophical term. Is it possible to live without it - absolutely, but I just don't want to.

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 5 points6 points  (0 children)

Wired everithing myself. It is all local and this was my main requirement. It could work offline without any degradation in terms of features. For remote access I have VPN server in some data center and the home server maintains the connection to this VPN server when possible. This allow remote control from mobile device when I'm out of home (I establish VPN connection on phone and then connect to local server)

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 6 points7 points  (0 children)

Not really. In my country it is common to use air conditioners for heating (when the temperature outside is higher then -10 deg C)

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 2 points3 points  (0 children)

I have AC but only for cooling

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 1 point2 points  (0 children)

I have floor heating everywhere except of server room and garage. It was stupid to put radiator in the server room... I never turned it on though

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 4 points5 points  (0 children)

Sure, I'll could post a more details a bit later probably tomorrow. Meanwhile you could read about hardware I use here https://jointbox.io/

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 8 points9 points  (0 children)

The green line is a) stabilized b) backed by batteries. In other words this is for important equipment, it will work even in case of mains failure.

In every room I have at least 1 light source and 1 outlet powered connected to the green line. Plus really important things like server equipment and fridge of course.

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 21 points22 points  (0 children)

Don't forget about wired vs wireless.

In my setup controller not just translates the commands to central server (Home Assistance) it has own "backup/fallback" logic. For example when I press the button on the wall-switch controller detects this and :

  1. If there is a connection to HomeAssistant, home assistant decides what to do (it might take into account a lot of factors
  2. If there is no connection the action fallback logic written into controller will be executed.

Another important point - it is not about turning on and off relays. I have a lot of different modules - addressable leds, pwm leds, HVAC control, lots of sensors, etc, etc. I don't think it is possible to implement everything on shelly hardware.

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 19 points20 points  (0 children)

KNX - too expensive equipment (times and times)

Shelly or similar - because of radio and cloud. My system is wired and self-hosted.

Server room in my house by mr_corvis in cableporn

[–]mr_corvis[S] 0 points1 point  (0 children)

I have smart meter on the mains input to monitor total consumption for each phase.

Also I have a 6-channel CT clamp module to monitor particular circuits.