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-AlexaControl or MMM-AlexaOn/Off setup

    Scheduled Pinned Locked Moved Troubleshooting
    94 Posts 4 Posters 57.9k Views 5 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 @dave_
      last edited by

      @dave_ hm. it has worked on 8 different systems now for me. pi 3 & 4, odroid, Jetson nano, gallium os on my Chromebook, Ubuntu on my desktop, and on my Mac.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dave_ @sdetweil
        last edited by

        @sdetweil alright could you send me your config?

        D S 2 Replies Last reply Reply Quote 0
        • D Offline
          dave_ @dave_
          last edited by

          @dave_ or idk if it’s too much to ask but if u have time u could maybe make a video of u setting up the whole module

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

            @dave_ sure, its nothing

                {
                    module: 'MMM-AlexaControl',
                    position: 'middle_center',
                    config:{
                        image: true,
                        pm2ProcessName: "MagicMirror",
                        vcgencmd: "hide",
                        deviceName: 'chromebook'
                    }
                }
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              dave_ @sdetweil
              last edited by

              @sdetweil pm2processname is name of the folder we used to install pm2 and all correct?

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

                @dave_ setup?

                cd ~/MagicMirror/modules
                git clone https://github.com/JoChef2/MMM-AlexaControl.git
                cd MMM-AlexaControl
                npm install
                

                edited MMM-AlexControl/translations/en.json to be cause I want command to be ‘turn off xx mirror’

                {
                    "PAGE": "page ",
                    "REFRESH": "refresh mirror",
                    "RESTART": "restart mirror",
                    "STOP": "stop mirror",
                    "REBOOT": "reboot mirror",
                    "SHUTDOWN": "shutdown mirror",
                    "MONITOR": "mirror",
                        "USB": "USB"
                }
                
                

                copy paste sample config.js section from his doc and add my info

                restart mm…
                alexa discover devices
                devices found
                alexa turn off chromebook mirror

                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 @dave_
                  last edited by

                  @dave_ no. its the name that shows in the pm2 status command

                  pm2 start MagicMirror

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    dave_ @sdetweil
                    last edited by

                    @sdetweil in my case i type in pm2 start mm so for me it’ll be mm!

                    S 2 Replies Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @dave_
                      last edited by sdetweil

                      @dave_ correct… if you had used my scripted install I setup pm2 as MagicMirror
                      see https://github.com/sdetweil/MagicMirror_scripts

                      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 @dave_
                        last edited by

                        @dave_ cause one of the devices is restart MM (using pm2)

                        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

                          can u disable other modules and try discovery something is blocking it from working…

                          do you have vpn on, or firewall, or is this on magicmirror OS under docker?

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          D 1 Reply Last reply Reply Quote 0
                          • D Offline
                            dave_ @sdetweil
                            last edited by

                            @sdetweil nope nothing like that

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

                              @dave_ did u try disabling other modules

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              D 2 Replies Last reply Reply Quote 0
                              • D Offline
                                dave_ @sdetweil
                                last edited by

                                @sdetweil yes i did still no luck i think I’ll just wait for a new module like this to come out and hopefully that’ll work

                                Thanks for your help appreciate it

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  dave_ @sdetweil
                                  last edited by

                                  @sdetweil actually take a look at this

                                  https://photos.app.goo.gl/KkEKBJgnawn3sLNQ8

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

                                    @dave_ something is using the port again

                                    do this again

                                    sudo netstat -a -p | grep 1900
                                    

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    D S 2 Replies Last reply Reply Quote 0
                                    • D Offline
                                      dave_ @sdetweil
                                      last edited by

                                      @sdetweil https://photos.app.goo.gl/2SPuHaHJaL2EidVn7

                                      No response

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

                                        @sdetweil in config.js add

                                        disabled: true,

                                        to the MMM_AlexaControl module def

                                           {
                                              module: 'MMM-AlexaControl',
                                              disabled: true,          /// add this line        
                                               position: whatever,
                                              config:{
                                              }
                                           },
                                        

                                        and restart MM, then in another window to the netstat -a -p command again

                                        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

                                          it is hard to help if you don’t respond

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          D 1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            dave_ @sdetweil
                                            last edited by

                                            @sdetweil sorry so i just did what u said and still the same like last time

                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 3 / 5
                                            • 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