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.
    • D Offline
      dave_ @sdetweil
      last edited by

      @sdetweil tried that still no luck

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

        @dave_ ok, need to edit a file to turn on some debugging

        nano ~/MagicMirror/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js

        change lines 92-94, the console.log lines below
        change from

        	udpServer.on('message', (msg, rinfo) => {
        		//debug(`<< server got: ${msg} from ${rinfo.address}:${rinfo.port}`);
        		//console.log('Search request from ' + util.inspect(rinfo));
        		//console.log(getMask(rinfo.address, '255.255.255.0'));
        

        to

        	udpServer.on('message', (msg, rinfo) => {
        		console.log(`<< server got: ${msg} from ${rinfo.address}:${rinfo.port}`);       
        		console.log('Search request from ' + util.inspect(rinfo));
        		console.log(getMask(rinfo.address, '255.255.255.0'));
        

        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 my internet went of for a bit I’ll do this asap and let you know!

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

            @dave_ I also added another line of debug

            let response = function(ipaddr) {
            	let deviceresp = [];
            	let responses = [];
            	for(let i = 0; i < = devices.length - 1; i++) {
            		console.log('responding for port='+devices[i].port)   // this line
            
            

            and I see this output from the MM console , from alexa discover devices

            [2020-08-05 11:31:33.543] [LOG]    << server got: M-SEARCH * HTTP/1.1
            HOST: 239.255.255.250:1900
            MAN: "ssdp:discover"
            MX: 1
            ST: urn:dial-multiscreen-org:service:dial:1
            USER-AGENT: Chromium/78.0.3904.108 Linux
            
             from 192.168.2.126:57706 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:93 Socket.<anonymous>)
            [2020-08-05 11:31:33.545] [LOG]    Search request from { address: '192.168.2.126', family: 'IPv4', port: 57706, size: 167 } (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:94 Socket.<anonymous>)
            [2020-08-05 11:31:33.548] [LOG]    192.168.2.0 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:95 Socket.<anonymous>)
            [2020-08-05 11:31:33.550] [LOG]    responding for port=16000 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
            [2020-08-05 11:31:33.552] [LOG]    responding for port=16001 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
            [2020-08-05 11:31:33.553] [LOG]    responding for port=16002 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
            [2020-08-05 11:31:33.553] [LOG]    responding for port=16003 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
            [2020-08-05 11:31:33.553] [LOG]    responding for port=16004 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
            [2020-08-05 11:31:33.553] [LOG]    responding for port=16005 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
            
            (electron:23027): GLib-GIO-CRITICAL **: 11:31:34.172: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
            [2020-08-05 11:31:34.549] [LOG]    << server got: M-SEARCH * HTTP/1.1
            HOST: 239.255.255.250:1900
            MAN: "ssdp:discover"
            MX: 1
            ST: urn:dial-multiscreen-org:service:dial:1
            USER-AGENT: Chromium/78.0.3904.108 Linux
            
             from 192.168.2.126:57706 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:93 Socket.<anonymous>)
            [2020-08-05 11:31:34.549] [LOG]    Search request from { address: '192.168.2.126', family: 'IPv4', port: 57706, size: 167 } (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:94 Socket.<anonymous>)
            [2020-08-05 11:31:34.549] [LOG]    192.168.2.0 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:95 Socket.<anonymous>)
            [2020-08-05 11:31:34.550] [LOG]    responding for port=16000 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
            [2020-08-05 11:31:34.551] [LOG]    responding for port=16001 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
            [2020-08-05 11:31:34.551] [LOG]    responding for port=16002 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
            [2020-08-05 11:31:34.551] [LOG]    responding for port=16003 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
            [2020-08-05 11:31:34.551] [LOG]    responding for port=16004 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
            [2020-08-05 11:31:34.552] [LOG]    responding for port=16005 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              Michael Schw.
              last edited by Michael Schw.

              Hey…
              I have the same Issue and i will do every step i found here tomorrow.
              I tried everything i found on the Internet but i still couldnt make it work.
              You have any new knowledge here? I even heard somewhere that the fauxmo code wont work anymore because Alexa cant find the emulated Wemo Devices anymore. Btw Alexa Controll starts at port 11000 but when i set it to 1900 it still doesnt work.

              I am currently at the step with disabling Spotify which didnt solve my Problem. So tomorrow i will try to make my Config.js file readable (because it looks terrible at the moment) and then i will post it here.

              All i wanna do is to toggle my Display with Alexa…i dont need to switch Pages or hide modules. I just wanna turn it on and off. I found every Solution for every Problem i had myself except for this Problem.

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

                @Michael-Schw I just added another system the other day without any issue.
                I do have an original echo, a number of echo dots and one echo show.

                but did the discovery from the Alexa app on my phone.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  Michael Schw. @sdetweil
                  last edited by Michael Schw.

                  @sdetweil i tried it with the app on my fire tablet, the echo plus 2nd gen and the echo dot 3rd gen. The first gen echos are still working but the newer ones dont wanna work. So maybe we can figure something out or plan b would be a sonoff switch for the tv display . But maybe there is a way without the switch. Witch gen are your echos?

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

                    @Michael-Schw my echo is a gen 1, and dots are gen 2.

                    do u see the messages like I listed at mm startup? (from 5th post to this topic) also, would be startPort:19000 not 1900.

                    port 1900 is hard coded to the ssdp discovery port, used by Alexa to find devices

                    if u see the messages, and add the debugging from above, do u see the discovery request?

                    show me the mm startup.messages

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      Michael Schw.
                      last edited by Michael Schw.

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Michael Schw.
                        last edited by

                        Spotify is disabled, starting port at default and the MM startup messenges are:

                        magicmirror@2.12.0 start /home/pi/MagicMirror
                        DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

                        [2020-08-10 10:06:51.201] [LOG] Starting MagicMirror: v2.12.0
                        [2020-08-10 10:06:51.214] [LOG] Loading config …
                        [2020-08-10 10:06:51.228] [LOG] Loading module helpers …
                        [2020-08-10 10:06:51.232] [LOG] No helper found for module: clock.
                        [2020-08-10 10:06:51.360] [LOG] Initializing new module helper …
                        [2020-08-10 10:06:51.361] [LOG] Module helper loaded: updatenotification
                        [2020-08-10 10:06:51.362] [LOG] No helper found for module: currentweather.
                        [2020-08-10 10:06:51.363] [LOG] No helper found for module: weatherforecast.
                        [2020-08-10 10:06:52.187] [LOG] Initializing new module helper …
                        [2020-08-10 10:06:52.188] [LOG] Module helper loaded: MMM-AlexaControl
                        [2020-08-10 10:06:52.194] [LOG] Initializing new module helper …
                        [2020-08-10 10:06:52.195] [LOG] Module helper loaded: MMM-OnScreenMenu
                        [2020-08-10 10:06:52.196] [LOG] All module helpers loaded.
                        [2020-08-10 10:06:52.535] [LOG] Starting server on port 8080 …
                        [2020-08-10 10:06:52.544] [INFO] You’re using a full whitelist configuration to allow for all IPs
                        [2020-08-10 10:06:52.556] [LOG] Server started …
                        [2020-08-10 10:06:52.557] [LOG] Connecting socket for: updatenotification
                        [2020-08-10 10:06:52.559] [LOG] Connecting socket for: MMM-AlexaControl
                        [2020-08-10 10:06:52.560] [LOG] MMM-AlexaControl helper, started…
                        [2020-08-10 10:06:52.561] [LOG] Connecting socket for: MMM-OnScreenMenu
                        [2020-08-10 10:06:52.562] [LOG] Sockets connected & modules started …
                        [2020-08-10 10:06:52.751] [LOG] Launching application.
                        [2020-08-10 10:06:55.681] [LOG] monitorToggle requested
                        [2020-08-10 10:06:55.694] [LOG] Adding multicast membership for 127.0.0.1
                        [2020-08-10 10:06:55.695] [LOG] Adding multicast membership for 10.0.0.2
                        [2020-08-10 10:06:55.697] [LOG] server is listening on 11000
                        [2020-08-10 10:06:55.700] [LOG] server is listening on 11001
                        [2020-08-10 10:06:55.701] [LOG] server is listening on 11002
                        [2020-08-10 10:06:55.702] [LOG] server is listening on 11005
                        [2020-08-10 10:06:55.741] [INFO] Checking git for module: MMM-AlexaControl
                        [2020-08-10 10:06:55.816] [INFO] Checking git for module: MMM-OnScreenMenu
                        [2020-08-10 10:07:02.910] [LOG] Shutting down server…
                        [2020-08-10 10:07:02.911] [LOG] Stopping module helper: updatenotification
                        [2020-08-10 10:07:02.912] [LOG] Stopping module helper: MMM-AlexaControl
                        [2020-08-10 10:07:02.913] [LOG] Stopping module helper: MMM-OnScreenMenu

                        Here is the config.js :

                        {
                        	module: "clock",
                        	position: "top_left",
                        	config: {
                        	// The config property is optional.
                        	// See 'Configuration options' for more information.
                        			displaySeconds: false
                        			}
                        },
                        {
                        	module: "updatenotification",
                        	position: "top_bar"
                        },
                        /*{
                        	module: "compliments",
                        	position: "lower_third"
                        },*/
                        {
                        	module: "currentweather",
                        	position: "top_right",
                        	config: {
                        		location: "New York",
                        		locationID: "xxxxxx", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                        		appid: "xxxxxxxxxxxxxxxxxxxxxx",
                        		showWindDirectionAsArrow: true,
                        		showHumidity: true,
                        		useKMPHwind: true
                        	}
                        },
                        {
                        	module: "weatherforecast",
                        	position: "top_right",
                        	header: "Weather Forecast",
                        	config: {
                        		location: "New York",
                        		locationID: "xxxxx", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                        		appid: "xxxxxxxxxxxxxxxxxxxxxxxxx",
                        		showRainAmount: true
                        	}
                        },
                        
                        {
                        	module: 'MMM-AlexaControl',
                        	position: 'middle_center',
                        	config:{
                        		image: true,
                        		pm2ProcessName: "mm",
                        		vcgencmd: true,
                        		height: "100",
                        		width: "100",
                        		deviceName: "Spiegel"
                        			}
                        },
                        {
                                    module: "MMM-Spotify",
                                      disabled: true,
                                      position: "bottom_left", // "bottom_bar" or "top_bar" for miniBar
                                      config: {
                                        debug: false, // debug mode
                                        style: "default", // "default" or "mini" available (inactive for miniBar)
                                        control: "default",
                                        accountDefault: 0, // default account number, attention : 0 is the first account
                                        updateInterval: 1000, // update interval when playing
                                        idleInterval: 2000, // update interval on idle
                                        onStart: null, // disable onStart feature with `null`
                                        deviceDisplay: "Listening on", // text to display in the device block (default style only)
                                        allowDevices: [], //If you want to limit devices to display info, use this.
                                        // allowDevices: ["RASPOTIFY", "My iPhoneX", "My Home speaker"],
                                                            miniBarConfig: {
                                          album: true, // display Album name in miniBar style
                                          scroll: true, // scroll title / artist / album in miniBar style
                                          logo: true, // display Spotify logo in miniBar style
                                                                                               }
                                                                  }
                                      },
                                      {
                            module: 'MMM-OnScreenMenu',
                            position: 'bottom_right',
                            /* Valid positions: 'top_right', 'top_left', 'bottom_right', 'bottom_left' */
                            config: {
                                touchMode: true,
                                enableKeyboard: true,
                                // ... see more options below
                                       }
                                        },
                        

                        how can you enter commands while the mirror is running?

                        they are all in the same wifi because i disabled 5Ghz.
                        the sudo netstat -a -p | grep 1900 shows nothing while the mirror isnt running.
                        i allowed all ipś and tried it with that page indicator and page module.
                        does it normal work as standalone or do i need more modules?

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Michael Schw.
                          last edited by Michael Schw.

                          maybe i have to update something?
                          but how do i update magicmirror, the modules, etc.??
                          should the extra line of debug code end with nothing or a , or a ; ?
                          i added the debugging now (with nothing at the end of that extra line) and it shows this:

                          magicmirror@2.12.0 start /home/pi/MagicMirror
                          DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

                          [2020-08-10 10:56:52.494] [LOG] Starting MagicMirror: v2.12.0
                          [2020-08-10 10:56:52.507] [LOG] Loading config …
                          [2020-08-10 10:56:52.517] [LOG] Loading module helpers …
                          [2020-08-10 10:56:52.521] [LOG] No helper found for module: clock.
                          [2020-08-10 10:56:52.619] [LOG] Initializing new module helper …
                          [2020-08-10 10:56:52.620] [LOG] Module helper loaded: updatenotification
                          [2020-08-10 10:56:52.621] [LOG] No helper found for module: currentweather.
                          [2020-08-10 10:56:52.622] [LOG] No helper found for module: weatherforecast.
                          [2020-08-10 10:56:53.215] [LOG] Initializing new module helper …
                          [2020-08-10 10:56:53.216] [LOG] Module helper loaded: MMM-AlexaControl
                          [2020-08-10 10:56:53.219] [LOG] Initializing new module helper …
                          [2020-08-10 10:56:53.220] [LOG] Module helper loaded: MMM-OnScreenMenu
                          [2020-08-10 10:56:53.221] [LOG] All module helpers loaded.
                          [2020-08-10 10:56:53.455] [LOG] Starting server on port 8080 …
                          [2020-08-10 10:56:53.467] [INFO] You’re using a full whitelist configuration to allow for all IPs
                          [2020-08-10 10:56:53.481] [LOG] Server started …
                          [2020-08-10 10:56:53.483] [LOG] Connecting socket for: updatenotification
                          [2020-08-10 10:56:53.485] [LOG] Connecting socket for: MMM-AlexaControl
                          [2020-08-10 10:56:53.487] [LOG] MMM-AlexaControl helper, started…
                          [2020-08-10 10:56:53.489] [LOG] Connecting socket for: MMM-OnScreenMenu
                          [2020-08-10 10:56:53.490] [LOG] Sockets connected & modules started …
                          [2020-08-10 10:56:53.677] [LOG] Launching application.
                          [2020-08-10 10:56:56.641] [LOG] monitorToggle requested
                          [2020-08-10 10:56:56.662] [LOG] Adding multicast membership for 127.0.0.1
                          [2020-08-10 10:56:56.673] [LOG] Adding multicast membership for 10.0.0.2
                          [2020-08-10 10:56:56.677] [LOG] server is listening on 11000
                          [2020-08-10 10:56:56.681] [LOG] server is listening on 11001
                          [2020-08-10 10:56:56.684] [LOG] server is listening on 11002
                          [2020-08-10 10:56:56.687] [LOG] server is listening on 11005
                          [2020-08-10 10:56:56.794] [INFO] Checking git for module: MMM-AlexaControl
                          [2020-08-10 10:56:56.842] [INFO] Checking git for module: MMM-OnScreenMenu
                          [2020-08-10 10:57:17.037] [ERROR] fatal: unable to access ‘https://github.com/shbatm/MMM-OnScreenMenu/’: Could not resolve host: github.com

                          [2020-08-10 10:57:17.062] [ERROR] fatal: unable to access ‘https://github.com/JoChef2/MMM-AlexaControl.git/’: Could not resolve host: github.com

                          [2020-08-10 10:57:17.088] [ERROR] fatal: unable to access ‘https://github.com/MichMich/MagicMirror/’: Could not resolve host: github.com

                          [2020-08-10 10:57:24.385] [LOG] << server got: M-SEARCH * HTTP/1.1
                          HOST: 239.255.255.250:1900
                          MAN: “ssdp:discover”
                          MX: 1
                          ST: urn:dial-multiscreen-org:service:dial:1
                          USER-AGENT: Chromium/78.0.3904.108 Linux

                          from 10.0.0.2:48010
                          [2020-08-10 10:57:24.401] [LOG] Search request from { address: ‘10.0.0.2’, family: ‘IPv4’, port: 48010, size: 167 }
                          [2020-08-10 10:57:24.444] [LOG] 10.0.0.0
                          [2020-08-10 10:57:24.460] [LOG] responding for port=11000
                          [2020-08-10 10:57:24.473] [LOG] responding for port=11001
                          [2020-08-10 10:57:24.476] [LOG] responding for port=11002
                          [2020-08-10 10:57:24.478] [LOG] responding for port=11005
                          [2020-08-10 10:57:25.389] [LOG] << server got: M-SEARCH * HTTP/1.1
                          HOST: 239.255.255.250:1900
                          MAN: “ssdp:discover”
                          MX: 1
                          ST: urn:dial-multiscreen-org:service:dial:1
                          USER-AGENT: Chromium/78.0.3904.108 Linux

                          from 10.0.0.2:48010
                          [2020-08-10 10:57:25.393] [LOG] Search request from { address: ‘10.0.0.2’, family: ‘IPv4’, port: 48010, size: 167 }
                          [2020-08-10 10:57:25.396] [LOG] 10.0.0.0
                          [2020-08-10 10:57:25.405] [LOG] responding for port=11000
                          [2020-08-10 10:57:25.409] [LOG] responding for port=11001
                          [2020-08-10 10:57:25.412] [LOG] responding for port=11002
                          [2020-08-10 10:57:25.414] [LOG] responding for port=11005
                          [2020-08-10 10:57:26.390] [LOG] << server got: M-SEARCH * HTTP/1.1
                          HOST: 239.255.255.250:1900
                          MAN: “ssdp:discover”
                          MX: 1
                          ST: urn:dial-multiscreen-org:service:dial:1
                          USER-AGENT: Chromium/78.0.3904.108 Linux

                          from 10.0.0.2:48010
                          [2020-08-10 10:57:26.391] [LOG] Search request from { address: ‘10.0.0.2’, family: ‘IPv4’, port: 48010, size: 167 }
                          [2020-08-10 10:57:26.394] [LOG] 10.0.0.0
                          [2020-08-10 10:57:26.400] [LOG] responding for port=11000
                          [2020-08-10 10:57:26.402] [LOG] responding for port=11001
                          [2020-08-10 10:57:26.404] [LOG] responding for port=11002
                          [2020-08-10 10:57:26.407] [LOG] responding for port=11005
                          [2020-08-10 10:57:27.391] [LOG] << server got: M-SEARCH * HTTP/1.1
                          HOST: 239.255.255.250:1900
                          MAN: “ssdp:discover”
                          MX: 1
                          ST: urn:dial-multiscreen-org:service:dial:1
                          USER-AGENT: Chromium/78.0.3904.108 Linux

                          from 10.0.0.2:48010
                          [2020-08-10 10:57:27.392] [LOG] Search request from { address: ‘10.0.0.2’, family: ‘IPv4’, port: 48010, size: 167 }
                          [2020-08-10 10:57:27.394] [LOG] 10.0.0.0
                          [2020-08-10 10:57:27.400] [LOG] responding for port=11000
                          [2020-08-10 10:57:27.403] [LOG] responding for port=11001
                          [2020-08-10 10:57:27.405] [LOG] responding for port=11002
                          [2020-08-10 10:57:27.407] [LOG] responding for port=11005
                          [2020-08-10 10:59:06.529] [LOG] Shutting down server…
                          [2020-08-10 10:59:06.531] [LOG] Stopping module helper: updatenotification
                          [2020-08-10 10:59:06.533] [LOG] Stopping module helper: MMM-AlexaControl
                          [2020-08-10 10:59:06.535] [LOG] Stopping module helper: MMM-OnScreenMenu

                          S 1 Reply Last reply Reply Quote 0
                          • M Offline
                            Michael Schw. @sdetweil
                            last edited by

                            @sdetweil
                            Do you need anything else from the config.js file?

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

                              @Michael-Schw one of those discovery cycles should have returned new devices found

                              if you use Alexa phone app to look at devices, are they there? monitor, shutdown, restart?

                              Alexa echo devices only connect at 2.4ghz, so I don’t know what happens if a device I 5ghz only. will it get the ssdp query?

                              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

                                i redid my discovery and notice this

                                [2020-08-10 10:25:05.522] [LOG]    << server got: M-SEARCH * HTTP/1.1
                                HOST: 239.255.255.250:1900
                                MAN: "ssdp:discover"
                                MX: 15
                                ST: urn:Belkin:device:**
                                
                                 from 192.168.2.244:50000 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:93 Socket.<anonymous>)
                                [2020-08-10 10:25:05.523] [LOG]    Search request from { address: '192.168.2.244', family: 'IPv4', port: 50000, size: 107 } (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:94 Socket.<anonymous>)
                                [2020-08-10 10:25:05.524] [LOG]    192.168.2.0 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:95 Socket.<anonymous>)
                                [2020-08-10 10:25:05.525] [LOG]    responding for port=16000 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
                                [2020-08-10 10:25:05.526] [LOG]    responding for port=16001 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
                                [2020-08-10 10:25:05.527] [LOG]    responding for port=16002 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
                                [2020-08-10 10:25:05.528] [LOG]    responding for port=16003 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
                                [2020-08-10 10:25:05.528] [LOG]    responding for port=16004 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)
                                [2020-08-10 10:25:05.529] [LOG]    responding for port=16005 (/home/sam/MagicMirror.2.11/modules/MMM-AlexaControl/node_modules/node-fauxmo/src/SSDPService.js:18 response)

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Michael Schw. @sdetweil
                                  last edited by

                                  @sdetweil i did try to find it on my phone…and it worked but it cant do a thing.
                                  i found : restart Spiegel pm2
                                  spiegel refresh
                                  Spiegel Monitor
                                  stop Spiegel pm2

                                  which one does what?
                                  and can i speak german to alexa and can rename these names?
                                  everytime i tried Spiegel Monitor, what i believe is the toggle function it says:please configure the option vcgencmd.
                                  so do i have to put in this option vcgencmd instead of true?
                                  this is all i got:

                                  magicmirror@2.12.0 start /home/pi/MagicMirror

                                  DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

                                  [2020-08-10 17:26:01.656] [LOG] Starting MagicMirror: v2.12.0
                                  [2020-08-10 17:26:01.702] [LOG] Loading config …
                                  [2020-08-10 17:26:01.725] [LOG] Loading module helpers …
                                  [2020-08-10 17:26:01.729] [LOG] No helper found for module: clock.
                                  [2020-08-10 17:26:01.859] [LOG] Initializing new module helper …
                                  [2020-08-10 17:26:01.861] [LOG] Module helper loaded: updatenotification
                                  [2020-08-10 17:26:01.863] [LOG] No helper found for module: currentweather.
                                  [2020-08-10 17:26:01.865] [LOG] No helper found for module: weatherforecast.
                                  [2020-08-10 17:26:02.802] [LOG] Initializing new module helper …
                                  [2020-08-10 17:26:02.803] [LOG] Module helper loaded: MMM-AlexaControl
                                  [2020-08-10 17:26:02.810] [LOG] Initializing new module helper …
                                  [2020-08-10 17:26:02.811] [LOG] Module helper loaded: MMM-OnScreenMenu
                                  [2020-08-10 17:26:02.812] [LOG] All module helpers loaded.
                                  [2020-08-10 17:26:03.178] [LOG] Starting server on port 8080 …
                                  [2020-08-10 17:26:03.207] [INFO] You’re using a full whitelist configuration to allow for all IPs
                                  [2020-08-10 17:26:03.222] [LOG] Server started …
                                  [2020-08-10 17:26:03.224] [LOG] Connecting socket for: updatenotification
                                  [2020-08-10 17:26:03.226] [LOG] Connecting socket for: MMM-AlexaControl
                                  [2020-08-10 17:26:03.227] [LOG] MMM-AlexaControl helper, started…
                                  [2020-08-10 17:26:03.229] [LOG] Connecting socket for: MMM-OnScreenMenu
                                  [2020-08-10 17:26:03.230] [LOG] Sockets connected & modules started …
                                  [2020-08-10 17:26:03.806] [LOG] Launching application.
                                  [2020-08-10 17:26:07.569] [LOG] monitorToggle requested
                                  [2020-08-10 17:26:07.593] [LOG] Adding multicast membership for 127.0.0.1
                                  [2020-08-10 17:26:07.595] [LOG] Adding multicast membership for 10.0.0.2
                                  [2020-08-10 17:26:07.598] [LOG] server is listening on 11000
                                  [2020-08-10 17:26:07.600] [LOG] server is listening on 11001
                                  [2020-08-10 17:26:07.602] [LOG] server is listening on 11002
                                  [2020-08-10 17:26:07.603] [LOG] server is listening on 11005
                                  [2020-08-10 17:26:07.738] [INFO] Checking git for module: MMM-AlexaControl
                                  [2020-08-10 17:26:07.787] [INFO] Checking git for module: MMM-OnScreenMenu
                                  [2020-08-10 17:26:50.497] [LOG] << server got: M-SEARCH * HTTP/1.1
                                  HOST: 239.255.255.250:1900
                                  ST: ssdp:all
                                  MAN: “ssdp:discover”
                                  MX: 3

                                  from 10.0.0.7:50000
                                  [2020-08-10 17:26:50.513] [LOG] Search request from { address: ‘10.0.0.7’, family: ‘IPv4’, port: 50000, size: 1024 }
                                  [2020-08-10 17:26:50.563] [LOG] 10.0.0.0
                                  [2020-08-10 17:26:50.572] [LOG] responding for port=11000
                                  [2020-08-10 17:26:50.586] [LOG] responding for port=11001
                                  [2020-08-10 17:26:50.589] [LOG] responding for port=11002
                                  [2020-08-10 17:26:50.591] [LOG] responding for port=11005
                                  [2020-08-10 17:26:50.597] [LOG] << server got: M-SEARCH * HTTP/1.1
                                  HOST: 239.255.255.250:1900
                                  ST: upnp:rootdevice
                                  MAN: “ssdp:discover”
                                  MX: 3

                                  from 10.0.0.7:50000
                                  [2020-08-10 17:26:50.599] [LOG] Search request from { address: ‘10.0.0.7’, family: ‘IPv4’, port: 50000, size: 1024 }
                                  [2020-08-10 17:26:50.600] [LOG] 10.0.0.0
                                  [2020-08-10 17:26:50.605] [LOG] responding for port=11000
                                  [2020-08-10 17:26:50.607] [LOG] responding for port=11001
                                  [2020-08-10 17:26:50.608] [LOG] responding for port=11002
                                  [2020-08-10 17:26:50.610] [LOG] responding for port=11005
                                  [2020-08-10 17:26:50.614] [LOG] << server got: M-SEARCH * HTTP/1.1
                                  HOST: 239.255.255.250:1900
                                  ST: ssdp:all
                                  MAN: “ssdp:discover”
                                  MX: 3

                                  from 10.0.0.7:50000
                                  [2020-08-10 17:26:50.615] [LOG] Search request from { address: ‘10.0.0.7’, family: ‘IPv4’, port: 50000, size: 1024 }
                                  [2020-08-10 17:26:50.618] [LOG] 10.0.0.0
                                  [2020-08-10 17:26:50.624] [LOG] responding for port=11000
                                  [2020-08-10 17:26:50.627] [LOG] responding for port=11001
                                  [2020-08-10 17:26:50.628] [LOG] responding for port=11002
                                  [2020-08-10 17:26:50.631] [LOG] responding for port=11005
                                  [2020-08-10 17:26:50.634] [LOG] << server got: M-SEARCH * HTTP/1.1
                                  HOST: 239.255.255.250:1900
                                  ST: upnp:rootdevice
                                  MAN: “ssdp:discover”
                                  MX: 3

                                  from 10.0.0.7:50000
                                  [2020-08-10 17:26:50.636] [LOG] Search request from { address: ‘10.0.0.7’, family: ‘IPv4’, port: 50000, size: 1024 }
                                  [2020-08-10 17:26:50.638] [LOG] 10.0.0.0
                                  [2020-08-10 17:26:50.644] [LOG] responding for port=11000
                                  [2020-08-10 17:26:50.646] [LOG] responding for port=11001
                                  [2020-08-10 17:26:50.647] [LOG] responding for port=11002
                                  [2020-08-10 17:26:50.649] [LOG] responding for port=11005
                                  [2020-08-10 17:26:50.652] [LOG] << server got: M-SEARCH * HTTP/1.1
                                  HOST: 239.255.255.250:1900
                                  ST: ssdp:all
                                  MAN: “ssdp:discover”
                                  MX: 3

                                  from 10.0.0.7:50000
                                  [2020-08-10 17:26:50.653] [LOG] Search request from { address: ‘10.0.0.7’, family: ‘IPv4’, port: 50000, size: 1024 }
                                  [2020-08-10 17:26:50.654] [LOG] 10.0.0.0
                                  [2020-08-10 17:26:50.657] [LOG] responding for port=11000
                                  [2020-08-10 17:26:50.659] [LOG] responding for port=11001
                                  [2020-08-10 17:26:50.660] [LOG] responding for port=11002
                                  [2020-08-10 17:26:50.661] [LOG] responding for port=11005
                                  [2020-08-10 17:26:50.663] [LOG] << server got: M-SEARCH * HTTP/1.1
                                  HOST: 239.255.255.250:1900
                                  ST: upnp:rootdevice
                                  MAN: “ssdp:discover”
                                  MX: 3

                                  from 10.0.0.7:50000
                                  [2020-08-10 17:26:50.664] [LOG] Search request from { address: ‘10.0.0.7’, family: ‘IPv4’, port: 50000, size: 1024 }
                                  [2020-08-10 17:26:50.665] [LOG] 10.0.0.0
                                  [2020-08-10 17:26:50.668] [LOG] responding for port=11000
                                  [2020-08-10 17:26:50.670] [LOG] responding for port=11001
                                  [2020-08-10 17:26:50.672] [LOG] responding for port=11002
                                  [2020-08-10 17:26:50.674] [LOG] responding for port=11005
                                  [2020-08-10 17:26:50.680] [LOG] << server got: M-SEARCH * HTTP/1.1
                                  HOST: 239.255.255.250:1900
                                  ST: ssdp:all
                                  MAN: “ssdp:discover”
                                  MX: 3

                                  from 10.0.0.5:50000
                                  [2020-08-10 17:26:50.682] [LOG] Search request from { address: ‘10.0.0.5’, family: ‘IPv4’, port: 50000, size: 1024 }
                                  [2020-08-10 17:26:50.683] [LOG] 10.0.0.0
                                  [2020-08-10 17:26:50.686] [LOG] responding for port=11000
                                  [2020-08-10 17:26:50.688] [LOG] responding for port=11001
                                  [2020-08-10 17:26:50.689] [LOG] responding for port=11002
                                  [2020-08-10 17:26:50.690] [LOG] responding for port=11005
                                  [2020-08-10 17:26:50.692] [LOG] << server got: M-SEARCH * HTTP/1.1
                                  HOST: 239.255.255.250:1900
                                  ST: upnp:rootdevice
                                  MAN: “ssdp:discover”
                                  MX: 3

                                  from 10.0.0.5:50000
                                  [2020-08-10 17:26:50.693] [LOG] Search request from { address: ‘10.0.0.5’, family: ‘IPv4’, port: 50000, size: 1024 }
                                  [2020-08-10 17:26:50.694] [LOG] 10.0.0.0
                                  [2020-08-10 17:26:50.697] [LOG] responding for port=11000
                                  [2020-08-10 17:26:50.699] [LOG] responding for port=11001
                                  [2020-08-10 17:26:50.700] [LOG] responding for port=11002
                                  [2020-08-10 17:26:50.701] [LOG] responding for port=11005
                                  [2020-08-10 17:26:50.704] [LOG] << server got: M-SEARCH * HTTP/1.1
                                  HOST: 239.255.255.250:1900
                                  ST: ssdp:all
                                  MAN: “ssdp:discover”
                                  MX: 3

                                  from 10.0.0.5:50000
                                  [2020-08-10 17:26:50.705] [LOG] Search request from { address: ‘10.0.0.5’, family: ‘IPv4’, port: 50000, size: 1024 }
                                  [2020-08-10 17:26:50.708] [LOG] 10.0.0.0
                                  [2020-08-10 17:26:50.713] [LOG] responding for port=11000
                                  [2020-08-10 17:26:50.715] [LOG] responding for port=11001
                                  [2020-08-10 17:26:50.716] [LOG] responding for port=11002
                                  [2020-08-10 17:26:50.717] [LOG] responding for port=11005
                                  [2020-08-10 17:26:50.719] [LOG] << server got: M-SEARCH * HTTP/1.1
                                  HOST: 239.255.255.250:1900
                                  ST: upnp:rootdevice
                                  MAN: “ssdp:discover”
                                  MX: 3

                                  from 10.0.0.5:50000
                                  [2020-08-10 17:26:50.720] [LOG] Search request from { address: ‘10.0.0.5’, family: ‘IPv4’, port: 50000, size: 1024 }
                                  [2020-08-10 17:26:50.721] [LOG] 10.0.0.0
                                  [2020-08-10 17:26:50.724] [LOG] responding for port=11000
                                  [2020-08-10 17:26:50.726] [LOG] responding for port=11001
                                  [2020-08-10 17:26:50.727] [LOG] responding for port=11002
                                  [2020-08-10 17:26:50.728] [LOG] responding for port=11005
                                  [2020-08-10 17:26:50.730] [LOG] << server got: M-SEARCH * HTTP/1.1
                                  HOST: 239.255.255.250:1900
                                  ST: ssdp:all
                                  MAN: “ssdp:discover”
                                  MX: 3

                                  from 10.0.0.5:50000
                                  [2020-08-10 17:26:50.731] [LOG] Search request from { address: ‘10.0.0.5’, family: ‘IPv4’, port: 50000, size: 1024 }
                                  [2020-08-10 17:26:50.732] [LOG] 10.0.0.0
                                  [2020-08-10 17:26:50.735] [LOG] responding for port=11000
                                  [2020-08-10 17:26:50.737] [LOG] responding for port=11001
                                  [2020-08-10 17:26:50.738] [LOG] responding for port=11002
                                  [2020-08-10 17:26:50.740] [LOG] responding for port=11005
                                  [2020-08-10 17:26:50.744] [LOG] << server got: M-SEARCH * HTTP/1.1
                                  HOST: 239.255.255.250:1900
                                  ST: upnp:rootdevice
                                  MAN: “ssdp:discover”
                                  MX: 3

                                  from 10.0.0.5:50000
                                  [2020-08-10 17:26:50.745] [LOG] Search request from { address: ‘10.0.0.5’, family: ‘IPv4’, port: 50000, size: 1024 }
                                  [2020-08-10 17:26:50.747] [LOG] 10.0.0.0
                                  [2020-08-10 17:26:50.751] [LOG] responding for port=11000
                                  [2020-08-10 17:26:50.753] [LOG] responding for port=11001
                                  [2020-08-10 17:26:50.754] [LOG] responding for port=11002
                                  [2020-08-10 17:26:50.755] [LOG] responding for port=11005
                                  [2020-08-10 17:29:59.025] [LOG] Please configure the option vcgencmd
                                  [2020-08-10 17:31:37.427] [LOG] Please configure the option vcgencmd
                                  [2020-08-10 17:31:42.434] [LOG] Please configure the option vcgencmd
                                  [2020-08-10 17:32:02.023] [LOG] Stopping PM2 process: mm
                                  [2020-08-10 17:32:02.080] [LOG] Error: process or namespace not found
                                  at /home/pi/MagicMirror/modules/MMM-AlexaControl/node_modules/pm2/lib/API.js:1538:28
                                  at /home/pi/MagicMirror/modules/MMM-AlexaControl/node_modules/pm2/lib/Client.js:734:12
                                  at /home/pi/MagicMirror/modules/MMM-AlexaControl/node_modules/pm2-axon-rpc/lib/client.js:45:10
                                  at Parser. (/home/pi/MagicMirror/modules/MMM-AlexaControl/node_modules/pm2-axon/lib/sockets/req.js:67:8)
                                  at Parser.emit (events.js:200:13)
                                  at Parser._write (/home/pi/MagicMirror/modules/MMM-AlexaControl/node_modules/amp/lib/stream.js:91:16)
                                  at doWrite (_stream_writable.js:417:12)
                                  at writeOrBuffer (_stream_writable.js:401:5)
                                  at Parser.Writable.write (_stream_writable.js:301:11)
                                  at Socket.ondata (_stream_readable.js:713:22)
                                  [2020-08-10 17:32:11.797] [LOG] Stopping PM2 process: mm
                                  [2020-08-10 17:32:11.831] [LOG] Error: process or namespace not found
                                  at /home/pi/MagicMirror/modules/MMM-AlexaControl/node_modules/pm2/lib/API.js:1538:28
                                  at /home/pi/MagicMirror/modules/MMM-AlexaControl/node_modules/pm2/lib/Client.js:734:12
                                  at /home/pi/MagicMirror/modules/MMM-AlexaControl/node_modules/pm2-axon-rpc/lib/client.js:45:10
                                  at Parser. (/home/pi/MagicMirror/modules/MMM-AlexaControl/node_modules/pm2-axon/lib/sockets/req.js:67:8)
                                  at Parser.emit (events.js:200:13)
                                  at Parser._write (/home/pi/MagicMirror/modules/MMM-AlexaControl/node_modules/amp/lib/stream.js:91:16)
                                  at doWrite (_stream_writable.js:417:12)
                                  at writeOrBuffer (_stream_writable.js:401:5)
                                  at Parser.Writable.write (_stream_writable.js:301:11)
                                  at Socket.ondata (_stream_readable.js:713:22)
                                  [2020-08-10 17:32:31.117] [LOG] Shutting down server…
                                  [2020-08-10 17:32:31.119] [LOG] Stopping module helper: updatenotification
                                  [2020-08-10 17:32:31.120] [LOG] Stopping module helper: MMM-AlexaControl
                                  [2020-08-10 17:32:31.121] [LOG] Stopping module helper: MMM-OnScreenMenu

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

                                    @Michael-Schw said in MMM-AlexaControl or MMM-AlexaOn/Off setup:

                                    restart Spiegel pm2
                                    spiegel refresh
                                    Spiegel Monitor
                                    stop Spiegel pm2

                                    these names are device names.

                                    remember these are plugs, so the command is alex turn on (device name) , or alexa turn off (device name)

                                    there is a file in the translations directory for changing the device names… and language

                                    mine looks like

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

                                    my extension to this was to put the name between any 2 words
                                    reboot mirror = reboot [name] mirror

                                    my mirrors are named,
                                    office, hall, desk, desktop, catalina, nano

                                    I changed Monitor to Mirror
                                    (and also provided deviceName:??? in config)

                                    so I can say

                                    alexa turn off hall mirror

                                    U would say (unless u change the translations file, and redo disocvery, I think u have to delete the devices to get new name used)
                                    alexa turn off spiegel monitor

                                    alexa turn on spiegel refresh

                                    some of the verbiage is hard, but best u can do with on/off switches

                                    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 @Michael Schw.
                                      last edited by

                                      @Michael-Schw said in MMM-AlexaControl or MMM-AlexaOn/Off setup:

                                      [2020-08-10 17:29:59.025] [LOG] Please configure the option vcgencmd
                                      [2020-08-10 17:31:37.427] [LOG] Please configure the option vcgencmd
                                      [2020-08-10 17:31:42.434] [LOG] Please configure the option vcgencmd
                                      [2020-08-10 17:32:02.023] [LOG] Stopping PM2 process: mm

                                      do pm2 status
                                      the name there is the name of the pm2ProcessName: config option

                                      my config , on mirror system ‘desk’

                                      		{
                                      			module: "MMM-AlexaControl",
                                      			disabled: false,
                                      			position: "bottom_left",
                                      			config: {
                                      				deviceName: "desk",
                                      				image: false,
                                      				pm2ProcessName: "MagicMirror",
                                      				vcgencmd: "hide",
                                      				monitorToggle: true,
                                      				startPort: 16000,
                                      				reboot: true,
                                      				shutdown: true,
                                      				stop: true,
                                      			},
                                      		},
                                      

                                      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

                                        from the README.md

                                        
                                        ### Control devices
                                        These are configured devices you can use. If you want to change their name you must edit the translation file inside `/translations/en.json`. You can also add languages. 
                                        
                                        | Option            | Description
                                        | ----------------- | -----------
                                        | `refresh`         | This refreshs your Mirror. <br> ***Default value:*** `true` <br> ***Possible value:*** `true` and `false`
                                        | `restart`         | This restarts your Mirror with PM2. So make sure the `pm2ProcessName` is right. <br> ***Default value:*** `true` <br> ***Possible values:*** `true` and `false`
                                        | `stop`            | This stops your Mirror with PM2. So make sure the `pm2ProcessName` is right. <br> ***Default value:*** `true` <br> ***Possible values:*** `true` and `false`
                                        | `reboot`          | This reboots your Pi. <br> ***Default value:*** `false` <br> ***Possible values:*** `true` and `false`
                                        | `shutdown`        | This shutdowns your Pi. ***Note:*** When you shutdown the Pi your devices aren't available. So you must start your Pi manually. <br> ***Default value:*** `false` <br> ***Possible values:*** `true` and `false`
                                        | `monitorToggle`   | This can switch your monitor on and off. Make sure the used command work for you. Look at the option `vcgencmd` <br> ***Default value:*** `true` <br> ***Possible values:*** `true` and `false`
                                        
                                        

                                        devices not found

                                        1. Devices not found: <br>
                                            * Make sure that your Alexa and Pi are in the same Wifi. I had also the problem that my Pi was in the 2.4GHz Wifi and my Alexa in the 5GHz Wifi. It's only a problem when you discover the devices. To solve the problem disable one of the Wifis for a moment or turn the Wifi on your Pi on and off till it works.
                                        
                                            * Have you used the port before? Try every devices from the mirror. Probably the name is wrong. If that happen delete the device and discover for new devices. Define yourself ports for notification and custom devices to prevent this problem.
                                        
                                        

                                        NOT in the readme

                                        the startPort MUST BE different for each MagicMirror device

                                        the discovery records the ip address and port for each device, when an action is required, alexa send a web request to that ip and port. (which the module handles)

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        M 1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          Michael Schw. @sdetweil
                                          last edited by

                                          @sdetweil thank you for the help btw!!!

                                          ok i figured out that my tv which i use as the display (Samsung LE-32 C530) has HDMI-CEC so i tried it with that and it works after i installed the cec module.
                                          its just a shame that the tv needs 15 seconds to boot (EVERYTIME!!) and i cant disable the pop up on start which shows the source and the hdmi port used.

                                          How can i stop the standby mode for the raspberry pi? because if the screen is off for a certain time and i turn it on again it shows me a blank black screen until i press a button or mouve the mouse (which i don want to have connected later on).

                                          How can i make the mirror to autostart on booting the raspberry?

                                          I have no shutdown command. Can i safley turn off the pi with this? and if yes, how do i get it?

                                          I really wanna make this thing work perfectly. i even thinking of adding an ir frame to make it touchscreen =)

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

                                            @Michael-Schw if you don’t use pm2 you should, it will start at boot… if you didn’t install it with my scripted install, then use the fixuppm2.sh script from here
                                            https://github.com/sdetweil/MagicMirror_scripts

                                            just cut/paste that one line to run that script.

                                            shutdown and reboot are commands built in to linux

                                            sudo shutdown now (-r | -h, -r means reboot, -h means halt)
                                            sudo reboot , is the same as sudo shutdown -r

                                            turn off the pi screen saver, also see my screensaveroff script…
                                            (again if you had run my script as part of install, it would have prompted and done all this for you.
                                            my script is listed in the alternative install section of the MM doc)…

                                            none of my tvs support cec, so I created my own module for sleep (using a webcam for wakeup), it just hides all the modules,
                                            alexaControl supports that too (vgencmd:‘hide’)
                                            MMM-SleepWake

                                            my pis & tvs run 24x7

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            M 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
                                            • 5 / 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