This commit is contained in:
newtbot committed 2024-01-14 23:31:00 +08:00
1 parent d9e028d300
commit 935709c2eb
101 files changed
+6 -5

No files matched your search

+5 -1
View File
@@ -18,7 +18,7 @@ client.on("connect", () => {
client.on("end", () => { client.on("end", () => {
console.log("Disconnected from MQTT broker"); console.log("Disconnected from MQTT broker");
client.reconnect = true; client.reconnect();
}); });
client.on("error", (err) => { client.on("error", (err) => {
@@ -32,3 +32,7 @@ setInterval(publishData, 900000);
//setInterval(publishData, 60000); //setInterval(publishData, 60000);
@@ -23,11 +23,8 @@ function isJson(value) {
} }
module.exports = { module.exports = {
validateData,
isValidDateString,
isAlphaNumericwithSpaces, isAlphaNumericwithSpaces,
isAlphaNumericWithSpacesAndDash, isAlphaNumericWithSpacesAndDash,
isMacAddress,
isJson, isJson,
}; };
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1 -1
View File
@@ -62,5 +62,5 @@ client.on("error", (err) => {
client.on("end", () => { client.on("end", () => {
console.log("Disconnected from MQTT broker"); console.log("Disconnected from MQTT broker");
client.reconnect = true; client.reconnect();
}); });
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 101 files, more files were not shown because too many files have changed in this diff. Show more