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
    100 Posts 17 Posters 25.0k Views 18 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
      jtillinghast
      last edited by sdetweil

      Hey all-- I’m trying to get MMM-Chores working, but no matter what I do, the module shows up in the mirror as “No tasks to show (emoji).” I have populated the list with tasks, and confirmed that they appear in the data.json file. And I can reach the admin panel for Chores, so I know the server is running. Relevant codeblock from config.js:

      {
      					module: "MMM-Chores",
      					position: "bottom_left",
      					classes: "overview",
      					header: "Chores",
      					config: {
      						updateInterval: 60 * 1000,
      						adminPort: 5003,
          					settings: "unlocked",
      						dateFormatting: "",
      						login: false,
      						users: [{ username: "dad", password: "", permission: "read" }],
      					}
      				}
      

      I’m sure it’s something simple, so I appreciate your help! TIA.

      PierreGodeP 1 Reply Last reply Reply Quote 0
      • PierreGodeP Offline
        PierreGode Module Developer @jtillinghast
        last edited by

        @jtillinghast
        What does the command pm2 logs give you?

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

          @PierreGode And of course, today it works for seemingly no other reason. I don’t believe I have touched anything in the module or the config since it wasn’t working, but now it looks good! I will continue to monitor. Thanks.

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

            Question: Is it possible to set the config in some way to only show chores for one person? I’m using MMM-Pages to give each kid their own dashboard, for example, and I’m wondering if the page could just show the chores for that one person.

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

              @jtillinghast and then you need multiple instances in config.js

              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 Sure-- I have the multiple instances, but I’m just not sure what to put into the config to filter each instance down.

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

                  @jtillinghast ok, takes a little extra coding for multiple instances. Just making sure that is handled too

                  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 Can you say more about the extra coding? I created multiple instances, and assigned them to the unique pages via the class. Is there more unique configuration that needs to get handled?

                    S 1 Reply Last reply Reply Quote 0
                    • 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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 9
                        • 10
                        • 2 / 10
                        • 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