updated code for chunking and reorganized
This commit is contained in:
@@ -150,6 +150,7 @@ def sendData(message,wizard_api):
|
||||
#publish(__topic__, json.dumps(message), __qos__)
|
||||
try:
|
||||
checkCredentialConfig()
|
||||
publish("v1/devices/me/attributes", json.dumps({"latestReportTime": (round(dt.timestamp(dt.now())/600)*600)*1000}), __qos__)
|
||||
except Exception as e:
|
||||
logger.error(f"Error in checkCredentialConfig: {e}")
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user