minor updates
This commit is contained in:
@@ -147,6 +147,7 @@ def sendData(message):
|
||||
publish(__topic__ + ":01:99/" + "plc_ping", json.dumps({"value": "OK"}), __qos__)
|
||||
else:
|
||||
publish(__topic__ + ":01:99/" + "plc_ping", json.dumps({"value": "Comms Error to PLC"}), __qos__)
|
||||
|
||||
for measure in message["measures"]:
|
||||
try:
|
||||
logger.debug(measure)
|
||||
@@ -185,4 +186,3 @@ def convert_int(plc_tag, value):
|
||||
|
||||
return plc_tags.get(plc_tag, "Invalid Tag")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user