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 won't register.

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 2 Posters 2.2k 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.
    • K Offline
      KRegan
      last edited by KRegan

      I’m trying to install the google assistant sdk and i’m having trouble registering the device.

      When I go to enter this command:

      googlesamples-assistant-devicetool register-model --manufacturer my-manufacturer
      –product-name my-product-name [–description my-product-description]
      –type device-type [–trait supported-trait] --model my-model

      at terminal via ssh I get back googlesamples-assistant-devicetool command not found.

      I followed all the directions on this page Google Assistant on Magic Mirror so I don’t know what I don’t have installed.

      Anyone who’s installed the google assistant SDK please advise!

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        Cyberwrights @KRegan
        last edited by

        @KRegan There are a fair number of missing details from the 3rd Party Module instructions, especially when it comes to registering the device. I ended up jumping over here:

        https://developers.google.com/assistant/sdk/guides/library/python/

        and just going through the Google instructions in detail. Once you have the demo software working (audio only, without MM integration), it was fairly easy to sew them together and get it working on the mirror as well. I used my Jabraspeak USB speakerphone, which registered as card 1, device 0 on both the speaker and mic.

        Have a scratch pad of some sort handy (OneNote, Notepad, etc) to track the various keys you will generate along the way. Once you get everything onboard, the sequence is boot the Pi (I have pm2 set to autostart the Mirror), connect vis SSH then start the virtual environment (source env/bin/activate), drill down to the pi folder (cd MagicMirror/modules/MMM-GoogleAssistant/pi) and start the assistant.py file (python3 assistant.py).

        I took the better part of a weekend. ymmv.

        MMM-GoogleAssistant
        MMM-Hue
        MMM-MyCommute
        MMM-Formula1
        MMM-SystemStats
        MMM-moon-phases

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