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-AssistantMk2

    Scheduled Pinned Locked Moved System
    421 Posts 61 Posters 630.7k Views 57 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.
    • ? Offline
      A Former User @MisterT
      last edited by

      @MisterT
      first, try to install without gcc7. usually gcc8 on buster was a reason of problem, so gcc6 on stretch might be ok(not tested currently but it worked a year ago)

      1 Reply Last reply Reply Quote 0
      • M Offline
        MisterT
        last edited by

        hi @Sean thanks for your reply. So retry auto installation with gc6 and rebuild electron. Then finish the config with my audio and mic. Great
        After these, i download my credentials then make my default profile.
        So everithing seem to bo good. that’t why i start MM and:
        MK2v3 logo is on my Magic mirror with animation but when i say a simple sentence, nothing happen.
        I changed hotword word to Jarvis and html5 to mpg321 but it’s the same thing.

        See below my config js for hotword and MK2

        			{
        	module: "MMM-Hotword",
        	position: "top_left",
        	config: {
        	useDisplay: false,
        	chimeOnFinish: null,
        	recipes: ["with-AMk2v3_Jarvis.js"],
        	mic: {
        		recordProgram: "arecord",
        		device: "plughw:1",
                    },
        				  },
        	},
        		{
          	module: "MMM-AssistantMk2",
          	position: "top_right",
          	config: {
        	debug: true,
        	 ui: "Classic",
        	assistantConfig: {
        	latitude: 43.64074, // -90.0 - +90.0
        	longitude: 5.09545, // -180.0 - +180.0
        					  },
        	responseConfig: {
        	useHTML5: false, // sound render by HTML5
        	playProgram: "mpg321",
        				},
        	micConfig: {
        	recorder: "arecord",
        	device: "plughw:1",
        				   },
        	recipes: [
        	"with-MMM-Hotword.js"
        				   ],
        	profiles: {
        	"default": {
        		profileFile: "default.json",
        			lang: "fr-FR"
        				 }
        
        				  },
        			},
        		},
        

        have you an idea ?

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

          @MisterT
          Need a log to know what happens.

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MisterT @Guest
            last edited by MisterT

            @Sean after uninstall, re install, rebuilt electron from MK2 and from Hotword, it was always the same.
            So i decided to start a simple config.js with only default modules and Mk2 and hotword. Finaly…Tada !!! it works.

            The guilty module is MMM-GooglemapsTraffic. So I hid it in my config.js

            I have no console log about Mk2 if MMM-GooglemapsTraffic is on.

            Have you an idea?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @MisterT
              last edited by sdetweil

              @MisterT said in MMM-AssistantMk2:

              MMM-GooglemapsTraffic

              yes, it has a bug, download the fixed version from my repo (the author has not updated from my changes, last updated 2 years ago)

              rename the existing module folder out of the way

              cd ~/MagicMirror/modules
              mv MMM-GooglemapsTraffic MMM-GooglemapsTraffic.original
              git clone https://github.com/sdetweil/MMM-GoogleMapsTraffic.git
              cd MMM-GooglemapsTraffic
              npm install
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MisterT @sdetweil
                last edited by

                @sdetweil ok i installed MMM-GoogleMapsTraffic from your repo and i launched my MM. The result is :

                • MMM-MK2 works very well
                • MMM-GoogleMapsTraffic not works. I haven’t maps on the screen

                When i installed from your repo i had some “warn” message.See below

                npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
                npm notice created a lockfile as package-lock.json. You should commit this file.
                npm WARN grunt-stylelint@0.14.0 requires a peer of stylelint@^13.2.0 but none is installed. You must install peer dependencies yourself.
                npm WARN stylelint-config-standard@20.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself.
                npm WARN stylelint-config-recommended@3.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself.
                npm WARN MMM-GoogleMapsTraffic@1.0.0 No repository field.
                

                is it possible that these “warn” are the problem ?

                My config if need:

                         {
                module: 'MMM-GoogleMapsTraffic',
                         position: 'bottom_left',
                           config: {
                              key: 'xxxxxxxxx',
                               lat: 4x.470485,
                                lng: x.231369,
                                height: '300px',
                                width: '300px',
                		zoom: 14,
                                styledMapType: "transparent",
                                disableDefaultUI: true,
                                backgroundColor: 'hsla(0, 0%, 0%, 0)',
                                	markers: [
                                    			{
                                        lat: 4x.470485,
                                        lng: x.231369,
                                        fillColor: '#9966ff'
                                    		},
                                	],
                            	},
                        	},
                
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @MisterT
                  last edited by sdetweil

                  @MisterT if you use the sample config with your apikey does it work? (my api key below)

                  if you look at the console log, do you see any errors reported
                  pm2 logs, if you use pm2 to start the mirror, else the terminal window where you do npm start

                  {
                              module: 'MMM-GoogleMapsTraffic',
                              position: 'top_left',
                              config: {
                                  key: 'AIzaSyCJyY3ijaw9X9xJis62XWsbz32PXIk8krI',     /// put your key here
                                  lat: 37.8262306,
                                  lng: -122.2920096,
                                  height: '300px',
                                  width: '300px'
                                  styledMapType: "transparent",
                                  disableDefaultUI: true,
                                  backgroundColor: 'hsla(0, 0%, 0%, 0)',
                                  markers: [
                                      {
                                          lat: 37.8262316,
                                          lng: -122.2920196,
                                          fillColor: '#9966ff'
                                      },
                                  ],
                              },
                          },
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MisterT
                    last edited by

                    @sdetweil everything is fine now :smiling_face_with_open_mouth_cold_sweat:

                    With a lot of tests and modification in my confis.js, i forgot to enable MMM-GoogleMapsTraffic in MMM-Pages module config file :dizzy_face:
                    So now it’s great

                    Thx for your support

                    See you next time

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      kondef
                      last edited by

                      @Sean thanks for your work in relationship with the google assisstant. I am quite new in all of these set ups and i am facing a problem now which i can’t by pass. I tried to Register-my-Mirror-as-Google-Assistant-related-device but when i insert the foolowing code :curl -s -X POST -H “Content-Type: application/json”
                      -H “Authorization: Bearer $ACCESSTOKEN” -d @deviceInstance.json
                      https://embeddedassistant.googleapis.com/v1alpha2/projects/YOUR_PROJECT_ID/devices/

                      i am getting the following error "bash: https://embeddedassistant.googleapis.com/v1alpha2/projects/(my_project_id)/devices/: No such file or directory
                      .

                      Do you have any idea how i can resolve that issue??
                      Thank you guys in advance

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

                        @kondef said in MMM-AssistantMk2:

                        curl -s -X POST -H “Content-Type: application/json”
                        -H “Authorization: Bearer $ACCESSTOKEN” -d @deviceInstance.json
                        https://embeddedassistant.googleapis.com/v1alpha2/projects/YOUR_PROJECT_ID/devices/

                        This should be done in one line. I think you probably break line before https://embeddedassistant....

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          airart
                          last edited by

                          where I find a different UI, maybe transparent, I saw bars and bubbles with a transparent background
                          thanks a lot and great job

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            banbutcher
                            last edited by

                            howdy,

                            ive seen a couple of people running assistantmk2 v2 and i liked the interface better than the v3 and i was wondering if its possible to install the v2 instead of v3. how would i go about downgrading to v2?

                            thanks

                            Richie

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              acimail01
                              last edited by

                              Can you trigger a sound output from a recipe while the Assistantmk2 is active?
                              For me sound output only works when the assistant is not active e.g. when I trigger sound output via web service (e.g. MMM-Sound or MMM-Text-To-Speech).
                              My use case is:
                              A recipe that listens to “mirror mirror on the wall” and then either plays an mp3 / wav or speak TTS

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                acimail01
                                last edited by

                                does anyone have any idea how to trigger sound output with the Assitantmk2?

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Mrtrol2013
                                  last edited by

                                  Does this module support Russian?

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    Egnos
                                    last edited by

                                    Hi guys!
                                    first I would like to thank @Sean for the fantastic job.
                                    MMM-AssistantMk2 works very well!

                                    Has anyone ever commanded the pages of the MMM-Page-Selector module?
                                    If yes, could you explain how to do it?

                                    Thank you very much.

                                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                    1 Reply 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
                                    • 18
                                    • 19
                                    • 20
                                    • 21
                                    • 22
                                    • 20 / 22
                                    • 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