Thanks for your help, I think I have sussed it.
What I did originally was wire the live to the programmer and thermostat direct from the mains. The "switch" from the valves to activate the boiler, ie when they are calling for heat, was then working from that direct mains feed too.
What the...