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 Alerts

    Scheduled Pinned Locked Moved Troubleshooting
    5 Posts 2 Posters 573 Views 2 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

      Would it be at all possible to use the alerts module to say like “Hello Sue” or something of the sort when a face is recognized and the profile is switched? If so how would one go about that?

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

        @stardyze the alert module would have to be configured for that user, and then the reco code would have to send a notification for alert

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil what would the code for the reco notification look like? Sorry I’m new.

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @Stardyze
            last edited by

            @stardyze look at the alert module doc. notifications are all the same process

            this.sendNotification(type, data)

            where type is a string w the identifier for this event
            and data is whatever needs to go along with this type (sometimes it’s nothing, or null)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @stardyze see https://docs.magicmirror.builders/modules/alert.html#configuration-options

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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