• 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 3.4k 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.
  • C Offline
    Canguingo @DarrenHill
    last edited by Apr 4, 2022, 2:38 PM

    @DarrenHill said in New Weather Module - Migration:

    @Canguingo Nothing needs to be done in the module, it should already have been there in parallel to the old ones for the last few versions of MM.

    All you need to do is make the changes in config.js as detailed on the migration/depreciation part of the documentation. That will switch you over from the old modules to the new one.

    What has happened with the 2.19 update is the old modules have basically been removed and just replaced with the notification that you see on the mirror screen now (and that will also presumably be removed going forward).

    The config.js entry should look something like the template version you posted originally, except of course you will need to use your own specific API key rather than the abcde12345 placeholder and your specific location (unless you happen to be in Amsterdam).

    thanks.
    So i did what you suggested. just added/changed the config.js and it looks exactly like yours.
    still not working. do i need to ask for a new api key? i already had one for the previous version.

    1 Reply Last reply Reply Quote 0
    • C Offline
      Canguingo @JerryP
      last edited by Apr 4, 2022, 2:40 PM

      @JerryP said in New Weather Module - Migration:

      @DarrenHill
      The config is “apiKey” and in the old config i’ts “appi”

      So please check the typing.

      yes i just mixed up the terms in this threat. do you mean i need a new apikey different than the old appi i already had?

      S 1 Reply Last reply Apr 4, 2022, 2:51 PM Reply Quote 0
      • S Away
        sdetweil @Canguingo
        last edited by Apr 4, 2022, 2:51 PM

        @Canguingo you are just changing the label of the apikey value in config.js

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil said in New Weather Module - Migration:

          @Canguingo you are just changing the label of the apikey value in config.js

          @sdetweil

          this is how my config.js looks like

          {
          module: “weather”,
          disabled: false, //false, true
          position: “top_right”,
          header: “Weervoorspelling”,
          config: {
          type: “forecast”,
          location: “Amsterdam”, // my own location
          locationID: “454545”, //id my location
          apiKey: “abcde12345abcde12345abcde12345ab” //this is the old appi that i had
          }
          }

          so i need a new apiKey or with the old one is ok?

          S D 2 Replies Last reply Apr 4, 2022, 3:10 PM Reply Quote 0
          • S Away
            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 Away
                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
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        12/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