MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. NickRick
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by NickRick

    • NickRick

      MMM-GoogleAssistant with MMM-Selfieshot
      Troubleshooting • • NickRick

      1
      1
      Votes
      1
      Posts
      102
      Views

      NickRick

      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

    • NickRick

      MMM-GoogleAssistant images in result missing
      Troubleshooting • • NickRick

      2
      0
      Votes
      2
      Posts
      129
      Views

      NickRick

      @NickRick After restart several times now works fine… so it is done

    • 1 / 1