• 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.

Working Google-Assistant on Raspbian Buster and 4b

Scheduled Pinned Locked Moved General Discussion
19 Posts 4 Posters 2.8k 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.
  • M Offline
    MilkShake
    last edited by Mar 16, 2020, 1:27 PM

    Hi All,
    I have a Magic Mirror installation running on the new Rasp4b and Rasbian Buster. I tried getting MMM-AssistantMk2 and MMM-Hotword working using various documents on here, but could not get it to work, so I tried another route -> getting Google Assistant to work on the Raspberry. It works now.

    Is there any way from going from a working google assistant to implement it into the Magic Mirror and can anyone point me in the right direction?

    Best Regards and thanks!
    Milkshake

    1 Reply Last reply Reply Quote 0
    • C Offline
      Chris
      last edited by Mar 16, 2020, 4:28 PM

      Hello,

      I confirm that MMM-Assistantmk2 works well with raspberry 4 and buster because I run it on a pi 4 B 4GB ram.

      I followed the wiki of Eouia and Bugsounet available on the Next link:

      https://github.com/eouia/MMM-AssistantMk2/wiki/Installation

      the installer is very well designed and easy and greatly facilitates installation compared to the previous version.

      Hope this will help you,

      Regards,

      M 1 Reply Last reply Mar 16, 2020, 8:12 PM Reply Quote 0
      • M Offline
        MilkShake @Chris
        last edited by Mar 16, 2020, 8:12 PM

        @Chris Hey, thanks man! A little bit disheartening after getting it to work on the pi, but I will definitely restore the pi once again and give it a try. Am I right in understanding that you need some software to listen for an activation command, e.i. HotWord? I think I succeeded in installing MMM-AssistantMk2 earlier, but I did not get HotWord to work, after which I gave up.

        ? 1 Reply Last reply Mar 16, 2020, 8:17 PM Reply Quote 0
        • ? Offline
          A Former User @MilkShake
          last edited by Mar 16, 2020, 8:17 PM

          @MilkShake
          Hotword is just one method to activate amk2. If you prefer, any other methods can be used. - touchscreen button, hw button, sensors like pir, 3d gesture detector, touchscreen gesture, finger snapping, or Any module can emit some notifications of MagicMirror.

          M 1 Reply Last reply Mar 17, 2020, 4:12 PM Reply Quote 0
          • M Offline
            MilkShake @Guest
            last edited by Mar 17, 2020, 4:12 PM

            @Sean said in Working Google-Assistant on Raspbian Buster and 4b:

            @MilkShake
            Hotword is just one method to activate amk2. If you prefer, any other methods can be used. - touchscreen button, hw button, sensors like pir, 3d gesture detector, touchscreen gesture, finger snapping, or Any module can emit some notifications of MagicMirror.

            Yes ok :) I would like to be able to enable the Assistant using voice, so HotWord seems like the way to go. The mirror has a pir sensor also for turning on the screen, built into the side of the frame, so it can be activated by hand movement.

            Since I managed to get the regular assistant working on the PI, I will have a go at Assistant-Mk2 and HotWord tonight. Hopefully it will just install :)

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by A Former User Mar 17, 2020, 10:10 PM Mar 17, 2020, 9:55 PM

              @MilkShake : after if you want AMk2 with a built-in activator, you can try AMk2 addons with snowboy

              Personnaly, with my mirror, i use this AMk2 addons: governor, pir, snowboy, screen, briefToday, A2D and internet

              notes:

              • all addons are linked, and it use AMk2 micConfig for snowboy ;)
              • A2D: display your photos, weblink found by your mirror
                (in dev : display youtube video and sync with screen addons, will be released very soon ! )

              Weblink sample:

              Youtube sample:

              M 1 Reply Last reply Mar 18, 2020, 9:42 AM Reply Quote 0
              • M Offline
                MilkShake @Guest
                last edited by Mar 18, 2020, 9:42 AM

                @Bugsounet That seems like a good way to go! I’m mostly just after the voice activation for the Assistant, but I’ll go with anything that works. So would the process be:

                1. Install MMM-AssistantMk2 from https://github.com/eouia/MMM-AssistantMk2/wiki/Installation
                2. Install MMM-AssistantMk2 Plugins embedded with addons.js from https://github.com/bugsounet/addons

                ?

                Thanks for all the help guys!

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MilkShake
                  last edited by Mar 19, 2020, 10:46 AM

                  Hi,
                  I think I got MMM-AssistantMk2 and Bugsounet’s https://github.com/bugsounet/addons installed successfully! Used the same credentials.json file as I used in the other Assistant setup and tested with node auth_and_test.js.

                  It’s can become quite confusing with all these modules and addons. Can anyone elaborate on what is needed configuration wise, to allow for voice activation of AssistantMk2.

                  I guess addons need to be activated for Assistant and HotWord needs a configuration of sorts. I will have a look at this later.

                  Best
                  MilkShake

                  M 1 Reply Last reply Mar 19, 2020, 12:52 PM Reply Quote 0
                  • M Offline
                    MilkShake @MilkShake
                    last edited by Mar 19, 2020, 12:52 PM

                    @MilkShake I tried editing my config.js with the following:

                                {
                                module: "MMM-Hotword",
                                position: "top_left",
                                config: {
                                        recipes: ["with-AMk2v3_smart-mirror.js"],
                    
                                        }
                                },
                    
                    
                                {
                                module: "MMM-AssistantMk2",
                                position: "top_left",
                                config: {
                                        assistantConfig: {
                                                latitude: 55.749842,
                                                longitude: 12.497128,
                                        },
                                        recipes: [ "with-MMM-Hotword.js" ],
                                        addons: true,
                                        },
                                },
                    

                    But it crashes my MagicMirror. If I remove “addons: true,” the mirror starts and the two top_left positions are empty.

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by A Former User Mar 19, 2020, 12:59 PM Mar 19, 2020, 12:58 PM

                      hi, i have a lot of time … [#StayInHome #COVID19]
                      so i can help you to configure from begining

                      1. what addons do you want to use ?
                      2. AMk2 don’t show icon by default, just because default interface is like Google Nest
                        so i will be showing only when activating by hotkey
                      M 1 Reply Last reply Mar 19, 2020, 3:38 PM Reply Quote 1
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        4/19
                        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