Hi jack, thanks for your reply, here are the photos of the wiring,
The wire going through the wall is connected to the thermostat, the other one is from the boiler.
I saw some wiring diagrams showing that the programmer needed it's own direct power supply and others showing connection only...