forked from evancohen/smart-mirror
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
34 lines (34 loc) · 1.29 KB
/
config.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
31
32
33
34
var config = {
// Lenguage for the mirror (currently not implemented)
lenguage : "en",
greeting : ["Hi, sexy!"], // An array of greetings to randomly choose from
// forcast.io
forcast : {
key : "", // Your forcast.io api key
units : "auto" // See forcast.io documentation if you are getting the wrong units
},
// Philips Hue
hue : {
ip : "", // The IP address of your hue base
uername : "", // The username used to control your hue
group : "0", // The group you'd like the mirror to control (0 is all hue lights connected to your hub)
},
// Calendar (An array of iCals)
calendar: {
icals : [],
maxResults: 9, // Number of calender events to display (Defaults is 9)
maxDays: 365 // Number of days to display (Default is one year)
},
// Giphy
giphy: {
key : "" // Your Gliphy API key
},
traffic: {
key : "", // Bing Maps API Key
mode : "Driving", // Possibilities: Driving / Transit / Walking
origin : "", // Start of your trip. Human readable address.
destination : "", // Destination of your trip. Human readable address.
name : "work", // Name of your destination ex: "work"
reload_interval : 5 // Number of minutes the information is refreshed
}
}