Read the statement by Michael Teeuw here.
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login