Turning electrical installations into a “smart” home