If all OFF (HW OFF HTG OFF), must be an external wiring fault, quite possibly faulty moto-valve. However, if its been working OK for a while, would be strange to have suddenly developed a fault in the wiring...
Can you give more background?
When you say Off time - do you mean both HW OFF...