• 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-GoogleAssistant with MMM-Selfieshot

Scheduled Pinned Locked Moved Troubleshooting
1 Posts 1 Posters 205 Views 1 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.
  • N Offline
    NickRick
    last edited by Jan 28, 2021, 1:37 PM

    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

    1 Reply Last reply Reply Quote 2
    • 1 / 1
    1 / 1
    • First post
      1/1
      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