Digital temperature controller for cooling or heating purposes combined with a time scheduler which allows the user to configure up to eight daily events, with programmable start and end time, which may be daily, weekly or split into business days and weekends. It has a permanent internal battery to ensure clock synchronization and schedule setup for many years, even in case of power shortage. It allows the user to activate the load manually even out of the events. In addition to that, it offers parameters for recirculation and protection of water heaters. With the sensor disabled it works as a time scheduler only.