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.

    MMM-GoogleAssistantMk2 issues

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 679 Views 2 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.
    • blake_northrupB Offline
      blake_northrup
      last edited by blake_northrup

      Hey All, trying to get MMM-GoogleAssistantMk2 up, and have the token, auth code, and when doing the command: node auth_and_test.js it works, but when I add the module to the config file, I get the below error when starting MagicMirror.

      SyntaxError: Unexpected token }
      at Module._compile (internal/modules/cjs/loader.js:722:23)
      at Object.Module._extensions…js (internal/modules/cjs/loader.js:798:10)
      at Module.load (internal/modules/cjs/loader.js:645:32)
      at Function.Module._load (internal/modules/cjs/loader.js:560:12)
      at Module.require (internal/modules/cjs/loader.js:685:19)
      at require (internal/modules/cjs/helpers.js:16:16)
      at loadConfig (/home/pi/MagicMirror/js/app.js:67:12)
      at App.start (/home/pi/MagicMirror/js/app.js:202:3)
      at Object. (/home/pi/MagicMirror/js/electron.js:126:7)
      at Module._compile (internal/modules/cjs/loader.js:786:30)

      When I put the basic config structure in, it opens, but it doesn’t respond to commands, and when I start adding some of the other stuff to the config, I get the below error. Any ideas?

      {
      module: “MMM-AssistantMk2”,
      position: “top_right”,
      config: {
      coordinates: {
      latitude: 51.5033640,
      longitude: -0.1276250,
      },
      record: { // put there configuration generated by auto-installer
      recorder : “arecord”,
      device: “plughw:1”
      }
      }
      },

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @blake_northrup
        last edited by

        @blake_northrup AssistantMk2 has been discontinued.

        use MMM-GoogleAssistant by bugsuonet

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        blake_northrupB 1 Reply Last reply Reply Quote 0
        • blake_northrupB Offline
          blake_northrup @sdetweil
          last edited by

          @sdetweil said in MMM-GoogleAssistantMk2 issues:

          MMM-GoogleAssistant

          Hey sdetweil, sorry, meant that one. I followed all steps to a T, and am getting the above error.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @blake_northrup
            last edited by

            @blake_northrup but you are not

            cause u posted this
            module: “MMM-AssistantMk2”,

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            blake_northrupB 3 Replies Last reply Reply Quote 0
            • blake_northrupB Offline
              blake_northrup @sdetweil
              last edited by

              @sdetweil Yeah, sorry, been one of those days.

              1 Reply Last reply Reply Quote 0
              • blake_northrupB Offline
                blake_northrup @sdetweil
                last edited by

                @sdetweil I’m going to start over, and let you know. Thanks for the fast response.

                1 Reply Last reply Reply Quote 0
                • blake_northrupB Offline
                  blake_northrup @sdetweil
                  last edited by

                  @sdetweil so I had both MMM-GoogleAsistant, and the Mk2 one opened, and got myself confused. I appreciate the wakeup call sdetweil. The assistant is running along great now, thanks to you.

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