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 363.7k 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 savage_gr1nd

      @joanaz that’s what I was doing.
      Also testing after uploading the code from the console.
      After work I want to try npm depues to see if that helps.
      But I also see you have latest define for the dependencies. What versions do you have installed so I can’t edit my package.json to install those smaller versions?

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        joanaz @savage_gr1nd
        last edited by joanaz

        @savage_gr1nd this is my npm list

        ├─┬ alexa-sdk@1.0.6
        │ ├─┬ aws-sdk@2.9.0
        │ │ ├─┬ buffer@4.9.1
        │ │ │ ├── base64-js@1.2.0
        │ │ │ ├── ieee754@1.1.8
        │ │ │ └── isarray@1.0.0
        │ │ ├── crypto-browserify@1.0.9
        │ │ ├── jmespath@0.15.0
        │ │ ├── querystring@0.2.0
        │ │ ├── sax@1.1.5
        │ │ ├─┬ url@0.10.3
        │ │ │ └── punycode@1.3.2
        │ │ ├── uuid@3.0.0
        │ │ ├── xml2js@0.4.15
        │ │ └─┬ xmlbuilder@2.6.2
        │ │   └── lodash@3.5.0
        │ ├── i18next@3.5.2
        │ └── i18next-sprintf-postprocessor@0.2.2
        ├─┬ aws-iot-device-sdk@1.0.14
        │ ├── crypto-js@3.1.6
        │ ├── minimist@1.2.0
        │ ├─┬ mqtt@1.11.2
        │ │ ├─┬ commist@1.0.0
        │ │ │ └── leven@1.0.2
        │ │ ├─┬ concat-stream@1.6.0
        │ │ │ ├─┬ readable-stream@2.2.2
        │ │ │ │ ├── buffer-shims@1.0.0
        │ │ │ │ ├── process-nextick-args@1.0.7
        │ │ │ │ └── util-deprecate@1.0.2
        │ │ │ └── typedarray@0.0.6
        │ │ ├─┬ end-of-stream@1.1.0
        │ │ │ └─┬ once@1.3.3
        │ │ │   └── wrappy@1.0.2
        │ │ ├── help-me@0.1.0
        │ │ ├── inherits@2.0.3
        │ │ ├─┬ mqtt-connection@2.1.1
        │ │ │ ├── reduplexer@1.1.0
        │ │ │ └── through2@0.6.5
        │ │ ├── mqtt-packet@3.4.7
        │ │ ├── pump@1.0.2
        │ │ ├─┬ readable-stream@1.0.34
        │ │ │ ├── core-util-is@1.0.2
        │ │ │ ├── isarray@0.0.1
        │ │ │ └── string_decoder@0.10.31
        │ │ ├── reinterval@1.1.0
        │ │ ├─┬ split2@2.1.1
        │ │ │ └─┬ through2@2.0.3
        │ │ │   └── readable-stream@2.2.2
        │ │ └── xtend@4.0.1
        │ └─┬ websocket-stream@3.3.3
        │   ├─┬ duplexify@3.5.0
        │   │ ├── end-of-stream@1.0.0
        │   │ ├── readable-stream@2.2.2
        │   │ └── stream-shift@1.0.0
        │   ├─┬ through2@2.0.3
        │   │ └── readable-stream@2.2.2
        │   └─┬ ws@1.1.1
        │     ├── options@0.0.6
        │     └── ultron@1.0.2
        ├─┬ google-images@2.0.0
        │ └─┬ got@6.7.1
        │   ├─┬ create-error-class@3.0.2
        │   │ └── capture-stack-trace@1.0.0
        │   ├── duplexer3@0.1.4
        │   ├── get-stream@3.0.0
        │   ├── is-redirect@1.0.0
        │   ├── is-retry-allowed@1.1.0
        │   ├── is-stream@1.1.0
        │   ├── lowercase-keys@1.0.0
        │   ├── safe-buffer@5.0.1
        │   ├── timed-out@4.0.0
        │   ├── unzip-response@2.0.1
        │   └─┬ url-parse-lax@1.0.0
        │     └── prepend-http@1.0.4
        └─┬ youtube-node@1.3.0
          ├── colors@1.0.3
          ├─┬ prompt@0.2.14
          │ ├── pkginfo@0.4.0
          │ ├─┬ read@1.0.7
          │ │ └── mute-stream@0.0.7
          │ ├── revalidator@0.1.8
          │ ├─┬ utile@0.2.1
          │ │ ├── async@0.2.10
          │ │ ├── deep-equal@1.0.1
          │ │ ├── i@0.3.5
          │ │ ├─┬ mkdirp@0.5.1
          │ │ │ └── minimist@0.0.8
          │ │ ├── ncp@0.4.2
          │ │ └─┬ rimraf@2.5.4
          │ │   └─┬ glob@7.1.1
          │ │     ├── fs.realpath@1.0.0
          │ │     ├── inflight@1.0.6
          │ │     ├─┬ minimatch@3.0.3
          │ │     │ └─┬ brace-expansion@1.1.6
          │ │     │   ├── balanced-match@0.4.2
          │ │     │   └── concat-map@0.0.1
          │ │     └── path-is-absolute@1.0.1
          │ └─┬ winston@0.8.3
          │   ├── colors@0.6.2
          │   ├── cycle@1.0.3
          │   ├── eyes@0.1.8
          │   ├── pkginfo@0.3.1
          │   └── stack-trace@0.0.9
          └─┬ request@2.53.0
            ├── aws-sign2@0.5.0
            ├── bl@0.9.5
            ├── caseless@0.9.0
            ├─┬ combined-stream@0.0.7
            │ └── delayed-stream@0.0.5
            ├── forever-agent@0.5.2
            ├─┬ form-data@0.2.0
            │ └── async@0.9.2
            ├─┬ hawk@2.3.1
            │ ├── boom@2.10.1
            │ ├── cryptiles@2.0.5
            │ ├── hoek@2.16.3
            │ └── sntp@1.0.9
            ├─┬ http-signature@0.10.1
            │ ├── asn1@0.1.11
            │ ├── assert-plus@0.1.5
            │ └── ctype@0.5.3
            ├── isstream@0.1.2
            ├── json-stringify-safe@5.0.1
            ├─┬ mime-types@2.0.14
            │ └── mime-db@1.12.0
            ├── node-uuid@1.4.7
            ├── oauth-sign@0.6.0
            ├── qs@2.3.3
            ├── stringstream@0.0.5
            ├─┬ tough-cookie@2.3.2
            │ └── punycode@1.4.1
            └── tunnel-agent@0.4.3
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          savage_gr1nd @joanaz
          last edited by

          @joanaz awesome!
          I’m sure between the two methods I can shrink it down enough. At least I hope i can haha
          I’m way too excited to get this running and play with it. Thank you!

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            joanaz @savage_gr1nd
            last edited by

            @savage_gr1nd yeah, i was really excited when i got it working. :) let me know when you do!

            S 3 Replies Last reply Reply Quote 0
            • S Offline
              savage_gr1nd @joanaz
              last edited by

              @joanaz it’s seriously been 3 days after work. Of playing with code for 7 hours each day. It’s kicking my ass but I’ll get it lol

              1 Reply Last reply Reply Quote 0
              • S Offline
                savage_gr1nd @joanaz
                last edited by

                @joanaz so I was thinking, the mirrormirror module, can it be configured to play “next up” in the YouTube api? Instead of loop? :/

                1 Reply Last reply Reply Quote 0
                • S Offline
                  savage_gr1nd @joanaz
                  last edited by

                  @joanaz okay. Finally. Got a response. Now. The mmm.
                  Everytime I touch the config.js doesn’t load up. Can you give me a few more details for setting up the module?
                  IE. Where to run npm install for aws-iot-device-sdk lol

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    joanaz @savage_gr1nd
                    last edited by

                    @savage_gr1nd erhhh, inside the module folder. you also need to copy the certs folder over

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      savage_gr1nd @joanaz
                      last edited by

                      @joanaz I’m sorry I’m being retarded. I’ve been staring at json too long. In the magic mirror module folder or the mirrormirror folder?

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        joanaz @savage_gr1nd
                        last edited by

                        @savage_gr1nd ?? to run npm install? in the magic mirror module folder, where package.json is

                        S 2 Replies Last reply Reply Quote 0
                        • S Offline
                          savage_gr1nd @joanaz
                          last edited by

                          @joanaz okay. Like I said I’m sorry. This is my first pi project AND my first module for magicmirror.
                          When putting mirrormirror in the config.js, does it matter where in the list? I put inew the config info and then it says I screwed up the config.js.

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            savage_gr1nd @joanaz
                            last edited by savage_gr1nd

                            @joanaz soooo close. On/off modules. Check. But no text on screen.
                            Find a video? Text on screen. No video. And how do you close my supposed video?
                            Any help? I’m so close I can taste victory!

                            Update - google developer console says success connection with api on that command. So I’m guessing it’s a player launch failure or missing a folder for youtube-node?

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              joanaz @savage_gr1nd
                              last edited by

                              @savage_gr1nd there’s no text on screen when you turn on/off module. can you get display text or display image commands to work? right now the text/image/video will remain on the screen, the video will be played in a loop, but you can simply add a timeout to hide this module after few seconds. The ‘next up’ Youtube video idea is also cool, do you think you can implement it yourself?

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                joanaz
                                last edited by

                                Just out of curiosity, which cities are you guys in? I’m in New York.

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  savage_gr1nd @joanaz
                                  last edited by

                                  @joanaz I’m in California.
                                  And I could try if I can ever figure out why I can’t get video to pop up in the first place lol and no I can’t get images to work either. That tests error in alexa skill Console so I’m digging into you tube first. Which tests positive.
                                  I say find a video of… and she responds and puts the text on screen. But the url window doesn’t show.

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    Journeytojah
                                    last edited by

                                    I still didn’t get mine to work, I haven’t tried again to be honest…

                                    I am in Spain, if that makes a difference.

                                    I was trying out other options for voice control like Jasper, etc; no luck so far.

                                    I might come back to this module tonight and try to get it running.

                                    Should I try to set it up for the European region that supports Alexa skills? (which is Ireland afaik)

                                    J 1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      joanaz @Journeytojah
                                      last edited by

                                      @Journeytojah I think the region is why some people couldn’t get it to work. Right now, Lambda only works with US East regions. So better use US East for every AWS services needed here.

                                      J 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        Journeytojah @joanaz
                                        last edited by Journeytojah

                                        @joanaz said in MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images:

                                        @Journeytojah I think the region is why some people couldn’t get it to work. Right now, Lambda only works with US East regions. So better use US East for every AWS services needed here.

                                        I had US East selected, but maybe because I am not physically located in the US it somehow gets blocked by some ISP somewhere along the way.

                                        To me thats what it looked like, a connectivity issue.

                                        And I know Alexa Skills with Lambda are only supported in some regions, but that includes one European one, the one in Ireland, so ill try that one.

                                        Anyway, after seeing how impossible it is to work with Jaster/So.nus and so on, I will go back and give this another try…

                                        S J 2 Replies Last reply Reply Quote 0
                                        • S Offline
                                          savage_gr1nd @Journeytojah
                                          last edited by

                                          @Journeytojah no that’s not it. I’m in the west coast and I got my lambda and skill to link. Only thing I don’t have working are the Google api and youtube api

                                          1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            joanaz @Journeytojah
                                            last edited by

                                            @Journeytojah ok, remember to change the region setting in MirrorMirror.js in both folders. (line 16 below)

                                            0_1486761618398_Screen Shot 2017-02-10 at 16.19.59.png

                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 19 / 10
                                            • 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