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.

    Header missing for Current weather (MMM_OpenMapWeather)

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 3 Posters 2.1k Views 3 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
      scumbelly
      last edited by

      @Nneuland ,

      Sorry, my example was not explained properly. It was basically how not to put the Location/LocationID name in the header. In my example you would just edit the header to say header: “Weather Forecast for New York”, or in your case just “New York, USA”. With the appendLocationNameToHeader: false, I put this in to stop the the appid city ID being populated as my location because it wasn’t my village name but a nearby city. So in your instance, if I remember correctly, your don’t need header: it should be fine with appendLocationNameToHeader: true,

      The default config for openmapweather

      modules: [
      {
      module: “MMM-OpenmapWeather”,
      position: “top_left”, // This can be any of the regions.
      // Best results in left or right regions.
      config: {
      // See ‘Configuration options’ for more information.
      location: “Phoenix,USA”,
      locationID: “”, //Location ID from http://openweathermap.org/help/city_list.txt
      appid: “abcde12345abcde12345abcde12345ab”, //openweathermap.org API key
      colorIcon: true
      }
      }
      ]

      should just be location:“New York”,
      locationID: “5128581”,
      appid: “xxxxxxxxxxx”,

      If you want the USA, location “New York, USA” that might work. It may not like the USA part because it might conflict with the returned locationID of just New York - I can’t remember. If you want USA you’ll have to create the header “New York, USA” using my example. I hope your config.js file has a comma at the end of your appid".

      Cheers, hope this helps.

      N 1 Reply Last reply Reply Quote 0
      • N Offline
        Nneuland @scumbelly
        last edited by

        @scumbelly

        Thank you so much for your time. Doing research on this, I never see a header on the openmapweather mmm. Only with the default current weather module is there a header.

        Perhaps I should investigate why the default current weather mmm wont work. Thanks again for your help

        N 1 Reply Last reply Reply Quote 0
        • N Offline
          Nneuland @Nneuland
          last edited by

          @scumbelly

          Just figured I would let you know. I nixed the openmapweather mmm, and found a way to get the default current weather module working AND displaying a New York header. Thanks again for the support.

          1 Reply Last reply Reply Quote 0
          • E Offline
            eltonnascimento
            last edited by

            @nneuland said in Header missing for Current weather (MMM_OpenMapWeather):

            @scumbelly

            Just figured I would let you know. I nixed the openmapweather mmm, and found a way to get the default current weather module working AND displaying a New York header. Thanks again for the support.

            how did u solve this?

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              Nneuland @eltonnascimento
              last edited by

              @eltonnascimento
              Hi. Apologize for the late response.
              Not sure I would call this a fix. I reverted back to the default Current Weather module and avoided the Openmapweather module all together. For the life of me I couldn’t figure a way to show a header with the Openmapweather. However, the default Current weather worked.

              Hope this helps

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