It won't usually unless it's a "latching relay" and most aren't.In general, should a relay Keep it's state after the triggering python program runs and closes?
This is one of the reasons to start the program at boot and keep it running continuously with a while loop. Which is what I would also recommend.
Statistics: Posted by hippy — Tue Jul 16, 2024 4:36 pm