updated drivers and added pi version of abbflow

This commit is contained in:
2020-05-07 13:52:25 -05:00
parent 8c3e7a0b18
commit b669ea9841
17 changed files with 1244 additions and 3 deletions

View File

@@ -660,9 +660,11 @@ class start(threading.Thread, deviceBase):
def flowmonitor_setlowflow(self, name, value):
"""Set the low flow limit"""
try:
self.lowflow = value
self.lowflow = float(value)
self.sendtodb("setlowflow", self.lowflow,0)
return True
PERSIST["lowflow"] = self.lowflow
persistence.store(PERSIST)
except Exception as e:
logger.error("Error during flomonitor_setlowflow: {}".format(e))
return False
return True