@lostresearcher, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project
See About the Installation & Troubleshooting category.
Please post your code here (and, just in case, don't forget to use code tags). Please post a wiring diagram of your setup; a clear photo in daylight might also be helpful.