Arduino Outdoor Security System - PIR Motion Sensor, Security Lights, Intruder Warning/Alarm & Blynk Notification

I would like to ask your suggestions on how to build an outdoor ESP2866 security and sensors combo. I have seen separate postings on PIR and lights around the site and in other websites so I thought it would be doable. I knew Arduino then but only paid close attention when I realized that my x-10s are outmoded but z-wave devices are expensive. So I am learning about it, how to sketch and trying to understand C++ more.
My dream is to build an outdoor ESP2866 combo, powered by an AC120v-5v module, with two PIR motion sensors, three 120v relay switches (two relays for two sets of security floodlights and one relay for an amp/wave speaker with mic), a photo (dusk/dawn) sensor and temperature/humidity sensor (for a future thermostat). Operationally, I imagine that it could be armed and disarmed through Blynk. When armed at daytime, a motion will trigger a low volume intruder MP3 warning alert with 10 minutes of security lights at night. But if the trigger persists for more than 5 minutes, the security floodlights will blink, a loud intruder alarm will sound and push phone notifications.
What will be the best way to sketch these? What is the better way of wiring them together? How could I make multiple ESP2866s in the same WAN work together for an event? The desired function is if an alarm event is triggered in one of the ESP2866 that would also set off blinking lights and alarm sounds in the other ESPs. Thanks for all your help.

iceng3 months ago

You need to collect application data on all your sensors and design an input circuit schematic... Similarly you need to design the output schematic and layout a software logic block diagram...

In multiple input security scenarios the software needs to operate on a polling and interrupt mode by designating certain sensors more important then distant out strung warning sensors..