MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Question about two standard modules



  • Hi everyone,
    I’m new to MagicMirror and that’s why I have to ask now because I do not know.
    I have a question about the modules Newsfeed and Currentweather.
    My problem is that news module works from time to time but not always. Currentweather shows only “Lade …” in the upper right corner.
    What can this be?

    {
                            module: "currentweather",
                            position: "top_right",
                            config: {
                                    location: "Guetersloh",
                                    locationID: "3221127",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find you$
                                    appid: "3221127"
    
    {
                            module: "newsfeed",
                            position: "bottom_bar",
                            config: {
                                    feeds: [
                                            {
                                                    title: "Tagesschau",
                                                    url: "http://www.tagesschau.de/xml/rss2"
                                            }
                                    ],
    
    

    Thanks you all!



  • @Kollen
    You have to use the brackets. Each opened must be closed {}, []. Don’t mix it up!
    Each part, need an , or ; at the end.

    I have not the newsfeed running but currentweather.

    Use this, it shoult fix your problem 😉

    {
        module: "currentweather",
        position: "top_right",
        config: {
            location: "Guetersloh",
            locationID: "3221127",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find you$
            appid: "3221127"
        }
    },
    
    {
        module: "newsfeed",
        position: "bottom_bar",
        config: {
            feeds: [
                {
                title: "Tagesschau",
                url: "http://www.tagesschau.de/xml/rss2"
                }
            ],
        }
    },
    


  • @bdream
    thank you for your help! I forgot to copy the brackets at the code … o_O
    but my mistake was that I had a spin on the API so nothing was loaded.
    Thank you and a nice weekend! 🙂



  • welcome and have fun with your mirror 😉


Log in to reply