Read the statement by Michael Teeuw here.
MMM-AssistantMk2 terminating and not activating by voice after that.
-
@blee1997 - It would not acknowledge or activate when I say “smart mirror”, “hey google” or anything. I am not even sure how to set that actual activating word/s. I assumed the default was “smart mirror”. But if I click the icon with the mouse it will listen to anything and interpret anything I say including the above mentioned words.
@Sean - Looking through the config.js it doesn’t appear to have position, so I will give that a go also.
Thanks for replying and I will keep at it and will reply once I have a solution.
Regards,
BJ Duncan -
So I’m almost there now. I realised that I had the incorrect data within my config.js file as I used the configuration for v1 rather than v2. I also added the same position as the MMM-AssistantMk2 with the config.js (thanks to @Sean for that ;-) )
My only issue now is that it still seems to terminate before completing the return request.
E.g.
Me: “Smart Mirror, what is the time?”
(OSD: “what is the time?”)
AssistantMk2: “The time is 8” - terminates
(OSD: returns back to original icon immediately after termination.)
– no ererors appear when I run this in dev mode –This occurs after each attempt regardless of the actual question. Could there possibly be a conflict with another module? Has anyone else come across this issue?
Regards,
BJ Duncan -
@BJ-Duncan thats funny… it used to chop off the beginning of the reply… !
-
@sdetweil Is there some setting I need to adjust to allow it to complete the request? Have I inadvertently changed a default setting somewhere?
-
So I have been testing random things and I have noticed that if I ask it to tell me a joke, it actually completes that request. If I ask it for any type of information (eg. weather, time, who invented the telephone etc) that’s when it cuts off.
Could it be something to do with sending a request online?
-
@BJ-Duncan no… he reworked the audio in V2 to behave better… but apparently hasn’t got it all working perfect yet…
I noticed before similar for you… long answers worked, short were clipped
-
This is a known issue and it is tracked in https://github.com/eouia/MMM-AssistantMk2/issues/161#issuecomment-496287957
You can try the various solutions proposed by the developer of the module. I have the same issue and I am waiting for a fix as well.
-
Today, I’ve reported from one of users, he says old mpg321 could clip the last part of response. try to update it or reinstall or, at least try other play program.
-
Thanks @Ivanov_d I found that link the other day and did try those solutions. They didn’t work for me.
However, I will try @Sean’s suggestion and will post back on the forum if it worked or not.
Thanks to everyone for your assistance. Very much appreciated.
Regards,
BJ Duncan -
@Sean said in MMM-AssistantMk2 terminating and not activating by voice after that.:
mpg321
Woo-Hoo! - Thank you so much @Sean - That worked for me. I just reinstalled (or maybe just installed) mpg321 and it is completing the whole sentence without any cutoff. #veryHapppy :-)
The code I used was:
sudo apt-get -y install mpg321
Thanks to all that contributed to this post and I hope it helps others out just as it helped me.
Regards,
BJ Duncan