First of all I am NOT a plumber or an electrician.
Did you ask your plumber what these wires are for?
I just had a look at the manual on the Vaillant ecotec plus 418, and it has many wiring options depending on what other controls you have.
It does show a 5 terminal, but it says...