• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-Face-Reco-DNN + ProfileSwitcher

Scheduled Pinned Locked Moved Troubleshooting
21 Posts 3 Posters 5.7k Views 3 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
    Stardyze
    last edited by Jul 6, 2021, 12:18 PM

    Has anyone had any luck trying to use the two modules together? I have tried editing the .js in the Face-Reco module to fit with the other one like said in the documentation of the ProfileSwitcher module but since it is a different module not all things line up.

    S 1 Reply Last reply Jul 6, 2021, 12:24 PM Reply Quote 0
    • S Offline
      sdetweil @Stardyze
      last edited by Jul 6, 2021, 12:24 PM

      @stardyze they are both doing the same thing, switching to different profiles… so that seems troublesome

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 2 Replies Last reply Jul 6, 2021, 12:28 PM Reply Quote 0
      • S Offline
        Stardyze @sdetweil
        last edited by Stardyze Jul 6, 2021, 12:37 PM Jul 6, 2021, 12:28 PM

        @sdetweil Sorry I’m new where in the Face-Reco can you set profiles instead of using MMM-ProfileSwitcher? Can you have different layouts for different people using just the MMM-Face-Reco-DNN module?

        S 1 Reply Last reply Jul 6, 2021, 12:42 PM Reply Quote 0
        • S Offline
          sdetweil @Stardyze
          last edited by sdetweil Jul 6, 2021, 12:45 PM Jul 6, 2021, 12:42 PM

          @stardyze yes, facereco uses the ‘classes’ field of the module to organize module display by ‘person’

          u set modules for me (sam) by adding a classname ‘sam’

          u can have multiple people share the same one, classes:‘sam bob sue’

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Jul 6, 2021, 12:47 PM Reply Quote 0
          • S Offline
            Stardyze @sdetweil
            last edited by Jul 6, 2021, 12:43 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S Offline
              Stardyze @sdetweil
              last edited by Jul 6, 2021, 12:47 PM

              @sdetweil I have all the modules selected with the class name I want for them do I set the class name in the config.js or MMM-Face-Reco-DNN.js?

              S 1 Reply Last reply Jul 6, 2021, 12:51 PM Reply Quote 0
              • S Offline
                sdetweil @Stardyze
                last edited by Jul 6, 2021, 12:51 PM

                @stardyze in config.js, on each module set the classes per person

                module: “clock:,
                classes:” fred sue",
                config: {
                }

                same for every module

                u have to set allowed users in facreco of course

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Jul 6, 2021, 12:56 PM Reply Quote 0
                • S Offline
                  Stardyze @sdetweil
                  last edited by Jul 6, 2021, 12:56 PM

                  @sdetweil Yeah I set all the classes for each module in the config.js but for so that it knows the allowed users is that in the MMM-Face-Reco-DNN.js? Like the first declaration of the classname.

                  S 1 Reply Last reply Jul 6, 2021, 1:04 PM Reply Quote 0
                  • S Offline
                    sdetweil @Stardyze
                    last edited by Jul 6, 2021, 1:04 PM

                    @stardyze there is no ‘actual’ class… Facereco just looks at the classes field to match against user names

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply Jul 6, 2021, 1:05 PM Reply Quote 0
                    • S Offline
                      Stardyze @sdetweil
                      last edited by Jul 6, 2021, 1:05 PM

                      @sdetweil So I can’t have specific classes or layouts for each person?

                      S 1 Reply Last reply Jul 6, 2021, 1:07 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        6/21
                        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