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.

    Help figuring out what portion of this code is erroring out?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    10 Posts 2 Posters 2.3k 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.
    • S Do not disturb
      sdetweil @stalker401
      last edited by sdetweil

      @stalker401 the text to the right of config words need to be quoted
      clientID, clientSecret and deviceId

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil
        last edited by sdetweil

        Only thing on the right side that doesn’t need to be quoted is true/false, or a number

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil
          last edited by sdetweil

          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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            stalker401
            last edited by

            @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

            1 Reply Last reply Reply Quote 0
            • S Offline
              stalker401
              last edited by

              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"
              			  }
              
              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @stalker401
                last edited by

                @stalker401 ok, open the developers window, ctrl-shift-i, select the console tab and scroll up to see any errors. Usually red text

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S Offline
                  stalker401
                  last edited by

                  Thanks, I’ll look at it tonight.

                  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