MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Weather & Newsfeed

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 3 Posters 4.9k Views 3 Watching
    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.
    • J Offline
      jobjha1973
      last edited by

      Hi, i’m not great at this, so i’m hoping for your help in here.
      i have tried alot to get this to work but no luck.

      i live in denmark europe, i’m trying to get a danish news feed and local weather on my magic mirror 2
      this is my config file and it only shows the clock and my google calendar.

      hope that someone have an idea for me :-)

      thanks guys

      	module: "compliments",
      			position: "lower_third"
      		},
      		{
      			module: "currentweather",
      			position: "top_right",
      			config: {
      				location: "New York",
      				locationID: "",  //ID from https://openweathermap.org/sample/; unzip the gz file and find your city
      				appid: "YOUR_OPENWEATHER_API_KEY"
      			}
      		},
      		{
      			module: "weatherforecast",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				location: "Højby",
      				locationID: "",  //ID from https://openweathermap.org/city/6543928
      				appid: "6543928"
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "TV2 Nyheder",
      						url: "http://tv2.dk/profiles/tv2/modules/custom/t2zerowing/pkg/img/apple-touch-icon-precomposed.png</url"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      
      ? 1 Reply Last reply Reply Quote 0
      • J Offline
        jobjha1973 @sonicgoose
        last edited by

        @sonicgoose

        i’ve got it to work now, thanks to you all :-)

        1 Reply Last reply Reply Quote 1
        • ? Offline
          A Former User @jobjha1973
          last edited by

          @jobjha1973
          Put your local information in currentWeather part also.
          And, As far as I know, TV2 Nyheader rss feed url is “http://feeds.tv2.dk/nyhederne_seneste/rss”

          1 Reply Last reply Reply Quote 0
          • J Offline
            jobjha1973
            last edited by

            @Sean said in Weather & Newsfeed:

            http://feeds.tv2.dk/nyhederne_seneste/rss”

            Thanks Sean, now the news feed work but not the weather yet.

            can you see if i’m doing something wrong```
            module: “compliments”,
            position: “lower_third”
            },
            {
            module: “currentweather”,
            position: “top_right”,
            config: {
            location: “Højby”,
            locationID: “”, //ID from https://openweathermap.org/city/6543928; unzip the gz file and find your city
            appid: “6543928”
            }
            },
            {
            module: “weatherforecast”,
            position: “top_right”,
            header: “Weather Forecast”,
            config: {
            location: “Højby”,
            locationID: “”, //ID from https://openweathermap.org/city/6543928
            appid: “6543928”
            }
            },
            {
            module: “newsfeed”,
            position: “bottom_bar”,
            config: {
            feeds: [
            {
            title: “TV2 Nyheder”,
            url: “http://feeds.tv2.dk/nyhederne_seneste/rss”
            }
            ],
            showSourceTitle: true,
            showPublishDate: true

            1 Reply Last reply Reply Quote 0
            • J Offline
              jobjha1973
              last edited by jobjha1973

              maybe i need to put the code in

              locationID: “6543928”, like this?

              hmm nope

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by A Former User

                @jobjha1973
                I think 2614478 or 6543928 wil be locationId, not appId.
                AppId might be more long. It seems being missed in your configuration.

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jobjha1973 @Guest
                  last edited by

                  @Sean
                  okey thanks i’ll try and try again, and return if it don’t work

                  ? 1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @jobjha1973
                    last edited by A Former User

                    @jobjha1973
                    AppID(API key) Should look similar with this; 616969b353bc8c809aab84d4033c4f72

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jobjha1973 @Guest
                      last edited by

                      @Sean
                      i’ve tried to look for that code size but can only find the short one so it still wont work, i’ll try again tomorrow

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sonicgoose @jobjha1973
                        last edited by

                        @jobjha1973 You need to register with OpenWeather and they will provide you with an API key.

                        J 2 Replies Last reply Reply Quote 0
                        • J Offline
                          jobjha1973 @sonicgoose
                          last edited by

                          @sonicgoose
                          thank you, i just did it now and put the API in the config but still no luck :-(

                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 1 / 2
                          • First post
                            Last post
                          Enjoying MagicMirror? Please consider a donation!
                          MagicMirror created by Michael Teeuw.
                          Forum managed by Sam, technical setup by Karsten.
                          This forum is using NodeBB as its core | Contributors
                          Contact | Privacy Policy