Trauslon Fridge/ freezer

#1

I had an old Traulson fridge that I love but all of the electronics and analog sensors were old and failing. I added multiple digital thermometers in the fridge, freezer, intake and exhaust air. I then re wired both compressors with bigger relays and dropped a raspberry pi into the intake air side of the confessor coils. The result was a drop of $10.00 month in my power bills, and a fridge that worked great!

One of the things that increased efficiency was an node that only turns on the defroster when it was needed. With data and a bit of adjustment I'm now able to have the defroster only run when its needed and only heat the condenser to the lowest temp required to defrost completely. The previous analog timer ran the defrost every 24 hours to a temp of about 90 degrees F (at the condenser). Now it runs approximately every 3 days heated to 45 degrees F, that old fridge doesn't have to work as hard now. I based the defrost trigger on when the condenser coils drop below -8 degrees. That means that the cooling fins are plugged with ice and the condenser is getting too cold because there is no air circulation. Also, there was a 10 watt heater that was always on to keep the ice maker supply line clear. I added a relay to that circuit and now I only turn it on every 10-15 days for 10 min.

Here are some pics.

This was the original wiring

I changed it to this

The dashboard is great too.

Here is a copy of the current flow. Let me know what you think.

type or paste code here
```[{"id":"39c4016c.252f86","type":"sensor-ds18b20","z":"1b27ce10.6b94aa","name":"Freezer","sensorid":"28-0316b0b920ff","timer":"15","repeat":true,"x":80,"y":160,"wires":[["ee79e048.45b8c"]]},{"id":"ee79e048.45b8c","type":"unit-converter","z":"1b27ce10.6b94aa","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","name":"","x":260,"y":160,"wires":[["b5862fc4.932098"]]},{"id":"dff4b52f.12226","type":"ui_gauge","z":"1b27ce10.6b94aa","name":"","group":"cce3cc8f.4e5f48","order":0,"width":0,"height":0,"gtype":"gage","title":"","label":"Degrees F","format":"{{value}}","min":"-5","max":"15","colors":["#050dff","#C0DEED","#CA3838"],"seg1":"","seg2":"","x":570,"y":160,"wires":[]},{"id":"de3e93f.b2966f","type":"ui_chart","z":"1b27ce10.6b94aa","name":"","group":"cce3cc8f.4e5f48","order":0,"width":0,"height":0,"label":"","chartType":"line","legend":"false","xformat":"dd HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"2","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"colors":["#1F77B4","#AEC7E8","#FF7F0E","#2CA02C","#98DF8A","#D62728","#FF9896","#9467BD","#C5B0D5"],"useOldStyle":false,"x":570,"y":200,"wires":[[],[]],"outputLabels":["","Freezer"]},{"id":"b5862fc4.932098","type":"smooth","z":"1b27ce10.6b94aa","name":"","property":"payload","action":"mean","count":"2","round":"2","mult":"multi","x":420,"y":160,"wires":[["de3e93f.b2966f","dff4b52f.12226","8dcb95c1.d9e3a8","5b704ce1.12edf4","acf71dbc.448e1","44c6037d.fcd5fc"]]},{"id":"87c212b5.4a7f5","type":"sensor-ds18b20","z":"1b27ce10.6b94aa","name":"Refrigerator","sensorid":"28-0417720176ff","timer":"15","repeat":true,"x":90,"y":320,"wires":[["ef1e85d0.4d585"]]},{"id":"ef1e85d0.4d585","type":"unit-converter","z":"1b27ce10.6b94aa","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","name":"","x":260,"y":320,"wires":[["fd6638b3.7f5378"]]},{"id":"4ada1538.60700c","type":"ui_gauge","z":"1b27ce10.6b94aa","name":"","group":"a2a4f614.8f2e48","order":0,"width":0,"height":0,"gtype":"gage","title":"","label":"Degrees F","format":"{{value}}","min":"40","max":"65","colors":["#050dff","#E6E600","#CA3838"],"seg1":"","seg2":"","x":570,"y":320,"wires":[]},{"id":"edcf44c0.03def8","type":"ui_chart","z":"1b27ce10.6b94aa","name":"","group":"a2a4f614.8f2e48","order":0,"width":0,"height":0,"label":"","chartType":"line","legend":"false","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"1","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"colors":["#1F77B4","#AEC7E8","#FF7F0E","#2CA02C","#98DF8A","#D62728","#FF9896","#9467BD","#C5B0D5"],"useOldStyle":false,"x":570,"y":360,"wires":[[],[]],"outputLabels":["","Refridgerator"]},{"id":"fd6638b3.7f5378","type":"smooth","z":"1b27ce10.6b94aa","name":"","property":"payload","action":"mean","count":"2","round":"2","mult":"single","x":420,"y":320,"wires":[["edcf44c0.03def8","4ada1538.60700c","da6bb69e.86502","d0db6a24.ee9808","44c6037d.fcd5fc"]]},{"id":"8dcb95c1.d9e3a8","type":"function","z":"1b27ce10.6b94aa","name":"Freezer Control ","func":"const fHigh =2.5\nconst fLow =-.5\nlet currentTemp = msg.payload\n\nif (currentTemp >= fHigh) {\n    return {payload: 0}\n} else if (currentTemp <= fLow) {\n    return {payload: 1}\n}\n// Freezer GPIO 27 Pin 13 on Raspberry pi\n// purple wire connecting to Relay 4\n// 0 is ON, 1 is OFF due to weird relays","outputs":1,"noerr":0,"x":600,"y":120,"wires":[["35cf571f.fd1bf8","d27d3003.ffc83"]]},{"id":"4928f1d6.10f46","type":"rpi-gpio out","z":"1b27ce10.6b94aa","name":"Freezer Relay","pin":"13","set":true,"level":"1","freq":"","out":"out","x":1020,"y":120,"wires":[],"inputLabels":["number"]},{"id":"da6bb69e.86502","type":"function","z":"1b27ce10.6b94aa","name":"Refrigerator Control ","func":"const fHigh =44\nconst fLow = 40\nlet currentTemp = msg.payload\n\nif (currentTemp >= fHigh) {\n    return {payload: 0}\n} else if (currentTemp <= fLow) {\n    return {payload: 1}\n}\n\n// Fridge GPIO 17 Pin 11 on Raspberry pi\n\n// 0 is ON, 1 is OFF due to weird relays","outputs":1,"noerr":0,"x":620,"y":280,"wires":[["47ea20b1.719c68"]]},{"id":"ed9f1f75.b12cf8","type":"rpi-gpio out","z":"1b27ce10.6b94aa","name":"Refrigerator Relay","pin":"11","set":true,"level":"1","freq":"","out":"out","x":1070,"y":280,"wires":[],"inputLabels":["number"]},{"id":"e4855a2f.7de948","type":"sensor-ds18b20","z":"1b27ce10.6b94aa","name":"Intake air","sensorid":"28-0516b07741ff","timer":"120","repeat":true,"x":100,"y":440,"wires":[["306beecf.29073a"]]},{"id":"306beecf.29073a","type":"unit-converter","z":"1b27ce10.6b94aa","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","name":"","x":260,"y":440,"wires":[["2194c113.64dd0e"]]},{"id":"73540df2.402984","type":"ui_gauge","z":"1b27ce10.6b94aa","name":"Intake air","group":"559782c.ed24d7c","order":0,"width":0,"height":0,"gtype":"gage","title":"","label":"Degrees F","format":"{{value}}","min":"50","max":"150","colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":580,"y":440,"wires":[]},{"id":"aa09549f.c7da5","type":"ui_chart","z":"1b27ce10.6b94aa","name":"","group":"559782c.ed24d7c","order":0,"width":0,"height":0,"label":"","chartType":"line","legend":"false","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"1","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"colors":["#1F77B4","#AEC7E8","#FF7F0E","#2CA02C","#98DF8A","#D62728","#FF9896","#9467BD","#C5B0D5"],"useOldStyle":false,"x":570,"y":480,"wires":[[],[]],"outputLabels":["Intake","Intake"]},{"id":"2194c113.64dd0e","type":"smooth","z":"1b27ce10.6b94aa","name":"","property":"payload","action":"mean","count":"3","round":"2","mult":"single","x":420,"y":440,"wires":[["aa09549f.c7da5","73540df2.402984","471fc2a4.c1ec9c","44c6037d.fcd5fc"]]},{"id":"2aac628b.aea836","type":"sensor-ds18b20","z":"1b27ce10.6b94aa","name":"Exhaust Air","sensorid":"28-0516b08f41ff","timer":"30","repeat":true,"x":90,"y":560,"wires":[["837a0a2f.2a9d58"]]},{"id":"837a0a2f.2a9d58","type":"unit-converter","z":"1b27ce10.6b94aa","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","name":"","x":260,"y":560,"wires":[["fea4349d.95bdc"]]},{"id":"fea4349d.95bdc","type":"smooth","z":"1b27ce10.6b94aa","name":"","property":"payload","action":"mean","count":"3","round":"2","mult":"single","x":420,"y":560,"wires":[["6401523c.5c92e4","cefd4765.98336","be80aa83.89592","44c6037d.fcd5fc"]]},{"id":"6401523c.5c92e4","type":"ui_gauge","z":"1b27ce10.6b94aa","name":"","group":"5a0ef277.6e204c","order":0,"width":0,"height":0,"gtype":"gage","title":"","label":"Degrees F","format":"{{value}}","min":"75","max":"150","colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":570,"y":560,"wires":[]},{"id":"cefd4765.98336","type":"ui_chart","z":"1b27ce10.6b94aa","name":"","group":"5a0ef277.6e204c","order":0,"width":0,"height":0,"label":"","chartType":"line","legend":"false","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"1","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"colors":["#1F77B4","#AEC7E8","#FF7F0E","#2CA02C","#98DF8A","#D62728","#FF9896","#9467BD","#C5B0D5"],"useOldStyle":false,"x":570,"y":600,"wires":[[],[]],"outputLabels":["","Exhaust"]},{"id":"b3ae3cd5.61a94","type":"sensor-ds18b20","z":"1b27ce10.6b94aa","name":"Coil","sensorid":"28-051781b35bff","timer":"10","repeat":true,"x":110,"y":680,"wires":[["774c837f.395b7c"]]},{"id":"774c837f.395b7c","type":"unit-converter","z":"1b27ce10.6b94aa","category":"temperature","inputUnit":"C","outputUnit":"F","inputField":"payload","outputField":"payload","inputFieldType":"msg","outputFieldType":"msg","name":"","x":260,"y":680,"wires":[["fced8823.61e6a"]]},{"id":"8e61075d.05a01","type":"ui_gauge","z":"1b27ce10.6b94aa","name":"","group":"6c141216.81a654","order":0,"width":0,"height":0,"gtype":"gage","title":"","label":"Degrees F","format":"{{value}}","min":"-15","max":"15","colors":["#050dff","#C0DEED","#CA3838"],"seg1":"","seg2":"","x":570,"y":680,"wires":[]},{"id":"fced8823.61e6a","type":"smooth","z":"1b27ce10.6b94aa","name":"","property":"payload","action":"mean","count":"1","round":"2","mult":"single","x":420,"y":680,"wires":[["8e61075d.05a01","82e49f19.083a8","edbf4f5e.1520d","32f10524.1bba82","acf71dbc.448e1","44c6037d.fcd5fc"]]},{"id":"82e49f19.083a8","type":"ui_chart","z":"1b27ce10.6b94aa","name":"","group":"6c141216.81a654","order":0,"width":"0","height":"0","label":"","chartType":"line","legend":"false","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"1","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"colors":["#1F77B4","#AEC7E8","#FF7F0E","#2CA02C","#98DF8A","#D62728","#FF9896","#9467BD","#C5B0D5"],"useOldStyle":false,"x":570,"y":720,"wires":[[],[]],"outputLabels":["Coil","Coil"]},{"id":"5b704ce1.12edf4","type":"mqtt out","z":"1b27ce10.6b94aa","name":"Freezer data pipe","topic":"freezer","qos":"0","retain":"","broker":"45cde6fb.50ec78","x":390,"y":200,"wires":[]},{"id":"d0db6a24.ee9808","type":"mqtt out","z":"1b27ce10.6b94aa","name":"Refrigerator data pipe","topic":"Refrigerator","qos":"0","retain":"","broker":"45cde6fb.50ec78","x":380,"y":360,"wires":[]},{"id":"471fc2a4.c1ec9c","type":"mqtt out","z":"1b27ce10.6b94aa","name":"Intake data pipe","topic":"intake","qos":"0","retain":"","broker":"45cde6fb.50ec78","x":380,"y":480,"wires":[]},{"id":"be80aa83.89592","type":"mqtt out","z":"1b27ce10.6b94aa","name":"Exhaust data pipe","topic":"exhaust","qos":"0","retain":"","broker":"45cde6fb.50ec78","x":390,"y":600,"wires":[]},{"id":"edbf4f5e.1520d","type":"mqtt out","z":"1b27ce10.6b94aa","name":"Coil data pipe","topic":"coil","qos":"0","retain":"","broker":"45cde6fb.50ec78","x":400,"y":720,"wires":[]},{"id":"b7b398b5.1fec3","type":"function","z":"1b27ce10.6b94aa","name":"freezer global","func":"global.set(\"freezer\",msg.payload);\nreturn msg;","outputs":1,"noerr":0,"x":600,"y":60,"wires":[[]]},{"id":"d7768f4a.0f9fe8","type":"ui_chart","z":"1b27ce10.6b94aa","name":"","group":"6c141216.81a654","order":0,"width":0,"height":0,"label":"Defrost status","chartType":"line","legend":"false","xformat":"dd HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"10","removeOlderPoints":"3000","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"colors":["#1F77B4","#AEC7E8","#FF7F0E","#2CA02C","#98DF8A","#D62728","#FF9896","#9467BD","#C5B0D5"],"useOldStyle":false,"x":960,"y":740,"wires":[[],[]]},{"id":"671a48c1.76b2c8","type":"rpi-gpio out","z":"1b27ce10.6b94aa","name":"GPIO 24/Pin 18","pin":"18","set":true,"level":"1","freq":"","out":"out","x":960,"y":780,"wires":[]},{"id":"32f10524.1bba82","type":"function","z":"1b27ce10.6b94aa","name":"Defrost ","func":"const defrostStop =44     //defrost cut off temp\nconst defrostStart = -8.5   //defrost start temp\nlet coilTemp = msg.payload\n\nif (coilTemp <= defrostStart) {\n    return {payload: 0}\n} else if (coilTemp >= defrostStop) {\n    return {payload: 1}\n}","outputs":1,"noerr":0,"x":580,"y":760,"wires":[["655d9a6b.a8377c"]]},{"id":"acf71dbc.448e1","type":"ui_chart","z":"1b27ce10.6b94aa","name":"","group":"cce3cc8f.4e5f48","order":0,"width":0,"height":0,"label":"Both freezer probes","chartType":"line","legend":"false","xformat":"dd HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"2","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"colors":["#1F77B4","#AEC7E8","#FF7F0E","#2CA02C","#98DF8A","#D62728","#FF9896","#9467BD","#C5B0D5"],"useOldStyle":false,"x":780,"y":380,"wires":[[],[]]},{"id":"d27d3003.ffc83","type":"ui_switch","z":"1b27ce10.6b94aa","name":"","label":"Freezer switch","group":"cce3cc8f.4e5f48","order":0,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"0","onvalueType":"num","onicon":"","oncolor":"","offvalue":"1","offvalueType":"num","officon":"","offcolor":"","x":820,"y":120,"wires":[["4928f1d6.10f46"]]},{"id":"47ea20b1.719c68","type":"ui_switch","z":"1b27ce10.6b94aa","name":"","label":"Fridge switch","group":"a2a4f614.8f2e48","order":0,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"0","onvalueType":"num","onicon":"","oncolor":"","offvalue":"1","offvalueType":"num","officon":"","offcolor":"","x":880,"y":280,"wires":[["ed9f1f75.b12cf8"]]},{"id":"655d9a6b.a8377c","type":"ui_switch","z":"1b27ce10.6b94aa","name":"","label":"Defrost switch ","group":"6c141216.81a654","order":0,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"0","onvalueType":"num","onicon":"","oncolor":"","offvalue":"1","offvalueType":"num","officon":"","offcolor":"","x":780,"y":780,"wires":[["671a48c1.76b2c8","d7768f4a.0f9fe8"]]},{"id":"44c6037d.fcd5fc","type":"ui_chart","z":"1b27ce10.6b94aa","name":"","group":"9eb642fe.f796e","order":0,"width":0,"height":0,"label":"All Probes ","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"1","removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"colors":["#1F77B4","#AEC7E8","#FF7F0E","#2CA02C","#98DF8A","#D62728","#FF9896","#9467BD","#C5B0D5"],"useOldStyle":false,"x":750,"y":440,"wires":[[],[]]},{"id":"35cf571f.fd1bf8","type":"ui_chart","z":"1b27ce10.6b94aa","name":"","group":"cce3cc8f.4e5f48","order":0,"width":0,"height":0,"label":"On/Off Timing ","chartType":"line","legend":"false","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"-1","ymax":"2","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1F77B4","#AEC7E8","#FF7F0E","#2CA02C","#98DF8A","#D62728","#FF9896","#9467BD","#C5B0D5"],"useOldStyle":false,"x":820,"y":180,"wires":[[],[]],"outputLabels":["","Freezer"]},{"id":"2fb53cbc.ccefcc","type":"mytimeout","z":"1b27ce10.6b94aa","name":"Ice Supply Heater ","outtopic":"","outsafe":"0","outwarning":"Warning","outunsafe":"1","warning":"0","timer":"250","debug":false,"ndebug":false,"ignoreCase":false,"repeat":false,"again":false,"x":630,"y":880,"wires":[["f6422084.ffb95","9542a167.d7ab6"],[]]},{"id":"37af4596.f5d20a","type":"inject","z":"1b27ce10.6b94aa","name":"Ice Supply Heater ","topic":"","payload":"","payloadType":"date","repeat":"259200","crontab":"","once":false,"onceDelay":0.1,"x":410,"y":880,"wires":[["2fb53cbc.ccefcc"]]},{"id":"f6422084.ffb95","type":"ui_chart","z":"1b27ce10.6b94aa","name":"","group":"242c5130.277fde","order":0,"width":0,"height":0,"label":"Ice Supply Heater ","chartType":"line","legend":"false","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"-1","ymax":"2","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1F77B4","#AEC7E8","#FF7F0E","#2CA02C","#98DF8A","#D62728","#FF9896","#9467BD","#C5B0D5"],"useOldStyle":false,"x":850,"y":860,"wires":[[],[]],"outputLabels":["","Freezer"]},{"id":"9542a167.d7ab6","type":"rpi-gpio out","z":"1b27ce10.6b94aa","name":"Ice maker heater","pin":"16","set":true,"level":"1","freq":"","out":"out","x":850,"y":900,"wires":[]},{"id":"f0e10c16.25847","type":"ui_button","z":"1b27ce10.6b94aa","name":"","group":"242c5130.277fde","order":0,"width":0,"height":0,"passthru":false,"label":"Ice heater ON","color":"","bgcolor":"","icon":"","payload":"0","payloadType":"num","topic":"","x":420,"y":920,"wires":[["2fb53cbc.ccefcc"]]},{"id":"269c83a0.6df69c","type":"ui_button","z":"1b27ce10.6b94aa","name":"","group":"242c5130.277fde","order":0,"width":0,"height":0,"passthru":false,"label":"Ice Heater OFF","color":"","bgcolor":"","icon":"","payload":"0","payloadType":"num","topic":"","x":420,"y":960,"wires":[["2fb53cbc.ccefcc"]]},{"id":"cce3cc8f.4e5f48","type":"ui_group","z":"","name":"Freezer","tab":"d69c516d.73b8b","order":1,"disp":true,"width":"10","collapse":false},{"id":"a2a4f614.8f2e48","type":"ui_group","z":"","name":"Refrigerator","tab":"d69c516d.73b8b","order":3,"disp":true,"width":"10","collapse":false},{"id":"559782c.ed24d7c","type":"ui_group","z":"","name":"Intake Air","tab":"d69c516d.73b8b","order":5,"disp":true,"width":"10","collapse":false},{"id":"5a0ef277.6e204c","type":"ui_group","z":"","name":"Exhaust Air","tab":"d69c516d.73b8b","order":4,"disp":true,"width":"10","collapse":false},{"id":"6c141216.81a654","type":"ui_group","z":"","name":"Coil","tab":"d69c516d.73b8b","order":2,"disp":true,"width":"10","collapse":false},{"id":"45cde6fb.50ec78","type":"mqtt-broker","z":"","name":"","broker":"192.168.0.50","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthRetain":"false","birthPayload":"","closeTopic":"","closeQos":"0","closeRetain":"false","closePayload":"","willTopic":"","willQos":"0","willRetain":"false","willPayload":""},{"id":"9eb642fe.f796e","type":"ui_group","z":"","name":"All Data","tab":"365ab53b.745202","disp":true,"width":"13","collapse":false},{"id":"242c5130.277fde","type":"ui_group","z":"","name":"Ice Maker Heater","tab":"d69c516d.73b8b","order":6,"disp":true,"width":"6","collapse":false},{"id":"d69c516d.73b8b","type":"ui_tab","z":"","name":"Traulson Actual ","icon":"dashboard","order":1},{"id":"365ab53b.745202","type":"ui_tab","z":"","name":"All Data ","icon":"dashboard","order":3}]
4 Likes
#2

Did not look at the code but it sounds like you executed brilliantly! Great job and thanks for sharing your project.