Read the statement by Michael Teeuw here.
MMM-AssistentMk2 without function
-
Hello,
I have installed the above mentioned module and it runs so far on my Magic Mirror. Only when I click the button from the module is a short “Pling” and nothing else happens when I speak into the microphone. Here is the log:pi@raspberrypi3:~/MagicMirror $ npm start > magicmirror@2.5.0 start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.5.0 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: MMM-AssistantMk2 Initializing new module helper ... Module helper loaded: MMM-Hotword Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. Initializing new module helper ... Module helper loaded: calendar No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... Module helper loaded: MMM-DWD-WarnWeather Initializing new module helper ... Module helper loaded: MMM-Admin-Interface Initializing new module helper ... Module helper loaded: newsfeed All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: MMM-AssistantMk2 MMM-AssistantMk2 started Connecting socket for: MMM-Hotword MMM-Hotword started Connecting socket for: updatenotification Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: MMM-DWD-WarnWeather MMM-DWD-WarnWeather helper started... Connecting socket for: MMM-Admin-Interface Starting node helper for: MMM-Admin-Interface Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ... Whoops! There was an uncaught exception... { Error: listen EADDRINUSE 127.0.0.1:8080 at Object._errnoException (util.js:1024:11) at _exceptionWithHostPort (util.js:1046:20) at Server.setupListenHandle [as _listen2] (net.js:1351:14) at listenInCluster (net.js:1392:12) at GetAddrInfoReqWrap.doListen [as callback] (net.js:1501:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:10) code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen', address: '127.0.0.1', port: 8080 } MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues Launching application.someone an idea what it could be
Grettings Seppel
-
Hi Does your RaspiP have internet?
127.0.0.1 is no interface / IP. -
@seppel1078
You were running 2 instances of MM at once. I think you didn’t stop MM and execute it again.
Usually in that case, you might have missedpm2 stop mm. -
you are right sean. after I stopped Magic Mirror and restarted the error message does not come anymore. I have a new one for that now ;-).
look here:
pi@raspberrypi3:~/MagicMirror $ npm start > magicmirror@2.5.0 start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.5.0 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: MMM-AssistantMk2 Initializing new module helper ... Module helper loaded: MMM-Hotword Initializing new module helper ... Module helper loaded: calendar No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... Module helper loaded: MMM-DWD-WarnWeather Initializing new module helper ... Module helper loaded: MMM-Admin-Interface Initializing new module helper ... Module helper loaded: newsfeed All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: MMM-AssistantMk2 MMM-AssistantMk2 started Connecting socket for: MMM-Hotword MMM-Hotword started Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: MMM-DWD-WarnWeather MMM-DWD-WarnWeather helper started... Connecting socket for: MMM-Admin-Interface Starting node helper for: MMM-Admin-Interface Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ... Launching application. [HOTWORD] begins listening. Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/sf9vk8is4t40pufpociepqmlt8%40group.calendar.google.com/public/basic.ics - Interval: 300000 Create new news fetcher for url: http://www.tagesschau.de/xml/rss2 - Interval: 300000 assistant ready Conversation Error: { Error: 14 UNAVAILABLE: Service unavailable. at Object.exports.createStatusError (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/common.js:87:15) at ClientDuplexStream._emitStatusIfDone (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client.js:235:26) at ClientDuplexStream._receiveStatus (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client.js:213:8) at Object.onReceiveStatus (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1290:15) at InterceptingListener._callNext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:564:42) at InterceptingListener.onReceiveStatus (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:614:8) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1110:18 code: 14, metadata: Metadata { _internal_repr: {} }, details: 'Service unavailable.' }I use a USB Microphone. Something does not seem to simulate that. I used the standart config
Greeting Seppel
-
it works now. I changed that in the config under “record”
Old:
device : null // recording device (e.g.: "plughw:1")New:
device : "plughw:1" // recording device (e.g.: "plughw:1")
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