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.

    Further personalization with Face-Reco

    Scheduled Pinned Locked Moved General Discussion
    16 Posts 3 Posters 2.5k 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.
    • M Offline
      Macboy
      last edited by

      I’m still learning how this forum is organized so forgive me if I’ve put this in the wrong place.

      I’ve got my mirror working with Nischi’s Face-Reco module and four members of our household. One thing I’d like to be able to do is write a bunch of user-specific compliments. I thought maybe it would be a simple matter of duplicating the original Compliments module folder and renaming them something like “compliments1”, “compliments2” and so on but it doesn’t appear it’s that simple. Can I use the Face Reco classes in the .js file for the compliments? Or is there a way to duplicate the modules as I originally thought but just didn’t do correctly?

      Appreciate the wisdom, thanks in advance.

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @Macboy
        last edited by

        @Macboy don’t need to duplicate module just create another instance set its classes and compliments in config.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          Macboy
          last edited by

          Thanks Sam. I’ll get to Googling how to do that. (New to this but loving the learning.)

          1 Reply Last reply Reply Quote 0
          • M Offline
            Macboy
            last edited by Macboy

            That was a quick find. Thanks for the direction. I had put my list of compliments into the compliments.js file, not in the instance in config.js.

            Edit - spoke too soon. If I try to move the compliments out of compliments.js (under the defaults) and into a config grouping as shown on the module use instructions in config.js not only does the mirror load up no longer using face recognition, but the compliments module shows as undefined. I’ll look into the forum use tools and see if I can figure out how to post the code here.

            1 Reply Last reply Reply Quote 0
            • M Offline
              Macboy
              last edited by

              This post is deleted!
              JerryPJ 1 Reply Last reply Reply Quote 0
              • M Offline
                Macboy
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • JerryPJ Offline
                  JerryP @Macboy
                  last edited by

                  @Macboy said in Further personalization with Face-Reco:

                  MMM-TweetsByTimelineOrList

                  Maybe i’t wise to remove the Ica url and your token licens code.
                  so now I can check you agenda.

                  S M 2 Replies Last reply Reply Quote 0
                  • S Away
                    sdetweil @JerryP
                    last edited by sdetweil

                    @JerryP you are not following the doc.

                    module: "compliments",
                    classes:"......",
                    config:{
                       compliments:{
                           ....
                        }
                    }
                    

                    https://docs.magicmirror.builders/modules/compliments.html#configuration-options

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    JerryPJ 1 Reply Last reply Reply Quote 0
                    • M Offline
                      Macboy @JerryP
                      last edited by

                      @JerryP

                      Haha! Good to know! Thanks for pointing that out to me. It’s a pretty dormant Twitter account but I guess one never knows how that could be used.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Macboy
                        last edited by

                        @michmich @paviro

                        I’m unable to edit the posts above with my wife’s tokens because too much time has passed since I posted. Do one of you have the ability to either redact that portion of the code snippets (the TimelineOrList sections) in both posts above?

                        Possibly harmless to have that info out in public but someone could maliciously use her account for evil I guess. If the posts need to be removed that is okay as well. And if there is a method available to me to pull the posts or edit them I’m happy to do so - just let me know how. I’ll be more alert next time I start posting code. Funny enough I DID take a quick scan making sure I wasn’t posting SSIDs and passwords…haha

                        If anyone else knows how I can change that up just let me know.

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