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

"Not that WWI!" - Trouble with Weather WIthout Icons module

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 4 Posters 1.0k 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
    cotxwx
    last edited by Apr 5, 2021, 11:17 PM

    Hello,

    Running in to an issue with the MMM-WWI module, and I’m not sure where the issue lies. I git cloned the module, copied the config.js sample below, direct from the github page, and verified my DarkSky API was correct, as were my latitude and longitude. But no matter what I do, I just end up with text saying “Not that WWI!”. I have no other modules in that space. I commented out the currentweather module that was there, no luck. I removed the module entirely from the config.js file, no luck.

    {
    	disabled: false,
    	module: "MMM-WWI",
    	position: "top_left",
    	config: {
    		apiKey: "my_darksky_api", // Free API key @ https://darksky.net
    		lat: "my_latitude",   // Your latitude goes here
    		lng: "my_longitude",  // Your longitude goes here
    		tempUnits: "F",		              // C or F 
    		pix: "4",                         // 1-13 Comment out display: none in css file
    		useHeader: true,                 // true if you want a header                 
    		header: "my_unique_header",
    		maxWidth: "300px",
    	}
    },
    

    Any ideas on what I may be missing?

    B 1 Reply Last reply Apr 5, 2021, 11:25 PM Reply Quote 0
    • B Online
      BKeyport Module Developer @cotxwx
      last edited by Apr 5, 2021, 11:25 PM

      @cotxwx Darksky, likely.

      The company is closing APIs as fast as possible. Use something else.

      The "E" in "Javascript" stands for "Easy"

      S 1 Reply Last reply Apr 5, 2021, 11:29 PM Reply Quote 0
      • S Away
        sdetweil @BKeyport
        last edited by Apr 5, 2021, 11:29 PM

        @bkeyport but he validated the key worked

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 1 Reply Last reply Apr 6, 2021, 2:00 PM Reply Quote 0
        • C Offline
          cotxwx @sdetweil
          last edited by Apr 6, 2021, 2:00 PM

          @sdetweil Yeah, the key works. I also use MMM-DarkSkyRadar and have no issues with it.

          M 1 Reply Last reply Apr 7, 2021, 12:20 AM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @cotxwx
            last edited by Mykle1 Apr 7, 2021, 12:25 AM Apr 7, 2021, 12:20 AM

            @cotxwx

            I can confirm that the module works with the “older” api keys. Newer issued I can’t check as I don’t have one. Are you getting any errors in the terminal or dev console?

            12.png

            EDIT!

            Give me your lat and long (or something close) and I’ll check if that has something to do with your issue.

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • C Offline
              cotxwx
              last edited by Apr 7, 2021, 2:24 PM

              @mykle1

              L/L, close to my location: 44.531712,-109.0158592

              I’ve had the DarkSky account for years now, and no errors are seen (though I’ll check again)

              M 1 Reply Last reply Apr 8, 2021, 12:18 AM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @cotxwx
                last edited by Mykle1 Apr 8, 2021, 12:18 AM Apr 8, 2021, 12:18 AM

                @cotxwx said in "Not that WWI!" - Trouble with Weather WIthout Icons module:

                -109.0158592

                Well, something else must be going on there as I used your lat and long successfully.

                22.png

                {
                	disabled: false,
                	module: "MMM-WWI",
                	position: "top_right",
                	config: {
                		apiKey: "MY API KEY", 
                		lat: '44.531712',   // Your latitude goes here
                		lng: '-109.0158592',  // Your longitude goes here
                		tempUnits: "F",		              // C or F
                		pix: "4",                         // 1-13 Comment out display: none in css file
                		useHeader: true,                 // true if you want a header
                		header: "my_unique_header",
                		maxWidth: "300px",
                	}
                },
                

                Create a working config
                How to add modules

                C 1 Reply Last reply Apr 8, 2021, 3:34 AM Reply Quote 0
                • C Offline
                  cotxwx @Mykle1
                  last edited by Apr 8, 2021, 3:34 AM

                  @mykle1 Only thing I can think is my PiHole is catching something and blocking it. I’ll disable and give it a try. Thanks for checking!

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    4/8
                    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