Read the statement by Michael Teeuw here.
Help figuring out what portion of this code is erroring out?
-
I can’t figure out what portion of the MMM-awesome-alexa code is causing my MM error:
/*{ "module": "MMM-awesome-alexa", "position": "bottom_bar", "config": { "wakeWord": "Alexa", "clientId": amzn1.application-oa2-client.54a08c41875f4xxxxxxxxxxxxxxx, "clientSecret": 8ce8425cb89e02a7302a60d27d10b51d2f137d8fxxxxxxxxxxxxxxxxxxxxxxxxxx, "deviceId": MagicMirror_1 } },*/ ] };
I put it in as a comment for now, so the MM will work but I’d like to try the magic mirror with alexa…
-
-
Thanks. Any idea why it might be causing an error when i start mm though?
-
@stalker401 the text to the right of config words need to be quoted
clientID, clientSecret and deviceId -
Only thing on the right side that doesn’t need to be quoted is true/false, or a number
-
Also, typically the words used to the left don’t need to be quoted
module: "somestring", config:{ Something: true, something_Else: "some string" }
All words on the left are case sensitive
-
@stalker401 said in Help figuring out what portion of this code is erroring out?:
MMM-awesome-alexa
Thanks everyone ill try it after work today
-
So I went in this morning and made the corrections, but instead of the typical error, when I started MagicMirror it was black screen that had my mouse cursor on it. The code i used is:
{ "module": "MMM-awesome-alexa", "position": "bottom_bar", "config": { "wakeWord": "Alexa", "clientId": "amzn1.application-oa2-client.54a08c41875f4xxxxxxxxxxxxxxx", "clientSecret": "8ce8425cb89e02a7302a60d27d10b51d2f137d8fxxxxxxxxxxxxxxxxxxxxxxxxxx", "deviceId": "MagicMirror_1" }
-
@stalker401 ok, open the developers window, ctrl-shift-i, select the console tab and scroll up to see any errors. Usually red text
-
Thanks, I’ll look at it tonight.