-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.js
30 lines (26 loc) · 1.34 KB
/
settings.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// manager.js
exports.lampInThisRoom = "r_402_lamp";
exports.candidate_actionTimeout = 10000; // wait up to 10 seconds for a possible candidate after an action is triggered
exports.sensorsNearBy = [
{
id: "thunderboard_14b4576da75c",
measurements: ["light", "humidity", "temperature", "tvoc", "uvi", "pressure"]
},
{
id: "weather_station",
measurements: ["light_level", "rain_intensity", "sun_azimuth", "sun_elevation", "sun_radiation", "temperature", "wind_speed"]
}
];
// trigger_server.js
exports.automaticNoActionSnapshotInterval = 1800000; // interval for periodic automatic snapshot until no action is triggered
exports.room = "r402";
// scanner.js
exports.advSignalThreshold = -60; // threshold to determine VPs near by
exports.checkVPnearByInterval = 20000; // interval for periodic check of VP near by
exports.checkRecentSnapshotsInterval = 40000; // interval after which the three stored snapshots are considered too old to be used in average snapshot
exports.updateVPhistoryInterval = 1;
// retrieve_sensors_data.js
exports.measurementsRightBeforeAction = 3; // number of measurements considered as "right before" the action
exports.updateDatasetInterval = 1;
// query_data.js
exports.lamp = "5/5/121"; // lamp from which the state is read for labaleling automatic no acion snapshot when VP near by