MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    SOLVED Problems with CurrentWeather, WeatherForecast working fine..

    Troubleshooting
    2
    4
    726
    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
      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

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

          Mykle1 1 Reply Last reply Reply Quote 1
          • Mykle1
            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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy