• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

Scheduled Pinned Locked Moved System
184 Posts 25 Posters 290.6k Views 23 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 Offline
    savage_gr1nd @joanaz
    last edited by Feb 12, 2017, 6:54 PM

    @joanaz if the video runs through youtube-node, maybe adding into the skill “close video - stop youtube_node”? Or is it not that simple since you tube node is actually inside of the mmm module itself?

    1 Reply Last reply Reply Quote 0
    • S Offline
      savage_gr1nd @joanaz
      last edited by Feb 13, 2017, 12:21 AM

      @joanaz okay so font check. Adding it’s own module in the module list hides it so that’s a temp fix. But I’ll need your help with maybe adding a lamda function for stopping the video and closing it. I think if you could get those two to work this mod would be perfect.

      1 Reply Last reply Reply Quote 0
      • J Offline
        jdiggity
        last edited by Feb 13, 2017, 2:45 AM

        Alright, I’ve tried setting up the skill from scratch 3 times, following the directions to a T. I still hit the same issue, the skill times out with the following error:

        Unable to import module 'index': Error
        at Function.Module._resolveFilename (module.js:325:15)
        at Function.Module._load (module.js:276:25)
        at Module.require (module.js:353:17)
        at require (internal/module.js:12:17)
        at Object. (/var/task/index.js:27:17)
        at Module._compile (module.js:409:26)
        at Object.Module._extensions..js (module.js:416:10)
        at Module.load (module.js:343:32)
        at Function.Module._load (module.js:300:12)
        at Module.require (module.js:353:17)
        

        I’ve seen this error mentioned a few times in this thread, but no resolution has come up. Any ideas on where to start next? I’m really interested in this idea, but I’m a bit stumped as I don’t have experience with AWS.

        J 1 Reply Last reply Feb 13, 2017, 2:26 PM Reply Quote 0
        • J Offline
          Journeytojah @jdiggity
          last edited by Feb 13, 2017, 2:26 PM

          @jdiggity I have the same problem. Started over again at least 5 times, even on a fresh install of Raspbian.

          The index.js and mirrormirror.js are not missing any commas or brackets, would have to wait for @joanaz to get back to us …

          1 Reply Last reply Reply Quote 0
          • S Offline
            savage_gr1nd
            last edited by Feb 13, 2017, 3:03 PM

            It sounds like you guys are zipping the src folder itself also.
            In terminal navigate to INSIDE the src folder then

            zip -r code certs index.js package.json node_modules MirrorMirror.js

            J 1 Reply Last reply Feb 13, 2017, 4:37 PM Reply Quote 0
            • J Offline
              Journeytojah @savage_gr1nd
              last edited by Feb 13, 2017, 4:37 PM

              @savage_gr1nd i think its pretty clear that we’re not zipping the src folder but the contents. I did it form terminal as well as selecting everything inside of it and using right click, compress…

              tried names like import.zip export.zip package.json.zip index.zip indexjs.zip nothing worked…

              J 1 Reply Last reply Feb 13, 2017, 4:58 PM Reply Quote 0
              • S Offline
                savage_gr1nd
                last edited by Feb 13, 2017, 4:57 PM

                Is the error code your getting from the lambda test?

                1 Reply Last reply Reply Quote 0
                • J Offline
                  joanaz @Journeytojah
                  last edited by Feb 13, 2017, 4:58 PM

                  @Journeytojah that’s weird, like @savage_gr1nd said, the problem is usually on how you zip the files and folders inside src folder. It has nothing to do with RPi, or your zip file name, mine is the default ‘Archive.zip’. Assume you didn’t change the handler setting in Lambda, which should be ‘index.handler’. So you have to recreate the problem for me, show me how you do it step by step.

                  S 2 Replies Last reply Feb 13, 2017, 5:02 PM Reply Quote 0
                  • S Offline
                    savage_gr1nd @joanaz
                    last edited by savage_gr1nd Feb 13, 2017, 5:03 PM Feb 13, 2017, 5:02 PM

                    @joanaz @Journeytojah well also the index calls for cert keys. For safe measure I had my keys come in as MagicMirror so that cert path was perfect and I didn’t have to change it at all. (You don’t put the full path, just edit your personal name on the file inside MirrorMirror.js) and also make sure you have the skill Id inside index.js correct also.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      savage_gr1nd @joanaz
                      last edited by Feb 13, 2017, 5:05 PM

                      @joanaz did you see the alexa module that runs inside magic mirror? I just noticed it. Right now I’m running alexa-avs-sample-app but I was curious if you’ve tested the other to see if it works with no additional booting outside the MagicMirror file

                      J 1 Reply Last reply Feb 13, 2017, 5:13 PM Reply Quote 0
                      • 1
                      • 2
                      • 9
                      • 10
                      • 11
                      • 12
                      • 13
                      • 18
                      • 19
                      • 11 / 19
                      11 / 19
                      • First post
                        104/184
                        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