blah
This commit is contained in:
parent
694e76951d
commit
071bd25719
12
Documentation/iot-data-output.txt
Normal file
12
Documentation/iot-data-output.txt
Normal 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'
|
||||||
|
}
|
@ -13,7 +13,7 @@
|
|||||||
3) send the coap request to the server
|
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"];
|
let region = ["central", "north-east", "north", "east", "west"];
|
||||||
|
|
||||||
|
@ -2,4 +2,6 @@
|
|||||||
//load express server
|
//load express server
|
||||||
|
|
||||||
const { app } = require("./modules/express.js");
|
const { app } = require("./modules/express.js");
|
||||||
const { mqttClient } = require("./modules/mqtt.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user