security system

Hi

I'm working on a security system for a house. There are several parts:

-a motion detector
-a camera
-a lock
-an app (android)

What I need is for the motion detector to send a notification to a phone when it detects something. When the app is opened, then the camera feed can be seen (in the dark, can be low fps). There is also a button in the app that opens and closes the lock.

I found this for connecting a camera to wifi
https://openhomeautomation.net/wireless-camera/

But I can't find anything relating to the app and its camera feed, or any of the other parts of the project.

I would appreciate all the help I can get.

Thank you

Where does the Arduino come into this?

It would be controlling the whole thing and sending out the data

You mean the "motion detected/ not detected" data?

the camera, cellular, motion detector, and locking system would all be controlled by it, unless something else would be better, like a rpi?

Except for the video feed (lots of data) those tasks are more Arduino than RPi, imho. Arduino could help switching on/off the camera (use IR mode for pretty good frame rates) after which you can simply connect to the cam through the regular web browser. Most such cams have a web interface built in, no need to try to pull that in your app.
As it's Internet connected maybe the ESP8266 modules (ESP-12, WeMOS, NodeMCU) are a better choice for this project.