Open HAB

Install a new power socket in the Utility room, with 5V (3.1A) USB output. Run network cable from switch in loft to the Utility room.

Need one Raspberry PI I went for the 3B+, probably could of got away with something lower power. With a suitable SD Card.

Install Open HAB following the instructions on the openHab website.