Somebody mentioned the need to plan all this out in advance and this is vital.
While everybody is jumping on the home automation bandwagon, there are few people that actually use it to any degree.
Do you really need/want to dim your lights from an app on your phone? Figure out how many eggs you have without opening the refrigerator door? Turn on the TV from 3000 miles away?
I did the X-10 stuff 20 years ago and thought it was the cat's meow. Ended up ripping most of it out because it was a PITA to set up, it never worked reliably and I ended up giving Goodwill about $1k of stuff. Trying to explain this to visitors was also next to impossible.
In my new house, I decided that all I needed was the thermostats - and even that isn't vital since I have geothermal. In another house I have a couple of light switches that are really badly placed, so I just got a highly rated set of phone controlled wall plugs from Amazon that also has a stick-on wall switch - easy to explain to people.
Alarm systems take even more planning. Will you use it while you're home (then using only motion sensors won't work) or will you use it only when away?
Simpli-Safe is a good combination of various sensors and, quite frankly, you don't need to do every window and door. Most break-ins are through garages and front/rear doors. If you are using motion sensors, then you don't need to cover every square inch of the house. If you have one staircase going upstairs, then a motion sensor there will "protect" the entire upstairs and so forth.
The bad guys aren't going to break into a house that has an alarm - they'll just go next door. What many people have done is use motion sensors in a few strategic places and then bought the cheapest piece of crap Chinese window sensors they could find and stuck them on all windows without hooking them up.
While the bad guys have gotten smart about random alarm signs stuck to the mailbox or the front door, they will do a visual check for visible alarm panels and sensors. If they see a stick on sensor on a window, then they have to assume that it is protected.
Me, I have a large government agency as my neighborhood watch, a system that was over-engineered into the house and a portable alarm/active deterrence device (AKA trained GSD)