• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

New Weather Module - Migration

Scheduled Pinned Locked Moved Forum
19 Posts 4 Posters 2.6k 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.
  • S Offline
    sdetweil @Canguingo
    last edited by Apr 4, 2022, 3:10 PM

    @Canguingo well, there are more new parms…

    provider
    and type (as they collapsed current and forecast into the same module now)

    see https://docs.magicmirror.builders/modules/weather.html#configuration-options

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    C 2 Replies Last reply Apr 4, 2022, 3:15 PM Reply Quote 0
    • C Offline
      Canguingo @sdetweil
      last edited by Apr 4, 2022, 3:15 PM

      @sdetweil said in New Weather Module - Migration:

      @Canguingo well, there are more new parms…

      provider
      and type (as they collapsed current and forecast into the same module now)

      see https://docs.magicmirror.builders/modules/weather.html#configuration-options

      so what do i have to do?

      S 1 Reply Last reply Apr 4, 2022, 3:16 PM Reply Quote 0
      • S Offline
        sdetweil @Canguingo
        last edited by Apr 4, 2022, 3:16 PM

        @Canguingo i dpn’t know exactly… read the doc and check to see if you have all the required parms…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          Canguingo @sdetweil
          last edited by Apr 4, 2022, 3:25 PM

          @sdetweil said in New Weather Module - Migration:

          @Canguingo well, there are more new parms…

          provider
          and type (as they collapsed current and forecast into the same module now)

          see https://docs.magicmirror.builders/modules/weather.html#configuration-options

          my question is: Do I need a new apiKey or with the value of the old appi is enough?

          if you don’t know the answer or don’t know how to explain it, I thank you a lot, but please leave space for someone who actually can help.

          thank in advance.

          J 1 Reply Last reply Apr 4, 2022, 3:29 PM Reply Quote 0
          • J Offline
            JerryP @Canguingo
            last edited by Apr 4, 2022, 3:29 PM

            @Canguingo
            I’dint use a new key. The old one was working fine.
            After I update the Mirror to 2.19 and change the config.

            1 Reply Last reply Reply Quote 0
            • D Offline
              DarrenHill @Canguingo
              last edited by DarrenHill Apr 4, 2022, 5:24 PM Apr 4, 2022, 5:22 PM

              @Canguingo said in New Weather Module - Migration:

              apiKey: “abcde12345abcde12345abcde12345ab” //this is the old appi that i had

              Is that really your actual key, or did you just put that as a redaction of your actual key?

              Just to ask a basic question, as that doesn’t look like a valid key to me.

              As the others have noted, all you should need to do is change the module name and swap the key label from appid: to apiKey: , The key value itself is valid for both.

              D C 2 Replies Last reply Apr 4, 2022, 5:26 PM Reply Quote 0
              • D Offline
                DarrenHill @DarrenHill
                last edited by Apr 4, 2022, 5:26 PM

                For reference, this is one of the entries in my config.js (I use the module twice, once for now and once for forecast):

                        {
                            module: "weather",
                            position: "top_left",
                            config: {
                                type: "current",
                                location: "Manchester",
                                locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                                apiKey: "#####f59935f34cea0bf3c1aa82#####",
                                units: "metric",
                                degreeLabel: true,
                                showHumidity: true,
                                tableClass: "medium"
                                }
                        },
                
                

                Where the #'s in the apiKey are actually other letters and numbers (full key redacted).

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Canguingo @DarrenHill
                  last edited by Apr 4, 2022, 7:35 PM

                  @DarrenHill said in New Weather Module - Migration:

                  @Canguingo said in New Weather Module - Migration:

                  apiKey: “abcde12345abcde12345abcde12345ab” //this is the old appi that i had

                  Is that really your actual key, or did you just put that as a redaction of your actual key?

                  Just to ask a basic question, as that doesn’t look like a valid key to me.

                  As the others have noted, all you should need to do is change the module name and swap the key label from appid: to apiKey: , The key value itself is valid for both.

                  Many thanks Darren,

                  That’s a dummy key not the real one. I managed to get it running.

                  The issue was (for the record):
                  Mistaken “apiKey” for “appi”
                  Missing ‘currentweather’ part which has also been replaced by the new module. So the code was wrong and missing a calling a module that does not exist anymore.

                  Again many thanks!!

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 2 / 2
                  2 / 2
                  • First post
                    16/19
                    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