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.

    MMM-Wunderground - 2 locations gives duplicate data from the first location

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

      Thanks @Francopacks now I know it is achievable I will have another crack at it tonight, if you have any tips that you think would be helpful I would love to hear them.

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

        So I got home and was determined to get this resolved, this is the last part of the mirror and i’ll be dammed if I fail here.

        1. Switched Raspberry PI on
        2. waited for MM to load
        3. Looked on in astonishment that the module that I renamed to MMM-WunderGround2 was working and not stuck in ‘Loading’

        As I had made all them changes above to MMM-WunderGround2 including the socket name changes I Pulled MMM-WunderGround from github into the modules folder so I would have a fresh orginal copy for the 2nd instance.

        I wrote the new instance into the config file and refreshed the MM, low and behold…‘Loading’ for that new instance. However I knew what I needed to do…the oldest trick in the IT book, switch the Raspberry PI off and switch it back on again, hey presto - they both loaded fine showing separate data.

        I’d like to thank @RedNax and @Francopacks

        TLDR: make sure you carry out a restart when you change the names in the main.js and nodehelper file if they are stuck in loading.

        brobergB 1 Reply Last reply Reply Quote 0
        • brobergB Offline
          broberg Project Sponsor @jamielola
          last edited by

          @jamielola

          the node_helper will only load when the mirror is actually started, modifications to a modules node_helper will require a full restart of the mirror software, not just a reload. Which I discovered when modifying the stock newsfeed module :D

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