Been using this for over 3 years… I made it, it’s simple and directions are clear…
https://github.com/cowboysdude/Pir-Sensor