Read the statement by Michael Teeuw here.
MMM-YouTube
-
@Sean
How do you make the module work? -
@juantata you need some other module to send it a command (notification)
see the doc -
@sdetweil
MMM-TelegramBot?If this is, I thought it was optional.
-
@juantata there are all kinds of modules that do all kinds of things… see movement, send a notification, see a swipe of a hand, send a notification, hear words, see button press, act on a phrase…
depends on what you want to do…
-
@sdetweil
All I want is to say
for example:
“Ok Google YouTube Charlie Puth Mother” and put the video of the singer -
@sdetweil
If that were not possible, could you tell me, if it is not a problem, the configuration of MMM-TelegramBot? -
@juantata said in MMM-YouTube:
MMM-TelegramBot
see the readme https://github.com/eouia/MMM-TelegramBot
there are three pieces to your desired result
something to hear ‘Ok Google’ (the hotword, as the mic is listening ALL the time, so only want it to trigger after a wakeup/hotword), just like real devices, MMM-Hotword
something to decode your voice and return words and maybe act, MMM-AssistantMk2 does this for google…
and something to play from youtube… which it looks like MMM-Youtube does…I use MMM-Hotword and MMM-AssistantMk2 to answer questions and put mirror to sleep/wake up.
i don’t play videos or music on the mirrorbut they have to be configured together, which appears not to be completely done…
-
@sdetweil
The keyword, MMM-AssistantMk2 and MMM-Hotword work great. I pass the start of MM
-
@juantata
So, What you need is just playing video by your voice, you don’t need MMM-Youtube. Youtube playing feature is already implemented in MMM-AssistantMk2. Remove MMM-Youtube. -
@Sean Great module! Had it working on first try in a Mac with TelegramBot, I’m using the “fullscreen_below” and looks awesome.
I just can’t get to play a playlist from TelegramBot, I was wondering if you could give me an example of the TelegramBot /yt or /yc parameters if this can be done.
Thank you in advanced,
Rafael -
@rafaelcota
What kind of parameter did you use? Show me your trial example. -
@Sean I’m typing something like this:
/yt https://www.youtube.com/playlist?list=PL55713C70BA91BD6E
no luck.
/yt playlist playlist PL55713C70BA91BD6E
no luck
/yt type:playlist listType:playlis id:PL55713C70BA91BD6E
no luck
Thank you for your help.
-
@rafaelcota
Sorry,/ytdoesn’t support playlist at this moment, but I’ll provide a fix soon. (in a few hours) -
@rafaelcota
updated. try again after update.
you can play playlist like this;/yl PL55713C70BA91BD6E -
@Sean Thank you very much
-
Hi @Sean,
I did the git pull and then try it, but I can’t seem to make it do anything, even the /yt commands that already were working.All I can see is this message in the console:
[TELBOT] [2019-11-04 12:26:04]Message is cominf from CHAT: NumberAnd nothing happens in the mirror screen, not with /yt or /yl. If I do a /yc getVolume it gives me the right number, so I get the module is loaded.
My config is:
{
disabled: false,
module: “MMM-YouTube”,
position: “fullscreen_below”,
config: {
verbose:true,
},
},Any ideas where I should look?
Thanks in advanced -
@rafaelcota
Well, with my test, there is no problem to execute at all.
If you see[TELBOT] [2019-11-04 12:26:04]Message is cominf from CHAT: Number, your telegram messages are received properly.
Check if you have a front-end error. (Withnpm start devorCtrl+i)
Or you can check by removing all other modules from config exceptMMM-YouTubeandMMM-TelegramBot. -
@Sean Thank you again,
Just as data, could be useful or not, I can play just some videos; with only TelegramBot and MMM-YouTube modules loaded or with all I got, it doesn’t matter:
PLAY OK
/yt https://youtu.be/5KJiO8W9iygDOESN’T PLAY (the mirror does nothing at all)
/yt https://youtu.be/y83x7MgzWOA
/yl PLDIoUOhQQPlXr63I_vwF9GD8sAKh77dWU -
@rafaelcota said in MMM-YouTube:
DOESN’T PLAY (the mirror does nothing at all)
/yt https://youtu.be/y83x7MgzWOA
/yl PLDIoUOhQQPlXr63I_vwF9GD8sAKh77dWUHmmm. with my test, it works well.
Withverbose:trueoption, indev-consoleyou can see what’s going on. Try and tell me what’s significantly suspicious?
-
@Sean The messages are now clear, “Not allowed By Owner”

I guess there’s nothing I can do but finding videos that are allowed to be played outside YouTube.
Thank’s again
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