https://tasmota.github.io/docs/DS18x20/
Arp request every 60 secs.
SetOption41 60
Check every 60
TelePeriod 60
Celsius to Fahrenheit
SetOption8 1
Pull up on
SetOption74 1
When fridge temp is over 37F then power off relay (since it's a normally closed this makes it open to keep cooling). Rule1 off. Rule2 on.
Rule1 ON DS18B20#Temperature>37 DO Backlog POWER off; Rule1 0; Rule2 1 ENDON
When fridge temp is under 34F then power on (turn off fridge since it's normally closed). Rule1 on. Rule2 off.
Rule2 ON DS18B20#Temperature<34 DO Backlog POWER on; Rule1 1; Rule2 0 ENDON
Enable the first rule.
Rule1 1
A simple oneliner if using normally open:
Rule1 ON DS18B20#Temperature>38 DO POWER on ENDON ON DS18B20#Temperature<34 DO POWER off ENDON
Rule1 1
Arp. For routers with issues
setoption60 1
sleep 50
Shorter intervals to keep the compressor from overheating.
Rule1 ON DS18B20#Temperature>55 DO backlog POWER on; rule2 1; ENDON ON DS18B20#Temperature<40 DO POWER off ENDON
Rule2 ON DS18B20#Temperature<40 DO backlog counter1 +1; Rule2 0 endon