A lack of drivers for the esp 12e however resulted in noisycarlos switching to a raspberry pi zero w and with the use of some python code the project finally came to life using a mobile app to finally control the lock over tcp with some home protecting encryption added into the mix to prevent anyone hacking the house.
Smart door lock with python and blunk in raspberry pi.
The first smart thing our door is going to do is detect someone approaching it.
To do this we need to add a line to the autostart.
We need to make the script autoload whenever the raspberry pi starts up.
It can be unlocked over a wifi connection using a smartphone and a custom app.
Make the python script autoload when your raspberry pi boots up.
Build the ultimate smart home door lock system turning your office into a high security vault.
Drill a pilot hole if necessary to avoid that.
Get 2 free months of unlimited classes with skillshare.
With the python script downloaded to the raspberry pi user s home directory make sure you install all the dependencies required by the script.
Secure the mounting block in place and try not to split the wood like i did oops.
Mount the screen and pi to the door we used 3m command strips placed so you can attach the camera s ribbon cable to the pi once it s shut down.
Connect up relay switch raspberry pi electronic door strike.
You can create an internet connected smart door lock using your raspberry pi 3 single board computer.