MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Raddy
    R
    • Profile
    • Following 0
    • Followers 1
    • Topics 0
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    Raddy

    @Raddy

    0
    Reputation
    432
    Profile views
    2
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    Raddy Unfollow Follow

    Latest posts made by Raddy

    • RE: Possible Issue: MMM-GoogleAssistant with recent Google Assistant SDK update

      Solved it!

      The SDK update changed the assistant initiation call. You registered a device_model_id (“Raddys-magic-mirror-device-id” for example) in the original instructions, so you have to add that to the assistant.py file. (Here are instructions on manually registering a device and creating a device instance–I don’t know if an instance is required for this to work, but it’s part of what I did trying to solve this).

      Open the assistant.py code and scroll down to line 124. The current call is this:

      with Assistant(credentials) as assistant:
      

      In the updated method found on Google’s dev site, it should read:

      with Assistant(credentials, device_model_id) as assistant:
      

      Where you replace device_model_id with whatever you registered before.

      with Assistant(credentials, "Raddys-magic-mirror-device-id") as assistant:
      

      Run it and it should work!

      posted in Troubleshooting
      R
      Raddy
    • RE: Possible Issue: MMM-GoogleAssistant with recent Google Assistant SDK update

      I’m having the same issue. I followed the instructions listed link text here and can get the sample assistant script to run from Google, but when I run the assistant.py script, I get the same error as above.

      posted in Troubleshooting
      R
      Raddy