-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
28 lines (23 loc) · 1.37 KB
/
Copy pathconfig.js
File metadata and controls
28 lines (23 loc) · 1.37 KB
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
'use strict';
//consider this unchangeable during program run
//TODO import custom override from non-repo-tracked file
module.exports = Object.freeze({
cycleTempChange: 1, //degrees(C) - How much do we change the termperature
//before turning off. Always uses celsius
//otherwise changing userUnits would affect
//opperation time
cycleMinIntervalDiff: 9, //minutes - How long do we wait at minimum before
//turning on again
cycleMaxRun: 60, //minutes - Largish number, failsafe for turning
//off the system assuming something has gone
//wrong if it has run this long.
//NOTE: code such that program needs to be reset
//if this threshold and failsafe occurs
userUnits: 'F', //'F' or 'C', units the user will see/set with
thermometerFilePath: '/sys/devices/w1_bus_master1/28-002720120204/w1_slave',
//file path string - location of device file
//for reading the temperature
filePollRate: 1000,
//time(ms) - How often should we check
//thermometerFilePath for the temperature
});