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-Chores - Manage and keep track of your household Chores

    Scheduled Pinned Locked Moved Utilities
    102 Posts 18 Posters 26.4k Views 19 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
      sdetweil @jtillinghast
      last edited by sdetweil

      @jtillinghast it’s inside the module, nothing you can do.
      Currently the module does not do this extra

      The module with a node helper sends a request to the helper
      The helper gets done and sends the response back

      But, the method we use which is fast and flexible,
      goes to ALL the same modules at once
      So read chore list, send back, all instances get the One list

      MagicMirror provides a unique identifier for each module entry in config.js . The trick is to send that identifier with the request
      And the helper sends it back with the data AND The modules checks to see if the identifier in the response matches its identifier.
      If not just ignore it.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jtillinghast @sdetweil
        last edited by

        @sdetweil Thanks-- I just want to be sure I’m understanding you correctly. You’re saying that it is not possible to filter the to-do list by individual person as the module is currently constructed. To do so, we would have to add a function which would be able to take in the person parameter from config and filter the data accordingly. If I’m following, that could be done in the module since it’s already performing a check to see if the information matches, but that would require further development.

        Am I on track?

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @jtillinghast
          last edited by

          @jtillinghast yes, AND it needs to add the this.identifier to the data it sends to the node_helper,
          and the node helper has to send that identifier back as part of the returned data, AND the module needs to check the identifier to make sure it matches

          else, filter for tasks Sue, send it back and ALL instance will get the tasks for Sue, even tho they asked for Bob or Bill.

          so the module needs to be enhanced for 2 different things…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • B Offline
            BreanneDolphin
            last edited by

            This is great, I am just learning so I might have missed this earlier. I have a touch screen magic mirror, I am able to click off the task on the mirror but it does not seem to save the task as being completed and a few seconds later it just reappears. Is it supposed to do that or are you still only able to check off tasks in the admin portal?
            Secondly, can you have the chores grouped by person in the magic mirror display?

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              ewingfox @BreanneDolphin
              last edited by

              @BreanneDolphin

              I use a touch screen magic mirror and Pierre’s module and haven’t seen this behavior - can you paste the module’s contents from the config.js as a place to start? Perhaps also a screenshot of this part of the settings in the admin portal?

              d0f9c6c2-ae32-4035-aa24-9ea31b40d944-image.png

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 6
              • 7
              • 8
              • 9
              • 10
              • 11
              • 8 / 11
              • 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