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.

    Weather showing wrong weather for my location

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 4 Posters 2.7k 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 @TangoE30
      last edited by

      @TangoE30 put the empty custom.css back
      at least those two errors will go away

      my install script does the touch to create the empty file, 1. to get rid of the useless error messages, 2. many people don’t know how to create the file early in their mm experience

      there should have been other errors tho

      specific to the weathermap module.

      some of the modules support an apiVersion: parameter
      defaults to 2.5 but can be changed to 3.0

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        TangoE30 @sdetweil
        last edited by

        @sdetweil
        Thanks again Sam! I put the touch ~/MagicMirror/css/custom.css back into the directory and those two errors (Refused to apply style & 214 Error) did go away.

        I tried to install another module MMM-OneCallWeather, with the option to change from 2.5 to 3.0. Upon adding the module and my latitude and longitude and API Key, I’m still receiving an “Loading” message. There are three errors related to icons not showing up.

        For now, I’m going to see how I can modify the default Weather Module or continue to search for another that accepts the 3.0 API key.

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

          @TangoE30 the default weather module also provides an apiVersion config option

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @TangoE30
            last edited by

            @TangoE30 if u are willing to share your apikey w me. I can look at the problem w whatever module you suggest.

            send in a private chat

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              TangoE30 @sdetweil
              last edited by

              @sdetweil
              Jackpot!!!
              A quick update and I finally think I figured it out, at least for MMM-OpenWeatherForecast by:

              • Subscribing to Open Weather’s One Call by Call (https://openweathermap.org/price)
              • Changing my node_helper.js line 44 from 2.5 to 3.0 :
              var url = https://api.openweathermap.org/data/3.0/onecall?"
              

              Thanks again and I’ll share on the other thread as well. “https://forum.magicmirror.builders/topic/17644/a-working-weather-module”

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