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.

    Google assistant on magicmirror

    Scheduled Pinned Locked Moved Requests
    google assistantmagicmirror
    21 Posts 8 Posters 17.0k Views 9 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.
    • N Offline
      nitrogen73
      last edited by

      can anyone help how to do the below steps?

      Install Pubnub dependencies using pip install ‘pubnub>=4.0.13’
      If you get an error while installing Pubnub, try using sudo: ‘sudo pubnub>=4.0.13’
      Download the ‘pi/assistant.py’ script on your raspberry pi and launch it via terminal
      If you see a ‘No module named google’ error try running it via /home/pi/env/bin/python3 -u
      assistant.py

      Im not good at programming… please help me…

      1 Reply Last reply Reply Quote 0
      • aro28A Offline
        aro28
        last edited by

        Hi,
        I did it in Python virtual environment and it works.
        go to "source env/bin/activate " and install Pubnub dependencies using pip install ‘pubnub>=4.0.13’.
        see below link
        https://developers.google.com/assistant/sdk/guides/library/python/embed/install-sample

        Let me know if it works for you.
        Best,

        N 1 Reply Last reply Reply Quote 0
        • N Offline
          nitrogen73
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • N Offline
            nitrogen73 @aro28
            last edited by nitrogen73

            @aro28 i already done all the steps mentioned in the link https://developers.google.com/assistant/sdk/guides/library/python/embed/install-sample

            and it also worked fine.

            But the real problem is when i start the magicmirror the google assistant does not start. How to bring the google assistant module in magicmirror? I also add the script in the config.js. In the display it shows only the image of the google assistant.

            1 Reply Last reply Reply Quote 0
            • aro28A Offline
              aro28
              last edited by

              Yes. Same for me. I can see Google Logo and nothing happens on “Ok, google how’s the weather today?” No reaction.

              N 1 Reply Last reply Reply Quote 0
              • N Offline
                nitrogen73 @aro28
                last edited by

                @aro28 Please let me know once you figure it out… And thank you very much for your reply…

                aro28A 1 Reply Last reply Reply Quote 0
                • aro28A Offline
                  aro28 @nitrogen73
                  last edited by

                  @nitrogen73 said in Google assistant on magicmirror:

                  Please let me know once you figure it out… And thank you very much for your reply…

                  I’ve posted my issue on below link. Please feel free and participate in discussion as well.
                  https://github.com/gauravsacc/MMM-GoogleAssistant/issues/18

                  N 1 Reply Last reply Reply Quote 0
                  • N Offline
                    nitrogen73 @aro28
                    last edited by

                    @aro28 Could you please tell me what you done after completing the steps in below link?

                    https://developers.google.com/assistant/sdk/guides/library/python/embed/install-sample

                    aro28A 2 Replies Last reply Reply Quote 0
                    • aro28A Offline
                      aro28 @nitrogen73
                      last edited by

                      @nitrogen73 said in Google assistant on magicmirror:

                      @aro28 Could you please tell me what you done after completing the steps in below link?

                      I followed below link: https://github.com/eouia/MMM-Assistant/wiki

                      If you are able to launch google-assistant-demo(https://developers.google.com/assistant/sdk/prototype/getting-started-pi-python/run-sample) and use the assistant, you should able to use the ‘pi/assistant.py’ script that communicates with the magic mirror module.

                      1 Reply Last reply Reply Quote 0
                      • aro28A Offline
                        aro28 @nitrogen73
                        last edited by

                        @nitrogen73 Also, i register the Device Model as instructed in above link. In order for the Google Assistant to respond to commands appropriate to your device and the given context, the Assistant needs information about your particular device.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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