The transformer does not come with a photocell or timer, although they can easily be added. Both the photocell and timer are “plug and play”. The transformer can be controlled by either a photocell or timer or both.