RF,here are photos of the junction box, thermostat and programmer wired connections.
Andy, atc wire terminal 2(nc) goes to junction box terminal 14 which has a permanent link to terminal 8. The brown wire from the dhw motorised valve goes to 8 on the jb, so these two are connected.
atc...