MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED Question about two standard modules

    Troubleshooting
    2
    4
    336
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kollen last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • B
        bdream last edited by

        @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"
                    }
                ],
            }
        },
        

        –
        cheers, bdream

        1 Reply Last reply Reply Quote 1
        • K
          Kollen last edited by

          @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! 🙂

          1 Reply Last reply Reply Quote 0
          • B
            bdream last edited by

            welcome and have fun with your mirror 😉

            –
            cheers, bdream

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy