fixed bugs in piflow

This commit is contained in:
2020-03-31 12:41:44 -05:00
parent 9564016bc9
commit 0876a9f151
2 changed files with 4 additions and 2 deletions

View File

@@ -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 = ""

View File

@@ -3,7 +3,7 @@
"driverFileName":"PiFlow.py",
"deviceName":"piflow",
"driverId":"0280",
"releaseVersion":"22",
"releaseVersion":"23",
"files": {
"file1":"PiFlow.py",
"file2":"Channel.py",