• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-AssistentMk2 without function

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 3 Posters 1.2k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    seppel1078
    last edited by Oct 16, 2018, 6:34 PM

    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

    ? 1 Reply Last reply Oct 17, 2018, 6:44 AM Reply Quote 0
    • K Offline
      KingEagle
      last edited by Oct 17, 2018, 6:29 AM

      Hi Does your RaspiP have internet?
      127.0.0.1 is no interface / IP.

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @seppel1078
        last edited by A Former User Oct 17, 2018, 6:45 AM Oct 17, 2018, 6:44 AM

        @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 missed pm2 stop mm.

        1 Reply Last reply Reply Quote 0
        • S Offline
          seppel1078
          last edited by seppel1078 Oct 17, 2018, 10:12 AM Oct 17, 2018, 10:04 AM

          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

          1 Reply Last reply Reply Quote 0
          • S Offline
            seppel1078
            last edited by seppel1078 Oct 17, 2018, 10:46 AM Oct 17, 2018, 10:27 AM

            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")
            
            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy