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.

    MM Windows 11 install - 3rd party modules won't work

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 3 Posters 600 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.
    • L Offline
      lvolkjr
      last edited by

      Hi there,
      I installed MagicMirror on a Windows 11 laptop device to see if a small Windows device would work. I followed the installation directions from the MM documentation. Everything worked right away except the Calendar default module, I wasn’t worried about it at the moment.

      I started to install KristjanESPERANTO/MMM-OneCallWeather. Got my API key set the basic settings and it just says it’s loading, but nothing happens. I get one error and it says it’s unauthorized. I go and try it on a Raspberry Pi and it works great.

      I’m trying to figure out if there is something i missed with the Windows install. I did the Node.js install, the Git install, and went to the Vendor and Fonts directories and did the npm install also.

      When I did this “Install the application: npm run install-mm” it didn’t work. I took off the -mm and that worked. Is that the issue? Thanks for any help you can give me with this.

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

        @lvolkjr @KristjanESPERANTO

        Kristjan, can you help here?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • L Offline
          lvolkjr
          last edited by

          Update:
          I found an error in the log:
          [2025-05-27 19:59:04.742] [ERROR] [MMM-OneCallWeather] Error: Unauthorized
          I’m not sure why I’m getting this, I triple check my API key and it’s correct. I hope that helps someone to help me resolve this.

          Thank you for any help you can give me!

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

            @lvolkjr Show us the config of the module from the windows machine. Did you write apikey or apiKey?

            L 1 Reply Last reply Reply Quote 0
            • L Offline
              lvolkjr @KristjanESPERANTO
              last edited by sdetweil

              @KristjanESPERANTO

              {
              				module: "MMM-OneCallWeather",
              				position: "top_right",
              				header: "Weather in San Ramon",
              				config: {
              				  latitude: "37.76470886457069",  // Longitude from https://www.latlong.net/
              				  longitude: "-121.9619230575287", // Longitude from https://www.latlong.net/
              				  apikey: "*mysecretkey*", // openweathermap.org API key
              				  iconset: "4a",          // Icon set to use.
              				  iconsetFormat: "png",   // File format of the icons.
              				}
              		},
              

              I just copied what you had on the example and then plugged in my information. I tried apiKey, because I was using apikey from the beginning, but still get the same error.

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

                @lvolkjr please always use code block around config entries, else the quote marks are changed and anyone copying the text will get junk. it also keeps the indentation of the source

                to use code block
                paste text into message editor, blank line above and below
                select the text just pasted
                hit the </> button to wrap in a code block

                for info
                code block is three backtics in a row starting in column 1 on line by itself, start and end of the block

                backtic is lowercase left of the 1 key on US keyboard

                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 @sdetweil
                  last edited by sdetweil

                  @lvolkjr I copied your config and changed to my apikey and it worked as expected… (On windows 11)
                  maybe you have missed a character in the apikey at the start or end on a copy/paste

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 1
                  • L Offline
                    lvolkjr @lvolkjr
                    last edited by

                    @sdetweil Thank you for all your help, I’ll be sure to use the Code Block in the future.

                    I’ll have to go back to the default weather module, as the firewall I’m behind won’t let me use the OpenWeathermap api. It took me a while to figure out, but I found out what the issue was.

                    Thanks again, Sam!

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

                      @lvolkjr the default weather module, using the OpenWeather provider uses the same api url…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 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