Make a 1hr timer then flash lights and done


#1

1) Give a description of the problem
trying to figure out how to make a 1hr timer started by a button that after 1 hour would flash the light in that area

2) What is the expected behavior?
push button, start 1 hour timer, flash light when done and then end timer

3) What is happening/not happening?
no idea how to make it. tried and now ever 1 hour my lights flash


#2

You’re going to have to post your piston so we can see what’s going on.


#3

If button changes to pushed
Then
With light bulb
Wait 60 minutes
Turn on
Flash bulb 3 times
Wait 10 seconds
Turn off
End if

Something like that


#4

Can you post an example of the code for this? I am trying to make a button that when pushed it will turn on my whole house fan for say 1 hour, then turn it off.


#5

Sure