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

Google assistant on magicmirror

Scheduled Pinned Locked Moved Requests
google assistantmagicmirror
21 Posts 8 Posters 15.5k 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 Jan 8, 2018, 9:00 AM

    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
    • A Offline
      aro28
      last edited by Jan 8, 2018, 9:37 AM

      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 Jan 8, 2018, 9:55 AM Reply Quote 0
      • N Offline
        nitrogen73
        last edited by Jan 8, 2018, 9:53 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • N Offline
          nitrogen73 @aro28
          last edited by nitrogen73 Jan 8, 2018, 9:57 AM Jan 8, 2018, 9:55 AM

          @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
          • A Offline
            aro28
            last edited by Jan 8, 2018, 9:58 AM

            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 Jan 8, 2018, 10:09 AM Reply Quote 0
            • N Offline
              nitrogen73 @aro28
              last edited by Jan 8, 2018, 10:09 AM

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

              A 1 Reply Last reply Jan 8, 2018, 10:13 AM Reply Quote 0
              • A Offline
                aro28 @nitrogen73
                last edited by Jan 8, 2018, 10:13 AM

                @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 Jan 8, 2018, 10:22 AM Reply Quote 0
                • N Offline
                  nitrogen73 @aro28
                  last edited by Jan 8, 2018, 10:22 AM

                  @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

                  A 2 Replies Last reply Jan 8, 2018, 11:03 AM Reply Quote 0
                  • A Offline
                    aro28 @nitrogen73
                    last edited by Jan 8, 2018, 11:03 AM

                    @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
                    • A Offline
                      aro28 @nitrogen73
                      last edited by Jan 8, 2018, 11:05 AM

                      @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
                      1 / 3
                      • First post
                        3/21
                        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