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 55.5k 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.
    • S Do not disturb
      sdetweil @dvbit
      last edited by

      @dvbit do

      ps -ef | grep aplay
      

      and see if its still running…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dvbit @sdetweil
        last edited by

        @sdetweil nope I just grep my grep :-D

        1 Reply Last reply Reply Quote 0
        • R Offline
          reddyman
          last edited by reddyman

          Hmmm sorry to go a bit off topic but has anyone tried the new Assistant2Display module with the new GoogleAssistant? I can’t get it to work but I suspect I am missing something very obvious. I just don’t know what.

          I can’t get the screen, briefToday, or Pir to work. I don’t get any errors, just nothing happens.

          Config file:

          {
            module: "MMM-GoogleAssistant",
            position: "fullscreen_above",
            config: {
             A2DServer: {
                useA2D: true,
                }, 
              assistantConfig: {
                //latitude: 51.508530,
                //longitude: -0.076132,
                },
              micConfig: { // put there configuration generated by auto-installer
                recorder: "arecord",
                device: "plughw:2",
                },
              snowboy: {
                Model: "smart_mirror", 	
          	},
              }
          },
          {
            module: "MMM-Assistant2Display",
            position: "top_left",
            config: {
              debug:true,
            },
            pir: {
                usePir: true,
                pin: 4,
                reverseValue: false
            },
            screen: {
            useScreen: true,
            delay: 1 * 60 * 1000,
            turnOffDisplay: true,
            ecoMode: true,
            displayCounter: true,
            text: "Auto Turn Off Screen:",
            detectorSleeping: false,
            governorSleeping: false,
            rpi4: false
          },
          
          briefToday: {
                useBriefToday: true,
                welcome: "brief Today"
              },
          
          },
          
          

          I don’t see the debug working either? Nothing generated on the terminal while the mirror is running at least.

          [2020-06-01 16:51:49.870] [LOG]    [ASSISTANT] MMM-GoogleAssistant Version: 2.0.0
          [2020-06-01 16:51:49.885] [LOG]    [SNOWBOY] Model selected: smart_mirror
          [2020-06-01 16:51:49.893] [LOG]    [SNOWBOY] snowboy v1.5.0 Initialized...
          [2020-06-01 16:51:49.902] [LOG]    [ASSISTANT] Assistant2Display Server Started
          [2020-06-01 16:51:49.908] [LOG]    [ASSISTANT] Google Assistant is initialized.
          [2020-06-01 16:51:49.916] [LOG]    [A2D] MMM-Assistant2Display Version: 2.0.0
          [2020-06-01 16:51:49.928] [LOG]    [A2D] Assistant2Display is initialized.
          
          

          Anyone see what I’m missing? I suspect it’s something super simple but I can’t figure out what.

          1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil
            last edited by

            well, I though i’d give it a try… see what all the fuss is about!

            1. on the install y/n prompts, the protocol is the Uppercased letter is the default, so whn you hit enter is does the default
              it doesn’t do anything, have to enter Y or N (and then it takes off without waiting??)
            2. audio doesn’t work for me…
              and none of the choices match the system config (and none of them work)
              system config, sounds fine, music, web sounds, system sounds.
              Screenshot at 2020-06-01 16-54-20.png

            aplay -l info
            Screenshot at 2020-06-01 16-54-32.png

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • D Offline
              dvbit
              last edited by

              A big thank You to @Bugsounet for his help in troubleshooting.
              It was nothing to do with the modules but with my asoundrc config.
              the ouput card/device were not correct.
              Thanks again!

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by

                @dvbit: no problem ! with pleasure ;)

                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User
                  last edited by A Former User

                  @reddyman : turn on modules. just YouTube by default is turn on
                  link / photo is disabled by default

                   config: {
                      debug:true,
                      // make you config there !
                    },
                   // not there
                  ....
                  
                  R 1 Reply Last reply Reply Quote 1
                  • R Offline
                    reddyman @Guest
                    last edited by reddyman

                    @Bugsounet said in mmm assistant mk2:

                     config: {
                        debug:true,
                        // make you config there !
                      },
                     // not there
                    ....
                    

                    …I am an idiot. Hahaha, I knew it was something super simple. Smh, thanks for putting up with idiots like me :p

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by

                      @reddyman : don’t worry, it’s arrive to me too sometime !

                      1 Reply Last reply Reply Quote 1
                      • J Offline
                        James Farmer
                        last edited by

                        First, I say thanks to @Bugsounet , I only started my mirror a few weeks and have had Assistant working. Upgraded to GoogleAssistant and it is much quicker.

                        Unfortunately I have a few problems with it now, one is sound, but im 99.99% sure because i have sound config wrong. Nothing to do with module. !
                        The only other issue i have is i use pages and when googleAssisatnt comes on screen part of it is still hidden by the modules on screen.
                        Just wondering if anyone have this problem. ?
                        Ive set it to fullscreen_above in GoogleAssistant so thought this wouldnt be a problem. it worked ok with AssistantMK.

                        Thankyou

                        1 Reply Last reply Reply Quote 0
                        • ? Offline
                          A Former User
                          last edited by

                          hi,

                          1. what the problem ?

                          2. for pages:
                            I don’t know what this developer means …
                            edit pages.css
                            change it to:

                          .fullscreen.above {
                              z-index: 9999
                           }
                          

                          page should now works correctly

                          J 1 Reply Last reply Reply Quote 1
                          • J Offline
                            James Farmer @Guest
                            last edited by

                            @Bugsounet Thanks that has fixed it, I need to have another go at learning css to try and sort out all the positions.

                            Ill get back to trying to sort out sound.

                            Thanks again

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              JohnBachini
                              last edited by JohnBachini

                              @Bugsounet

                              HI, Amazing work with GoogleAssist, it seems to be more responsive and accurate than AssistantMK2.

                              Have an issue with the display of the googleAssistant banner. My Mirror is full screen, ie in custom.css i have :-

                               body {
                                   margin: 0px;
                                   position: absolute;
                                   height: 100%;
                                   width: 100%;
                              }
                              

                              Which i hope is correct, im struggling with css side of things !! :-)
                              But when the banner appears i have this issue,

                              GoogleAssistant.png
                              As top of banner is missing and width

                              I looked at GoogleAssistant.css, but couldnt work out what needs to change.

                              1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User
                                last edited by A Former User

                                @JohnBachini :

                                {	
                                  module: "MMM-GoogleAssistant",
                                  position: "fullscreen_above",
                                  config: {
                                    ...
                                  }
                                },
                                

                                don’t work with this position ?

                                Edit : Ah yes don’t work

                                J 1 Reply Last reply Reply Quote 0
                                • J Offline
                                  JohnBachini @Guest
                                  last edited by

                                  @Bugsounet

                                  Yes i have it set to fullscreen_above, i confirmed it works fine if i remove the css code i posted above

                                  1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User
                                    last edited by A Former User

                                    @JohnBachini: I don’t find too :face_with_tears_of_joy: :face_with_tears_of_joy: :face_screaming_in_fear:

                                    I got lost in my css code !!!

                                    J 1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      JohnBachini @Guest
                                      last edited by

                                      @Bugsounet :-) So custom.css overides main.css , so does GoogleAssistant.css overide all ?

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @JohnBachini
                                        last edited by sdetweil

                                        @JohnBachini main, then modules, then custom.css last

                                        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

                                          nop it not override all.

                                          Actually I’m working arround a new rending
                                          real time Transcription will be in next update in popup (like the response)
                                          and it will correct this problem ;)

                                          So wait a few days :)

                                          results:
                                          New animation (response screen)
                                          new animation (transcription)
                                          More reactive

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            JohnBachini @Guest
                                            last edited by

                                            @Bugsounet Great, Ill wait till then. Thanks

                                            ? 2 Replies Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 4 / 6
                                            • First post
                                              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