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.

    Trouble Integrating MMM-OpenWeatherMapForecast with OpenWeather API v3.0

    Scheduled Pinned Locked Moved Solved Troubleshooting
    29 Posts 2 Posters 3.8k Views 2 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.
    • S Offline
      sdetweil @Socrates
      last edited by sdetweil

      @Socrates said in Trouble Integrating MMM-OpenWeatherMapForecast with OpenWeather API v3.0:

      restarted MM, still no avail.

      all that change did was output the status code to the log , instead of the empty error

      so, the log output will tell you
      Im sure its 401

      I hacked my apikey , and this is what the line should look like in the log

      [2024-09-09 21:49:07.454] [LOG]   [MMM-OpenWeatherMapForecast] 9-Sep-24 21:49 ** ERROR ** 401
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        Socrates
        last edited by

        Sounds good, its getting very late here in Houston, I will check this in the morning, add a credit card on file with OpenWeather and subscribe to a v3.0 api, make the changes accordingly and let u know in the morning. Thanks again for helping me out with this.

        1 Reply Last reply Reply Quote 0
        • S Offline
          Socrates
          last edited by

          Ok, before i go to sleep i had to do this.
          I added a credit card on openweather and subscribed for the plan.
          created a new api, and added it to the owmf module config file.

          restarted mm, and navigated to the log file, and i see this…

          [2024-09-10 00:52:18.498] [LOG] [MMM-OpenWeatherMapForecast] 10-Sep-24 00:52 ** ERROR ** 401
          [2024-09-10 00:52:18.526] [INFO] .
          [2024-09-10 00:52:18.527] [INFO] Beginning of Update Data:
          [2024-09-10 00:52:18.529] [INFO] .
          [2024-09-10 00:52:18.544] [INFO] {

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

            @sdetweil
            Sorry to keep nagging you. But today morning when i started troubleshooting MM, i see the Weather title bar show up, but the whole module per say is loading.
            I have the credit card on file with openweather, and have subscribed to v3.0 api

            2024-09-10_11-12-38.jpg

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

              @Socrates can you show the log output?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil
                Thanks, i have pm’ed you the output, as the output file contains api keys and all google calander private url details. Hence sent it to you through pm

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

                  @Socrates sent pm back

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil
                    It looks like i might be facing an issue with the OpenWeather api. Under services tab i see this msg. It looks like Hourly and Daily forcast is still not available to me.
                    My membership services shows. See screenshot below.
                    alt text

                    However my subscription shows its active with the paid membership
                    alt text

                    I have written an email to OpenWeather support, as soon as i hear from them, i will report back. I think this has to do with my subscription and for them to activate the daily forcast on my account.

                    S 2 Replies Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Socrates
                      last edited by

                      @Socrates when u need to upload a pic, use the 2nd icon from the right (upload image) on the editor toolbar

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @Socrates remember it worked ok from my system

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          @sdetweil
                          With my API key?

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

                            @Socrates yes, i copied your config exactly, and disabled mine…

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            S 2 Replies Last reply Reply Quote 0
                            • S Offline
                              Socrates @sdetweil
                              last edited by

                              @sdetweil
                              It looks like i might be facing an issue with the OpenWeather api. Under services tab i see this msg. It looks like Hourly and Daily forcast is still not available to me.
                              My membership services shows. See screenshot below.
                              image (1).png
                              However my subscription shows its active with the paid membership
                              image (2).png
                              I have written an email to OpenWeather support, as soon as i hear from them, i will report back. I think this has to do with my subscription and for them to activate the daily forcast on my account.

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

                                @sdetweil

                                Sucks, what do you recommend in this case? Uninstall/delete OWMF module and any css folders relating to it, and reinstall it completely?

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

                                  @sdetweil
                                  Other than deleting the module folder what other components relating to OWMF can i delete? Also, is there a way to uninstall instead of deleting, so any dependent package that was installed with OWMF can be removed?

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

                                    @Socrates delete the module folder and reinstall the module . don’t need to edit the config

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

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

                                      @sdetweil

                                      Hello and good evening again. The issue has been resolved. Even after reinstalling the module it did not work. Then i thought about something i would have done years back as a Linux System admin if a rpm package was not able to find depedencies already installed, i went and granted chmod -R 777 * to the MMM-OWMF folder, thus giving it recursive permission to read write and execute to self and guest users. After that i restarted and now I can see the module in my dashboard.

                                      Thank you so much for standing with me since yesterday and helping me out with this issue. This has been a great learning curve.

                                      Thanks again!!!

                                      S S 2 Replies Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @Socrates
                                        last edited by sdetweil

                                        @Socrates BUT BUT BUT that sounds like you installed the module using sudo…

                                        NEVER use sudo with any MagicMirror commands , regardless what anyone says, no reason to do that…

                                        use of sudo leads to troubles like this

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • S sdetweil has marked this topic as solved on
                                        • S Offline
                                          Socrates @Socrates
                                          last edited by

                                          @Socrates
                                          Ah that makes sense. Yes i did use sudo. You are right. Will follow the guidelines now.

                                          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
                                          • 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