forked from evancohen/smart-mirror
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.js
50 lines (47 loc) · 1.79 KB
/
config.example.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
var config = {
// Lenguage for the mirror
language : "en", //must also manually update locales/X.js bower component in index.html
layout: "main",
greeting : ["Hi, sexy!", "Greetings, commander"], // An array of greetings to randomly choose from
// Alternativly you can have greetings that appear based on the time of day
/*
greeting : {
night: ["Bed?", "zZzzZz", "Time to sleep"],
morning: ["Good Morning"],
midday: ["Hey!", "Hello"],
evening: ["Good evening"]
},
*/
// 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 : [], // Be sure to wrap your URLs in quotes
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
reload_interval : 5, // Number of minutes the information is refreshed
// An array of tips that you would like to display travel time for
trips : [{
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"
}]
}
};