JustPaste.it

MMM-DynamicWeather Testing

var config = {
    useHttps: false,         // Support HTTPS or not, default "false" will use HTTP
    httpsPrivateKey: "",     // HTTPS private key path, only require when useHttps is true
    httpsCertificate: "",     // HTTPS Certificate path, only require when useHttps is true

    language: "en",
    logLevel: ["DEBUG", "INFO", "LOG", "WARN", "ERROR"],
    timeFormat: 24,
    units: "metric",
    modules: [
        {
            module: "alert",
        },
        {
            module: "updatenotification",
            position: "top_bar"
        },
        {
            module: "clock",
            position: "top_left",
            config: {
                timeFormat: "12"
            }
        },
        {
            module: "calendar",
            header: "US Holidays",
            position: "top_left",
            config: {
                calendars: [
                    {
                        symbol: "calendar-check",
                        url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"                    
                    }
                ]
            }
        },
        {
            module: "currentweather",
            position: "top_right",
            config: {
                location: "Washington D.C.",
                locationID: "4140963",
                appid: "123",
                units: "imperial",
                colorIcon: "true",
                degreeLabel: "true",
                timeFormat: "12",
                showHumidity: "true"
            }
        },
        {
            module: "weatherforecast",
            position: "top_right",
            header: "Weather Forecast",
            config: {
                location: "Washington D.C.",
                locationID: "4140963",
                appid: "123",
                units: "imperial",
                degreeLabel: "true"
            }
        },
        {
            module: "newsfeed",
            position: "bottom_bar",
            config: {
                feeds: [
                    {
                        title: "USA Today",
                        url: "http://rssfeeds.usatoday.com/usatoday-NewsTopStories"
                    }
                ],
                showSourceTitle: true,
                showPublishDate: true,
                broadcastNewsFeeds: true,
                broadcastNewsUpdates: true
            }
        },
        {
            module: 'MMM-DynamicWeather',
            position: 'fullscreen_above',
            config: {
                api_key: "123",
                locationID: "4140963",
                effects: [
                    {
                        month: "2",
                        day: "14",
                        year: "2021",
                        images: ["heart1.png", "heart2.png"],
                        direction: "up"
                    }
                ],
            }
        },
        {
            module: 'MMM-Snow',
            position: 'fullscreen_above',
            config: { // See 'Configuration options' for more information.
                flakeCount: 100,
                theme: "winter"            
            }
        },
        {
            module: "MMM-ImagesPhotos",
            position: "middle_center",
            config: {
                opacity: 0.9,
                animationSpeed: 500,
                updateInterval: 5000,
            }
        },
        {
          module: "MMM-News",
          position: "bottom_bar",
          config: {
            apiKey : "123",
            type: "horizontal",
            query : [
              {
                sources: "abc-news, cnn, bild",
              },
              {
                country: "de",
                className: "redTitle",
              },
              {
                country: "gb",
                category: "sports",
                q : "Manchester United"
              }
            ],
          }
        },
    ]
};

/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}