From 0876a9f1514e2a7be929abbc1e4eaa6e000b8266 Mon Sep 17 00:00:00 2001 From: Nico Melone Date: Tue, 31 Mar 2020 12:41:44 -0500 Subject: [PATCH] fixed bugs in piflow --- piflow/VFD525/PiFlow.py | 4 +++- piflow/VFD525/config.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/piflow/VFD525/PiFlow.py b/piflow/VFD525/PiFlow.py index bdc1fd3..1367948 100644 --- a/piflow/VFD525/PiFlow.py +++ b/piflow/VFD525/PiFlow.py @@ -45,12 +45,14 @@ try: isVFD = PERSIST['isVFD'] except: PERSIST['isVFD'] = False + isVFD = PERSIST['isVFD'] persistence.store(PERSIST) try: plc_ip = PERSIST['plc_ip'] except: PERSIST['plc_ip'] = '192.168.1.12' + plc_ip = PERSIST['plc_ip'] persistence.store(PERSIST) from Tags import tags @@ -69,7 +71,7 @@ class start(threading.Thread, deviceBase): mqtt=mqtt, Nodes=Nodes) self.daemon = True - self.version = "22" + self.version = "23" self.finished = threading.Event() self.force_send = False self.public_ip_address = "" diff --git a/piflow/VFD525/config.txt b/piflow/VFD525/config.txt index 002e3b9..92237e5 100644 --- a/piflow/VFD525/config.txt +++ b/piflow/VFD525/config.txt @@ -3,7 +3,7 @@ "driverFileName":"PiFlow.py", "deviceName":"piflow", "driverId":"0280", -"releaseVersion":"22", +"releaseVersion":"23", "files": { "file1":"PiFlow.py", "file2":"Channel.py",