|
|
|
@ -4659,6 +4659,8 @@ client.on('message', async (topic, message) => {
|
|
|
|
|
time
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Save IoT data for the received tanks
|
|
|
|
|
const iotTankData = new IotData({
|
|
|
|
|
hardwareId: hw_Id, // Updated variable name
|
|
|
|
@ -4993,5 +4995,5 @@ async function removeDuplicates() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Run the remove duplicates function
|
|
|
|
|
removeDuplicates();
|
|
|
|
|
// removeDuplicates();
|
|
|
|
|
console.log("this is for testing autopush,line located in tankscontroller")
|