![enter image description here][1]


  [1]: https://i.sstatic.net/dFhKY.jpg


So i'm trying to replace the exterior light switch to a timer switch. 

On the same switch panel, there are two other switches which control the ceiling lights in the hallway. The dimmer in the center is just a single switch, and the one to the right is a three way switch for another sets of pot lights. 



SO the one I'd like to replace is the one on the left.  The image at the bottom is how I connect the timer but does not work ...


any suggestions??