forked from jakkra/SmartMirror
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js.default
53 lines (44 loc) · 1.29 KB
/
config.js.default
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
const config = {
styles: {
fontFamily: 'Sawasdee',
fontWeight: 500,
textScale: '0.8em', // relative font-size of text. 1em ~= 16px
paddingTop: '5%', // space from the top edge
paddingLeft: '7%', // space from the left edge
paddingRight: '6%', // space from the right edge
paddingBottom: '0%' // space from the bottom edge
},
YAHOO_WOEID: '897819',
SMHI_COORD: {
longitude: '13',
latitude: '55.6'
},
forecastLabelName: 'Lund',
svtNewsUrl: 'https://api.rss2json.com/v1/api.json?rss_url=http%3A%2F%2Fwww.svt.se%2Fnyheter%2Frss.xml',
serverBaseURL: process.env.NODE_ENV === 'production' ? 'http://localhost:3001' : 'http://localhost:3000',
wsServerBaseURL: process.env.NODE_ENV === 'production' ? 'localhost:3001/' : 'localhost:3001/',
language : "sv-SE", // swedish by default
lights : {
"Bedroom" : { autoOff : true},
"Dining Table" : {autoOff : false},
"Closet" : {autoOff : true}
},
gpioPins : {
button : 12,
pirSensor : 18
},
modules: {
dateTime: true,
wunderlistTasks: false,
transfer: false,
weather: true,
forecast: true,
news: true,
tempPirSensor: false,
googleCloudSpeech: false,
philipsHue: false,
temperatureGraph: false,
articles: false,
}
};
module.exports = config;