Read the statement by Michael Teeuw here.
MMM-GoogleAssistantMk2 issues
-
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”
}
}
}, -
@blake_northrup AssistantMk2 has been discontinued.
use MMM-GoogleAssistant by bugsuonet
-
@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.
-
@blake_northrup but you are not
cause u posted this
module: “MMM-AssistantMk2”, -
@sdetweil Yeah, sorry, been one of those days.
-
@sdetweil I’m going to start over, and let you know. Thanks for the fast response.
-
@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.