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.

    multiple module instances overwrites itself values

    Scheduled Pinned Locked Moved Unsolved Development
    13 Posts 7 Posters 9.9k Views 9 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.
    • B Offline
      bobbob601
      last edited by

      This post is deleted!
      T 1 Reply Last reply Reply Quote 0
      • T Offline
        trgraglia @bobbob601
        last edited by

        @bobbob601 I got it working by passing a unique ID to the node helper and passing it back from the node helper.

        https://github.com/trgraglia/MMM-MVG-LocalTransport

        Hope this helps.

        http://www.anthonygraglia.com/

        1 Reply Last reply Reply Quote 1
        • B Offline
          bobbob601
          last edited by bobbob601

          This post is deleted!
          T 1 Reply Last reply Reply Quote 0
          • T Offline
            trgraglia @bobbob601
            last edited by

            @bobbob601 Yup. In my case, the user provides a station ID per instance because it has to do with local transport here in Munich. So in theory, the user is already providing unique IDs and I have no need to generate them. ;)

            http://www.anthonygraglia.com/

            1 Reply Last reply Reply Quote 0
            • strawberry 3.141S Offline
              strawberry 3.141 Project Sponsor Module Developer
              last edited by

              every instance has already a unique identifier see here https://github.com/MichMich/MagicMirror/tree/master/modules#available-module-instance-properties

              also the discussion in here is related to the issue https://forum.magicmirror.builders/topic/960/london-bus-status/14

              Please create a github issue if you need help, so I can keep track

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