Read the statement by Michael Teeuw here.
MMM-Facial-Recognition and MMM-Assistant don't seem to be working together
-
@dk7988
I cannot figure out some ISSblah things.Ok. Lets check somthings.
-
Have you tried
npm start dev
? It can tell you something wrong or not in frontend client side (You can also see termianl log for server side). Maybe some error might be found, or even any helpful messages. -
There is some possibility of ‘node-aplay’ was not installed properly. Remove it and reinstall by
npm install node-aplay
in your MMM-Assistant directory. -
inactivated ‘command mode’ could also have some dependency problem. I think you have already tried reinstalling whole module many times, but check it again.
-
-
@Sean
Aww… i see that sucks (talking about the ISS blah things)Yay! I have news! haha
Good first: I took it home turned it on and didn’t really change anything (except I added some more classes to some of the modules in the config file) and everything started working both fac.recon and the assistant (both snowboy and smart mirror were working).The Bad: right now i’m at the school trying the same thing that worked at home and fac.recon and half of the assistant is working (smart mirror still will not work, snowboy works fine) still getting the same error. I also tried running just the assistant and got the same thing.
After reading the error again “Check your iat and exp values and use a clock with skew to account for clock differences between systems.” is popping out to me. Do you know how i might be able to check my iat and exp values? actually what are “iat” and “exp” values? and do you know how i might be able to use a “clock with skew to account for clock differences between systems”?
1.) I ran
npm start dev
and the only thing i could see that was wrong was in the ‘console’ the last line it said[ASSTNT] Error: RECOGNIZESTREAM VM93 MMM-Assistant.js:412
am I looking in the right place? I tried researching to figure out how to find the terminal log but i had no luck. Do you have any ideas how i can find it?2.) I tried running
npm install node-aplay
in the assistant folder and got this
MMM-TelegramBot@1.0.0 /home/pi/MagicMirror/modules/MMM-Assistant
└── node-aplay@1.0.3npm WARN MMM-TelegramBot@1.0.0 No repository field.
npm WARN MMM-TelegramBot@1.0.0 No license field.I wasn’t sure what the WARN was trying to tell me (I assumed it wasn’t good) so i also ran
sudo npm install node-aplay
and got the same thing. Either way ding and dong still don’t play.3.) I think some how it’s the schools internet cause last night and Thursday night everything (including the clock) worked perfectly at home. Now the clock is back to being 12+ hours off and smart mirror won’t work. Any thoughts on the clock and smart mirror problem being related?
Thanks again for all your help!
-
-
Well, your system clock could cause that kind of error, because api might carry the time information for auth between two systems.
But I’m not so expert to declare it. :) but at least, auth token is related with time for expiry of life.All I can suggest is fixing your clock first. Maybe it might not be a real reason, but you could take one more thing works fine.
May the luck with you.
-
@Sean
haha thanks! I tried it first thing when i got home from school last night and everything worked perfectly, the clock was spot on! I’m going to call the fix to my problem being the school’s internet. At my school they have something on all the computers that freezes everything on the back to a specific time so i’m thinking that functionally maybe part of my problem… I don’t know but it works at home and that’s mostly what I care about. When I turn in the project I’ll just put in my write up that the school’s internet is messing with the security portion of the smart mirror and hope my teacher doesn’t ding me to much :/