]> git.frykholm.com Git - heatpump.git/blobdiff - heatpump.py
Added top of tank sensor.
[heatpump.git] / heatpump.py
index d715d07c8b09dcdeb398bc12982c2b8a5de96e7f..b003c9f7a64b8642b956fdde79ece7bc58bd1a70 100644 (file)
@@ -26,8 +26,10 @@ def temp_get(volts,supply_voltage=5):
 
 while(True):
     vv_retur=temp_get(DAQC.getADC(0,0),DAQC.getADC(0,8))
+    vv_top=temp_get(DAQC.getADC(0,2),DAQC.getADC(0,8))
     hetgas=temp_get(DAQC.getADC(0,1),DAQC.getADC(0,8))
     print("VV retur:",vv_retur)
+    print("VV top:",vv_top)
     print("Hetgas:",hetgas)
     print("Kompressor:",compressor())
     if vv_retur < 35: