It appears that this will replace the script that turns it on with one that will turn it on AND allow the button press to turn it off. It works!
I even changed the 900 to 5 to make sure the light went out at 5 seconds so I would not have had to wait for 15 minutes to verify that. This is awesome!
Edit: had to add "Button" to the gpiozero imports
I even changed the 900 to 5 to make sure the light went out at 5 seconds so I would not have had to wait for 15 minutes to verify that. This is awesome!
Edit: had to add "Button" to the gpiozero imports
Statistics: Posted by duckredbeard — Wed Dec 11, 2024 6:26 pm