added latestReportTime
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@
|
||||
tb_report/frontend/node_modules/**
|
||||
meshifyDrivers/.DS_Store
|
||||
.DS_Store
|
||||
.DS_Store
|
||||
|
||||
@@ -85,6 +85,7 @@ class start(threading.Thread, deviceBase):
|
||||
payload["values"]["public_ip_address"] = self.public_ip_address
|
||||
payload["values"]["private_ip_address"] = self.private_ip_address
|
||||
self.sendToTB(json.dumps(payload))
|
||||
self.sendToTBAttributes(json.dumps({"latestReportTime": round(time.time()/600)*600*1000}))
|
||||
time.sleep(TAG_DATAERROR_SLEEPTIME) # sleep to allow Micro800 to handle ENET requests
|
||||
|
||||
# print("tankalarms driver still alive...")
|
||||
|
||||
Reference in New Issue
Block a user