Playing music
-
I just send some samples for activating Alexa or GA
just apply your proper rules for other modules
Title of MMM-Detector is:
New multi-keyword listener for activate assistant or send any notifications to others modules
After you can add you own logo too (everything is ready for your request)
-
That’s pretty cool. I’m working on it so I’ll let you know how it goes.
I’m trying to find a reasonably good music player that I don’t have to subscribe to. I think I found one
just to let you know I have been trying to set up my mirror using voice activation. That’s why I like your detector and what you have done with Google assistant. Those two items are perfect for what I’m trying to do -
So I have been experimenting with your MMM-Detector to trying to get it to detect Google assistance by using another hot word, Jarvis works perfectly. I added porcupine to the list and change the model from hey Google to (play music) to see if I can get Google assistant TO start and it doesn’t work him I doing something wrong?
module: "MMM-Detector", position: "top_bar", configDeepMerge: true, config: { debug: false, detectors: [ { detector: "Snowboy", Model: "jarvis", Sensitivity: null, Logo: "google", autoRestart: false, onDetected: { notification: "GA_ACTIVATE" } }, { detector: "Porcupine", Model: "music", Sensitivity: null, Logo: "google", autoRestart: false, onDetected: { notification: "GA_ACTIVATE" } } ] } ``` }, If I can get past this then I can try and start the music player I am new at all this so I am at a learning stage here. I appreciate all your help. You've been very helpful. I've learned a lot from you
-
maybe i don’t understand
@ray said in Playing music:
It would be great to be able to use the detector to tell it to play my personal music that I have in a directory
So, I understand this:
- you have some music in a directory in your mirror
- you have a module to read music in this directory
So:
1st thing: read readme/wiki of this module and search what notification to send for playing music2nd thing: when you have find this notification just apply rules in MMM-Detector
.... { detector: "Porcupine", // or snowboy Model: "your wanted model", Sensitivity: null, Logo: "your own logo", autoRestart: true, // needed in this case onDetected: { notification: "NOTIFICATION_OF_MUSIC_MODULE", payload: { maybe: "of needed" } } } ...
Model: see model list on wiki, don’t invent any model … you have a list
Logo: create your own logo or use defined in main core
see this part for more informations -
Okay I thought I did read wiki carefully before posting this to you. So please bear with me. I’m new at all this and I’m trying to learn.
I see a couple things that you have changed that I was not aware of. One was autorestart from false to true.
and the added feature under notification payload. I’ll have to read more about that.
I think I pretty much understand the rest of itI was just trying to test my theory here before I moved onto my music module which is by changing the model: name from (ok google) TO (music)
without changing anything else. I thought it would also start Google assist Unfortunately that did not work. So I figured I was not doing something right so that’s why I message do youThe module I’m hoping to make work here is MMM-MP3Player
I will do some more reading on wiki
-
Sorry to bother you
I currently have MMM-MP3Player which I can set to automatic to play my music on start up of my mirror.
Is there a way that I can have the MMM-Detector activate MMM-MP3Player for me. I try to figure it out for myself and was unsuccessful. I have read wiki! And couldn’t find anything that could help me with this. So that’s why I’m asking the questionI would appreciate any help you can give me. In guiding me in the right direction
-
For this functionality, you can use a recipe with “onReady” plugins and notification commands
I’m on the phone. So I can’t write it actually, I will do it for you when possible
-
That would be fantastic. I would appreciate that
-
Sorry, @Ray, I don’t forget you !
I will offer this before the end of the week-end !
I have some personal problem to solve before -
No worries. I know you’re busy
-
-
After yes, when loaded, vocal ALL control works with GA
-
Okay well thank you for trying. I appreciate your effort.
So can you show me the procedures on what you did, so I can play with it and understand how it works -
finally, I will integrate an MP3 player in GA v3
just wait and see -
That would be fantastic. I will be waiting