I have created a garage door controller using my pi zero w. I am currently using a GPIO pin which will send the signal to relay and trigger the relay for a second which connects the garage door switch.
I know that there are some pins that go HIGH and some pins that go LOW after the boot "complete". Now, I have observed an issue, Whenever the pi reboots or boots up, All the pins go high for a second while the boot up is happening and then the pins that have to be set to LOW on boot up goes Low. My pin is 9, which will be low once the pi OS boot up completes. But there is a 1-2 second period for which the PI sets the pin to High while booting. This is causing the garage door to open and I will not know about this.
Is there a way to turn this off in the software?
I do have an alternative, by using a circuit which will turn the relay on only if the signal is for 3 seconds or more. but still, this will slow down the responsiveness by adding the 3-second delay on the toggle.