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.

    Problems with CurrentWeather, WeatherForecast working fine..

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 2 Posters 1.2k Views 2 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.
    • H Offline
      haab
      last edited by haab

      Hi there,

      It’s driving me nuts but I probably have only a small mistake I just can’t see. All software up to date, just checked. The Weatherforecastmodule is working fine but the Currentweather module isn’t showing up. What’s wrong with my config ?

      {
      module: “currentweather”,
      position: “top_right”,
      config: {
      location: “Kerkrade”,
      locationID: “27529922”,
      appid:“bdb47df57bd63562bb11xxxxxxxxxx”
      }
      },
      {
      module: “weatherforecast”,
      position: “top_right”,
      header: “Weersverwachting”,
      config: {
      location: “Kerkrade”,
      locationID: “2752922”,
      appid:“bdb47df57bd63562bb11xxxxxxxxxx”
      }
      },

      Thnx for the help…
      Grtz, Haab

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @haab
        last edited by Mykle1

        @haab said in Problems with CurrentWeather, WeatherForecast working fine..:

        {
        module: “currentweather”,
        position: “top_right”,
        config: {
        location: “Kerkrade”,
        locationID: “27529922”,
        appid: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
        }
        },
        {
        module: “weatherforecast”,
        position: “top_right”,
        header: “Weersverwachting”,
        config: {
        location: “Kerkrade”,
        locationID: “2752922”,
        appid: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
        }
        },

        Your current weather location ID has one too many 9’s and the type of quotes you are using is causing syntax errors. This will work for you. Notice the difference in quotes.

        {
        module: "currentweather",
        position: "top_right",
        config: {
        location: "Kerkrade",
        locationID: "2752922",
        appid: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        }
        },
        {
        module: "weatherforecast",
        position: "top_right",
        header: "Weersverwachting",
        config: {
        location: "Kerkrade",
        locationID: "2752922",
        appid: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        }
        },
        

        0_1540410982641_Screenshot from 2018-10-24 15-51-33.png

        Create a working config
        How to add modules

        H 1 Reply Last reply Reply Quote 1
        • H Offline
          haab @Mykle1
          last edited by

          @mykle1 Thank you very much m8 for your very fine eyes. The nin solved the problem, I overlooked it probably a thousand times. Thank you very much.

          The quotes I use are the same you use , just a copy & paste thing that changed the quotes.

          Thnx again Mykle1

          Mykle1M 1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @haab
            last edited by

            @haab

            You’re welcome, mate. Now edit your post to remove your API key. I’ve already done so in mine. You should keep those private

            Create a working config
            How to add modules

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