diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..8ad19d5 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "python.pythonPath": "/usr/local/bin/python" +} \ No newline at end of file diff --git a/config.txt b/config.txt index 5a35876..0da6b89 100644 --- a/config.txt +++ b/config.txt @@ -5,7 +5,7 @@ "file1": "flow-monitor.py" }, "deviceName": "flowmonitor", - "driverId": "0180", - "releaseVersion": "11", + "driverId": "0140", + "releaseVersion": "12", "driverFileName": "flow-monitor.py" } \ No newline at end of file diff --git a/device_base.py b/device_base.py new file mode 100644 index 0000000..edbd53d --- /dev/null +++ b/device_base.py @@ -0,0 +1,2 @@ +class deviceBase(object): + pass \ No newline at end of file diff --git a/flow-monitor.py b/flow-monitor.py index ce94d1f..1dec8f9 100644 --- a/flow-monitor.py +++ b/flow-monitor.py @@ -172,7 +172,7 @@ class start(threading.Thread, deviceBase): self.GPM_IGNORE_LIMIT = 1.0 self.daemon = True - self.version = "11" + self.version = "12" self.finished = threading.Event() threading.Thread.start(self)