Digital room thermostat for heating control of central heating appliances and domestic hot water control