minor updates

This commit is contained in:
Nico Melone
2023-09-06 17:13:21 -05:00
parent 52aa0672b3
commit c6a27c174d
13 changed files with 13274 additions and 873 deletions

View File

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