Read the statement by Michael Teeuw here.
voice activated module
-
This post is deleted! -
@ray what do you mean by turn on?
does MMM-Mp3Player accept notifications?
MMM-GoogleAssistant by bugsounet could allow you to start play.
mmm-voice can hide or show.modules
mmm-awesome-alexa can’t do much -
MMM-Detector may be able to do what you’re after other wise Google MMM-AssistantV3?
-
@djboob66 detector only does the hotword.
-
Thanks guys for answering my post.
MMM-MP3Player is supposed to accept notifications so I tried to put it in
mmm-detector and I couldn’t get it to work
I actually have MMM-GoogleAssistant by bugsounet and I like it a lot . But again, I couldn’t figure out how to get it to work either
so that’s why I’m asking for advice. Maybe it’s the MMM-Mp3Player I’m trying to useWhat I’m trying to do is have a voice activated mirror where I can say play my music. Or what’s the weather or check my email That’s what I’m trying to do
-
@ray said in voice activated module:
I actually have MMM-GoogleAssistant by bugsounet and I like it a lot . But again, I couldn’t figure out how to get it to work either
u need to create a recipe in GA to send the notification of the voice command
see an example of recipe here…this one executes a command, there is a different version for sending notifications…
see the doc on his wiki -
That’s really intriguing. But unfortunately I’m unfamiliar on how this actually works. I actually got a hold of bugsounet and told him what I was trying to do. He said he would write it up for me. That way I can see how it’s supposed to be done,
-
@ray yeh, looks like he made them more capable and more difficult…
it used to be
recipe_name:{ transcription_hook:{ what word u will say :{ // link to action to take command: name } } // named actions command_name: { // what to do sendNotification(key, value) } }
-
Yeah once he sets it up. I’ll have a better understanding how it works
-
@ray look at the MMM-MplayerRadio.js in the GA recipes folder…
comments are minetranscriptionHooks: { // things you say "RADIO_PLAY": { // some label pattern: "RADIO PLAY", // the voice sound command: "RADIO_PLAY" // the command later in this file }, }, commands: { // things your recipe does "RADIO_PLAY": { // command label, used above in 'command:'.... notificationExec: { // what kind of thing to do , here send notification notification: "RADIO_PLAY" // notification key to send }, soundExec: { // can also make sound chime: "open" // what file contains sound } } }
and from selphieshot recipe
"SELFIE_SHOOT": { notificationExec: { notification: "SELFIE_SHOOT", payload: (params) => { // how to pass parms on the notification, aka payload return { shootCountdown: 5, displayResult: true, playShutter: true, displayCountdown: true, } } }, }
i don’t think u need the function and return here, UNLESS there were additional words u said as part of the voice command that might change the payload