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.

    Cannot display 2 sets of weather using MMM-WunderGround

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 2.0k 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.
    • J Offline
      jamielola
      last edited by jamielola

      Hi

      I am trying to use MMM-WunderGround, it is a great module but I would like to display the module twice on my magic mirror (one showing my home location, one showing my work location - many miles apart)

      It seems to only pick up the last modules PWS code in the config file and display that in both modules that load on the magic mirror. I have created seperate API keys from weather underground but it still only shows data for one weather station. Please take a look at this example -

      modules: [
      {
          			module: 'MMM-WunderGround',
          			position: 'top_right',
          			config: 
      		{
              		apikey: 'FIRSTAPIKEY', // private; don't share!
              		pws: 'pws:ILONDON885', // UK Weather station sample
      			currentweather: 0,
              		coloricon: true,
              		hourly: '1',
              		fctext: '1',
              		fcdaycount: "6",
              		fcdaystart: "1",
              		hourlyinterval: "2",
              		hourlycount: "1",
      			animationSpeed: 5000,
              		alerttime: 10000,
              		alerttruncatestring: "english:",
          			roundTmpDecs: 0,
          			UseCardinals: 1,
          			layout: "vertical",
      			windunits: "mph",
          			sysstat: "0"
      			}
      		},
      
      
      
      {
          			module: 'MMM-WunderGround',
          			position: 'top_left',
          			config: 
      		{
              		apikey: 'SECONDAPIKEY', // private; don't share!
              		pws: 'pws:KAKCANTW6', // ALASKA Weather station sample
      			currentweather: 0,
              		coloricon: true,
              		hourly: '1',
              		fctext: '1',
              		fcdaycount: "6",
              		fcdaystart: "1",
              		hourlyinterval: "2",
              		hourlycount: "1",
      			animationSpeed: 5000,
              		alerttime: 10000,
              		alerttruncatestring: "english:",
          			roundTmpDecs: 0,
          			UseCardinals: 1,
          			layout: "vertical",
      			windunits: "mph",
          			sysstat: "0"
      			}
      		},
      
      ]
      

      is there anything I am missing?

      i’ll try to upload a picture to help explain better asap, I do not have enough privilege to attach

      1 Reply Last reply Reply Quote 0
      • RedNaxR Offline
        RedNax Module Developer
        last edited by

        Hi,

        Please have a look at this post: https://forum.magicmirror.builders/topic/998/mmm-wunderground-2-locations-gives-duplicate-data-from-the-first-location

        1 Reply Last reply Reply Quote 0
        • J Offline
          jamielola
          last edited by

          Thank you for the link, i’ll post on there so the information is relativity kept in one place

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 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