Read the statement by Michael Teeuw here.
Further personalization with Face-Reco
-
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.
-
@Macboy don’t need to duplicate module just create another instance set its classes and compliments in config.
-
Thanks Sam. I’ll get to Googling how to do that. (New to this but loving the learning.)
-
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.
-
This post is deleted! -
This post is deleted! -
@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. -
@JerryP you are not following the doc.
module: "compliments", classes:"......", config:{ compliments:{ .... } }
https://docs.magicmirror.builders/modules/compliments.html#configuration-options
-
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.
-
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.