Intervalometer with relay and esp8266 ?

Hello.

I have a esp8266 and a 2 relay module 5V 10A (http://modtronix.com/mod-rly2-5v.html)

I would like to make an intervalometer for my camera. I have 3 wires coming from my camera (1 = COM 2 = Focus 3 = Shutter)

All I need to do is connect 1 and 2 for focus and then 1, 2 and 3 for the picture to be taken.

Do you know if with the esp8266 and this relay module, it is possible to build this?

thank you in advance

Which ESP8266 module do you actually have?
Do a proper link to it.

.

it is this module :