Photovoltaic installation for self-consumption in a building or home