Overview

The objective of this project is control the temperature by controlling 2 relays. One relay is used to heat and one for cooling.

This controller would be used to control the temperature of a fridge.

Hardware

In order to make things easier, a SONOFF Dual R2 was used since it uses an ESP chipset and has 2 relays in a small form factor. 



Firmware