diff --git a/flow-monitor/config.txt b/flow-monitor/config.txt index 3bb4431..e3d23bc 100644 --- a/flow-monitor/config.txt +++ b/flow-monitor/config.txt @@ -6,6 +6,6 @@ }, "deviceName": "flowmonitor", "driverId": "0140", - "releaseVersion": "19", + "releaseVersion": "20", "driverFileName": "flow-monitor.py" } \ No newline at end of file diff --git a/flow-monitor/flow-monitor.py b/flow-monitor/flow-monitor.py index 3c00ec1..c0eab6f 100644 --- a/flow-monitor/flow-monitor.py +++ b/flow-monitor/flow-monitor.py @@ -184,7 +184,7 @@ class start(threading.Thread, deviceBase): self.force_send = False self.daemon = True - self.version = "19" + self.version = "20" self.finished = threading.Event() threading.Thread.start(self) @@ -379,6 +379,8 @@ class start(threading.Thread, deviceBase): runstatus = "Stopped" #Stopped elif din1_val == 0 and gpm_val > 10: runstatus = "Running" #Assumed running might not have run indication + elif din1_val == 0 and gpm_val > 0: + runstatus = "Running: Low Flow" elif din1_val == 1 and gpm_val == 0: runstatus = "Running: No Flow" #no flow warning elif din1_val == 1 and gpm_val < self.lowflow: