Advise on renovating fusebox design in new apartment

Hi there,

can some body please share an experience or idea how to completely rebuild the apartmnet electricity to keep some stuff be able to controlled by our lovely Home Assistant.

What i want is to have a HA in rack on RPI 4 , and the RPI 4 i want to have wired to another device which willl have approx 20 relays for lights and approx 20 input for wired wall switches. That device in my DIY world could be a bunch of Ethernet ESP32s with relay board and ESP home. But i would like to avoid this DIY section. I would like to have a propper piece of hardware professionally assebled and certified to not get rejected by insurance company in case of fire etc.

Hardware-vise i need something like Loxone

But software-vise i still want to keep home assistant becouse I’m familiar with all settings automations etc.

So the ideal thing could be like Shelly Pro 4PM times 4 or something like that.

Thank you for any advise.

Maybe sonoff products could work too.