edward-shen / MMM-pages

Add pages to your MagicMirror²!
MIT License
107 stars 30 forks source link

No default weather modules are populating #65

Closed matchiznverse closed 2 years ago

matchiznverse commented 2 years ago

Setup the config files and even though the weather previews before the pages module starts all of the weather modules are gone.

When I use ["currentweather","weatherforecast"] they do not appear if I use ["weather"] the module appears but with the default settings.

==

    {
        module: "weather",
        position: "top_right",
        config: {
            weatherProvider: "openweathermap",
            type: "current",
            location: "***",
            locationID: "**", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
            apiKey: "***"
        }
    },
    {
        module: "weather",
        position: "top_right",
        header: "Weather Forecast",
        config: {
            weatherProvider: "openweathermap",
            type: "forecast",
            location: "**",
            locationID: "***", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
            apiKey: "***"
        }
    },

===

        {
            module: 'MMM-pages',
                config: {
                        modules: [
                            ["currentweather","weatherforecast"],
                            ["newsfeed","MMM-Reddito"],
                            ["MMM-Wallpaper"]
                            ],
                        fixed: ["clock", "MMM-page-indicator","MMM-Face-Multi-User-Recognition-SMAI","MMM-Screencast"],
                        hiddenPages: {
                                        "Hidden": [ "MMM-Remote-Control",],
                        rotationTime: 10000
            },
    }
edward-shen commented 2 years ago

Looks like as part of v2.15.0 those modules are deprecated. You should use the weather module instead (and I should update the docs).

For multiple modules of the same name, please see this post on how to do so, if you really want to do that.

edward-shen commented 2 years ago

I'm closing this issue due to old age. Please feel free to reopen this issue if you still have a problem.