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.

    MMM-OpenWeatherForecast Error 401

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    15 Posts 4 Posters 6.1k Views 4 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.
    • V
      Vauxdvihl
      last edited by

      Ok
      Somehow strange
      The API key in the default weather module works
      Thx for your feedback

      S 1 Reply Last reply
      Reply Quote 0
      • S
        sdetweil @Vauxdvihl
        last edited by

        @Vauxdvihl 401 is access denied.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply
        Reply Quote 0
        • KristjanESPERANTOK
          KristjanESPERANTO Module Developer @Vauxdvihl
          last edited by

          @Vauxdvihl Are you using the fork from Tom-Hirschberger?

          V 1 Reply Last reply
          Reply Quote 0
          • V
            Vauxdvihl @KristjanESPERANTO
            last edited by

            @KristjanESPERANTO
            No…hmm i don’t know
            Can you guide me?
            Thx

            KristjanESPERANTOK 1 Reply Last reply
            Reply Quote 0
            • V
              Vauxdvihl
              last edited by

              For this is also really spuky
              Using the default weather module with my api key
              Config “OpenweatherMap”
              Everything runs fine
              Using the “MMM-OpenWeatherMapForecast” i get the error meassage 401
              Strange…

              kayakbabeK 1 Reply Last reply
              Reply Quote 0
              • KristjanESPERANTOK
                KristjanESPERANTO Module Developer @Vauxdvihl
                last edited by

                @Vauxdvihl said in MMM-OpenWeatherForecast Error 401:

                Can you guide me?

                Try git remote -v in the module’s directory.

                V 1 Reply Last reply
                Reply Quote 0
                • V
                  Vauxdvihl @KristjanESPERANTO
                  last edited by

                  @KristjanESPERANTO
                  no change
                  Still error

                  S 1 Reply Last reply
                  Reply Quote 0
                  • S
                    sdetweil @Vauxdvihl
                    last edited by sdetweil

                    @Vauxdvihl that command will output which repo the module came from

                    please show the output

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    V 1 Reply Last reply
                    Reply Quote 1
                    • V
                      Vauxdvihl @sdetweil
                      last edited by

                      @sdetweil

                      Here ue are

                      @raspberrypi:~/MagicMirror/modules/MMM-OpenWeatherForecast $ git remote -v
                      origin	https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast (fetch)
                      origin	https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast (push)
                      
                      
                      KristjanESPERANTOK 1 Reply Last reply
                      Reply Quote 0
                      • KristjanESPERANTOK
                        KristjanESPERANTO Module Developer @Vauxdvihl
                        last edited by

                        @Vauxdvihl Okay, so that shows us that you’re using the right fork 👍 Let’s see the part of config.js for this module (without API key, of course).

                        V 1 Reply Last reply
                        Reply Quote 0
                        • V
                          Vauxdvihl @KristjanESPERANTO
                          last edited by

                          @KristjanESPERANTO

                          Thank you

                          		module: "MMM-OpenWeatherForecast",
                          		//header: "Wetter Berlin", // Optional header
                          		position: "top_right",
                          		classes: "default everyone", 
                          		disabled: false,
                          		config: {
                          			apikey: "key",
                          			latitude: "51.xxxxx", 
                          			longitude: "-0.xxxxx",      
                          			iconset: "2c",
                          			concise: true,
                          			showWind: false,
                          			displayKmhForWind: true,
                          			animatedIconStartDelay: 2000,
                          			label_timeFormat: "HH:mm",
                          			forecastLayout: "tiled",
                          			forecastHeaderText: "",
                          			label_sunriseTimeFormat: "HH:mm",
                          			maxHourliesToShow: 0,
                          			maxDailiesToShow: 4,
                          			label_days: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
                          			}
                          		},	
                          
                          1 Reply Last reply
                          Reply Quote 0
                          • kayakbabeK
                            kayakbabe @Vauxdvihl
                            last edited by

                            @Vauxdvihl openweathermap discontinued their 2.5 api. so the url in the module might be wrong. Check the configuration possibilities for your module and see if you can choose the 3.0 api.

                            V 1 Reply Last reply
                            Reply Quote 2
                            • V
                              Vauxdvihl @kayakbabe
                              last edited by

                              @kayakbabe
                              I do not check your answer
                              While having the default weather module running with “openweathermap” as the source for the datas, everthing runs fine.
                              And the default module uses according to their css file also the 2.5.

                              I was also switching the “MMM-OpenWeatherForecast” css to 3.0.
                              Nothing changed

                              1 Reply Last reply
                              Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better đź’—

                              Register Login
                              • 1 / 1
                              • 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