MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. NickRick
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Groups 0

    Posts

    Recent Best Controversial
    • MMM-GoogleAssistant with MMM-Selfieshot

      Hi,

      I really like GoogleAssistant and now I want to use via voice control to activate MMM-Selfieshot to create a selfie, so I have to put " this.sendNotification(“SELFIE_SHOOT”) " somewhere in the GoogleAssistent to activate Selfieshot.
      This is from documentation of MMM-Selfieshot:

      by notification SELFIE_SHOOT
      Your other module can make an order to take a picture (Button, Voice Commander, Sensors,…)
      this.sendNotification(“SELFIE_SHOOT”)
      //or
      this.sendNotification(“SELFIE_SHOOT”, {
      option: {
      shootCountdown: 1,
      displayResult: false,
      playShutter: false,
      displayCountdown: false,
      // only these 4 properties are available.
      }
      })
      //or
      this.sendNotification(“SELFIE_SHOOT”, {
      option: { … },
      callback: (result) => {
      console.log(result) // It will have result.path and result.uri
      this.doSomething(result)
      }
      })
      SELFIE_EMPTY_STORE : You can remove all photos in store directory.
      SELFIE_LAST : You can display last photo taken on screen.

      Can someone tell me where I can put this code in GoogleAssistant and than I can via voice call start selfie?

      Thank you

      posted in Troubleshooting
      NickRickN
      NickRick
    • 1 / 1