mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 21:00:57 +00:00
Add weather modules.
This commit is contained in:
49
config/config.js.sample
Normal file
49
config/config.js.sample
Normal file
@@ -0,0 +1,49 @@
|
||||
/* exported config */
|
||||
|
||||
/* Magic Mirror Config
|
||||
*
|
||||
* By Michael Teeuw http://michaelteeuw.nl
|
||||
* MIT Licensed.
|
||||
*/
|
||||
|
||||
var config = {
|
||||
|
||||
language: 'en',
|
||||
timeFormat: 24,
|
||||
|
||||
modules: [
|
||||
{
|
||||
module: 'clock',
|
||||
position: 'top_left'
|
||||
},
|
||||
{
|
||||
module: 'compliments',
|
||||
position: 'lower_third',
|
||||
},
|
||||
{
|
||||
module: 'currentweather',
|
||||
position: 'top_right',
|
||||
config: {
|
||||
location: 'New York',
|
||||
appid: 'YOUR_OPENWEATHER_API_KEY'
|
||||
}
|
||||
},
|
||||
{
|
||||
module: 'weatherforecast',
|
||||
position: 'top_right',
|
||||
header: 'Weather Forecast',
|
||||
config: {
|
||||
location: 'New York',
|
||||
appid: 'YOUR_OPENWEATHER_API_KEY'
|
||||
}
|
||||
},
|
||||
{
|
||||
module: 'helloworld',
|
||||
position: 'bottom_bar',
|
||||
config: {
|
||||
text: 'Magic Mirror V2'
|
||||
}
|
||||
},
|
||||
]
|
||||
|
||||
};
|
Reference in New Issue
Block a user