This commit is contained in:
newtbot 2023-12-21 14:25:31 +08:00
parent 694e76951d
commit 071bd25719
5 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,12 @@
{
psi: '34',
humidity: '11%',
o3: '326ppm',
no2: '445ppm',
so2: '511ppm',
co: '16ppm',
temperature: '25°C',
windspeed: '2km/h',
time: '2023-12-21 14:24:44',
region: 'east'
}

View File

@ -13,7 +13,7 @@
3) send the coap request to the server
*/
const { isNumber } = require("../functions/validateData");
const { isNumber } = require("../../Web-Server/functions/validateData");
let region = ["central", "north-east", "north", "east", "west"];

View File

@ -2,4 +2,6 @@
//load express server
const { app } = require("./modules/express.js");
const { mqttClient } = require("./modules/mqtt.js");