I'm starting my home automation project, but I need some advice

Easiest way without programming at all:

or