mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-26 08:01:29 +00:00
Add weather modules.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
var config = {
|
||||
|
||||
language: 'en',
|
||||
timeFormat: 24,
|
||||
|
||||
modules: [
|
||||
{
|
||||
@@ -20,8 +21,21 @@ var config = {
|
||||
position: 'lower_third',
|
||||
},
|
||||
{
|
||||
module: 'helloworld',
|
||||
position: 'top_right'
|
||||
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',
|
Reference in New Issue
Block a user