• 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 assistant mk2

Scheduled Pinned Locked Moved Troubleshooting
112 Posts 12 Posters 28.1k Views 11 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.
  • D Offline
    dvbit @dvbit
    last edited by dvbit Jun 1, 2020, 1:28 PM Jun 1, 2020, 1:24 PM

    @dvbit said in mmm assistant mk2:

    Update: I reinstalled from scratch (again for a2d I had to do a npm rebuild, you may want to take note)

    Still the same issue of assistant hanging after query:
    I do the query, hotword recognized, query recognized, answer fetched, answer saved in temp and displayed on screen bottom but no audio feedback and gogle spin icon going.
    After refreshing the screen goes again in “steady state”

    Now I am sure I have a sound output issue.
    Meaning that I can play sounds on the mirror via vlc but somehow the plugin cannot.
    I guess that somehow the plugin does not receive a feedback of “play ended” from the output.
    What I also noticed is that if I refresh the browser by vnc the mirror will go again in a waiting status.
    Will continue checking

    could it be this: https://github.com/raspberrypi/firmware/issues/1243

    Edit: Nope - vlc outputs sound

    IMPORTANT:
    The Install script for the audio output was succesfull just the first time.
    on second install I skipped the output part as I could not get through indeed.
    However the input was working just fine. recorded my voice and could hear it.

    Posting here my asoundrc file

    pcm.!default {
      type asym
      playback.pcm {
        type plug
        slave.pcm "output"
      }
      capture.pcm {
        type plug
        slave.pcm "input"
      }
    }
    
    pcm.output {
      type hw
      card 0
    }
    
    ctl.!default {
      type hw
      card 0
    
    

    Input is : kinect microphones
    Output : TV speakers (directly through TV speakers)

    1 Reply Last reply Reply Quote 0
    • S Away
      sdetweil @Guest
      last edited by Jun 1, 2020, 1:26 PM

      @Bugsounet it also has sandbox…

      we just moved up to V6 from V3 on 2.10, some things newer don’t work on pi…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @Guest
        last edited by Jun 1, 2020, 1:26 PM

        @Bugsounet said in mmm assistant mk2:

        pi@Raspberry:~/MagicMirror/node_modules/electron/dist $ ls -la
        total 107516
        drwxr-xr-x 4 pi   pi     4096 mai   20 15:23 .
        drwxr-xr-x 3 pi   pi     4096 juin   1 13:37 ..
        -rw-r--r-- 1 pi   pi   145945 mai   20 15:23 chrome_100_percent.pak
        -rw-r--r-- 1 pi   pi   209147 mai   20 15:23 chrome_200_percent.pak
        -rwsr-xr-x 1 root pi  4204060 mai   20 15:23 chrome-sandbox
        
        

        @dvbit: can you give me your result please ?

        D 1 Reply Last reply Jun 1, 2020, 1:30 PM Reply Quote 0
        • D Offline
          dvbit @Guest
          last edited by dvbit Jun 1, 2020, 1:32 PM Jun 1, 2020, 1:30 PM

          @Bugsounet said in mmm assistant mk2:

          ~/MagicMirror/node_modules/electron/dist $ ls -la

          pi@MagicMirror:~/MagicMirror $ ~/MagicMirror/node_modules/electron/dist $ ls -la
          bash: /home/pi/MagicMirror/node_modules/electron/dist: Is a directory
          pi@MagicMirror:~/MagicMirror $ cd ~/MagicMirror/node_modules/electron/dist 
          pi@MagicMirror:~/MagicMirror/node_modules/electron/dist $ ls -la
          total 107496
          drwxr-xr-x 4 pi pi     4096 May 30 12:38 .
          drwxr-xr-x 4 pi pi     4096 May 30 12:38 ..
          -rw-r--r-- 1 pi pi   145945 May 30 12:38 chrome_100_percent.pak
          -rw-r--r-- 1 pi pi   209147 May 30 12:38 chrome_200_percent.pak
          -rwxr-xr-x 1 pi pi  4202140 May 30 12:38 chrome-sandbox
          -rwxr-xr-x 1 pi pi 74664904 May 30 12:38 electron
          -rw-r--r-- 1 pi pi 10410272 May 30 12:38 icudtl.dat
          -rwxr-xr-x 1 pi pi   157372 May 30 12:38 libEGL.so
          -rwxr-xr-x 1 pi pi  1949660 May 30 12:38 libffmpeg.so
          -rwxr-xr-x 1 pi pi  4883208 May 30 12:38 libGLESv2.so
          -rw-r--r-- 1 pi pi     1060 May 30 12:38 LICENSE
          -rw-r--r-- 1 pi pi  3961766 May 30 12:38 LICENSES.chromium.html
          drwxr-xr-x 2 pi pi     4096 May 30 12:38 locales
          -rw-r--r-- 1 pi pi    83237 May 30 12:38 natives_blob.bin
          drwxr-xr-x 2 pi pi     4096 May 30 12:38 resources
          -rw-r--r-- 1 pi pi  8471329 May 30 12:38 resources.pak
          -rw-r--r-- 1 pi pi   275792 May 30 12:38 snapshot_blob.bin
          -rw-r--r-- 1 pi pi   608820 May 30 12:38 v8_context_snapshot.bin
          -rw-r--r-- 1 pi pi        5 May 30 12:38 version
          
          

          Please look also post above: I realize my asoundrc file may be screwed since I did not complete on second install the sound output wizard successfully

          S 1 Reply Last reply Jun 1, 2020, 1:31 PM Reply Quote 0
          • S Away
            sdetweil @dvbit
            last edited by sdetweil Jun 1, 2020, 1:41 PM Jun 1, 2020, 1:31 PM

            @dvbit run

            bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixsandbox)"
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            D 1 Reply Last reply Jun 1, 2020, 1:33 PM Reply Quote 0
            • ? Offline
              A Former User
              last edited by A Former User Jun 1, 2020, 1:33 PM Jun 1, 2020, 1:32 PM

              sam : you have right

              permission is not set

              After 6 month … maybe it will be solved !

              S 1 Reply Last reply Jun 1, 2020, 1:33 PM Reply Quote 0
              • D Offline
                dvbit @sdetweil
                last edited by dvbit Jun 1, 2020, 1:35 PM Jun 1, 2020, 1:33 PM

                @sdetweil
                done
                here the output

                pi@MagicMirror:~/MagicMirror/node_modules/electron/dist $ bash -c $(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixsandbox)
                pi@MagicMirror:~/MagicMirror/node_modules/electron/dist $ ls -la
                total 107496
                drwxr-xr-x 4 pi pi     4096 May 30 12:38 .
                drwxr-xr-x 4 pi pi     4096 May 30 12:38 ..
                -rw-r--r-- 1 pi pi   145945 May 30 12:38 chrome_100_percent.pak
                -rw-r--r-- 1 pi pi   209147 May 30 12:38 chrome_200_percent.pak
                -rwxr-xr-x 1 pi pi  4202140 May 30 12:38 chrome-sandbox
                -rwxr-xr-x 1 pi pi 74664904 May 30 12:38 electron
                -rw-r--r-- 1 pi pi 10410272 May 30 12:38 icudtl.dat
                -rwxr-xr-x 1 pi pi   157372 May 30 12:38 libEGL.so
                -rwxr-xr-x 1 pi pi  1949660 May 30 12:38 libffmpeg.so
                -rwxr-xr-x 1 pi pi  4883208 May 30 12:38 libGLESv2.so
                -rw-r--r-- 1 pi pi     1060 May 30 12:38 LICENSE
                -rw-r--r-- 1 pi pi  3961766 May 30 12:38 LICENSES.chromium.html
                drwxr-xr-x 2 pi pi     4096 May 30 12:38 locales
                -rw-r--r-- 1 pi pi    83237 May 30 12:38 natives_blob.bin
                drwxr-xr-x 2 pi pi     4096 May 30 12:38 resources
                -rw-r--r-- 1 pi pi  8471329 May 30 12:38 resources.pak
                -rw-r--r-- 1 pi pi   275792 May 30 12:38 snapshot_blob.bin
                -rw-r--r-- 1 pi pi   608820 May 30 12:38 v8_context_snapshot.bin
                -rw-r--r-- 1 pi pi        5 May 30 12:38 version
                
                

                I mean I did run the bash
                No output. here is the detail listing of the folder.
                I do not see any timestamps changed…

                S 2 Replies Last reply Jun 1, 2020, 1:35 PM Reply Quote 0
                • S Away
                  sdetweil @Guest
                  last edited by Jun 1, 2020, 1:33 PM

                  @Bugsounet don’t count on it!!

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by Jun 1, 2020, 1:34 PM

                    not fixed

                    1 Reply Last reply Reply Quote 0
                    • S Away
                      sdetweil @dvbit
                      last edited by Jun 1, 2020, 1:35 PM

                      @dvbit have to do from the MagicMirror folder… sorry, will fix for future

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      D 1 Reply Last reply Jun 1, 2020, 1:37 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 11
                      • 12
                      • 6 / 12
                      6 / 12
                      • First post
                        59/112
                        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