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.

    Struggling with Weather... module

    Scheduled Pinned Locked Moved Solved Troubleshooting
    34 Posts 5 Posters 10.6k Views 6 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.
    • D Offline
      D3dl3g @karsten13
      last edited by

      @karsten13

      i too am getting this… showing me some 80+miles SEE of my actual location

      1 Reply Last reply Reply Quote 0
      • D Offline
        D3dl3g @karsten13
        last edited by D3dl3g

        @karsten13
        also… replace the hash symbols with various numbers… im not posting my exact Lat/Long for obvious reasons…

        make sure ur doing

        lat:
        

        and

        lon:
        

        i had it set to lat & lon(G) which is incorrect. hence why it was 80+miles, way tf over there!

        quote marks or none surronding the numbers doesnt appear to matter, for me at least

        1 Reply Last reply Reply Quote 0
        • D Offline
          D3dl3g
          last edited by D3dl3g

          This “issue” is fixed.

          Advised by Sam, I ran these 2 commands to find modified files that differ from a “clean install/default” of MM.

          git status
          git diff
          

          Any that varied… I ran:

          git checkout <dir-tree>/file.extension
          

          Rebuilt my config.js and found that apiBase HAS to be commented out.

          On reflection DO NOT CHANGE ANY FILE aside from “config.js”
          I had 3 causes for this issue.

          • (edit) i had longitude set in config.js to “long:”… it should be “lon:” and the lat/lon do not have to be surrounded by any quote marks.
          • I’d modified other *.js files, that didn’t need to be modified.
          • the “apiBase” argument listed in (MagicMirror Documentation > Modules > Weather Module > Configuration Options) was, in my case, not “REQUIRED”.
            c82b60b1-1dd9-43bb-a09a-94a3009810bb-image.png

          @sdetweil … Sam, publically, I cant thank you enough for your help with this. Sorry for being a n00b, your insight and help was invaluable, and you taught me some stuff, which is great!!

          S 1 Reply Last reply Reply Quote 2
          • S Offline
            sdetweil @D3dl3g
            last edited by

            @D3dl3g glad u got it working. we are all noobs at some of this stuff…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 3
            • 4
            • 4 / 4
            • 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