You will have a central "Controller", "Input" devices that tell you what is happening (motion, doors opening, temperature, humidity, light, etc) and "Output" devices that make things happen (turning on a light, switching off a socket, opening a door, etc).
The basic building blocks and components of any Smart Home will be similar. You will have a central "Controller", "Input" devices that tell you what is happening (motion, doors opening, temperature, humidity, light, etc) and "Output" devices that make things happen (turning on a light, switching off a socket, opening a door, etc).