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 48.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 Offline
      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 Offline
            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 Offline
                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 Offline
                  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 Offline
                      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 Offline
                        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
                        • 1
                        • 2
                        • 6
                        • 7
                        • 8
                        • 9
                        • 10
                        • 9 / 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