HI
Had a similar problem on my Potterton boiler, hot water going cold, then hot then cold............changed hot water thermistor.....no more problems.
Don't know if this applies to yours as well, but somebody else might be able to shed some more light on the matter.
JLD