[SOLVED] Connect a lamp with step by step (latching) relay and Raspberry

You might find this helpful. No timer needed for a simulated pushbutton control when you have feedback