Thank you for using Just Answer!
There are a few methods you can try depending upon the setup of your porch and porch lights. I have attached a link to a website provides an overview of some different tactics. Review and see which will apply best to your situation.
Feel free to post any follow-up questions you may have.