MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. richland007
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 3
    • Topics 8
    • Posts 179
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm How do i read more log lines not only tailing the last 15 from pm2 logs mm ??
      This works so nicely with the only one device that it is starting (turn on and turn off the whole mirror) it is awesome… i am so hurt that i am unable to have the rest of the “devices/modules” working.

      If you want to have a look at my long a%$ :) config.js entry for the MMM-AlexaOnOff module here it is ;

      {
          module: 'MMM-AlexaOnOff',
          config: {
              //netInterface: 'wlan0',
              //startPort: 15000,
              devices: [{ 
                    name: "Clock Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_4_clock" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "modules_4_clock" }
                    },
      			  name: "Calendar Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_5_calendar" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_5_calendar" }
                    },
                                name: "Denis Calendar",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_6_calendar" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_6_calendar" }
                    },
      			  name: "Compliments Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_7_compliments" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_7_compliments" }
                    },
      			  name: "Gas Prices Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_8_MMM-Gas" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_8_MMM-Gas" }
                    },
      			  name: "Instagram Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_9_MMM-Instagram" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_9_MMM-Instagram" }
                    },
      			  name: "Page Indicator Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_11_MMM-page-indicator" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_11_MMM-page-indicator" }
                    },
      			  name: "Temperature Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_12_MMM-DHT-Sensor" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_12_MMM-DHT-Sensor" }
                    },
      			  name: "Weather Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_13_MMM-NOAA3" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_13_MMM-NOAA3" }
                    },
      			  name: "System Stats Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_14_MMM-SystemStats" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_14_MMM-SystemStats" }
                    },
      			  name: "Movie Listings Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_15_MMM-MovieListings" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_15_MMM-MovieListings" }
                    },
      			  name: "Thermostat Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_16_MMM-Ecobee" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_16_MMM-Ecobee" }
                    },
      			  name: "Alexa Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_17_MMM-AlexaPi" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_17_MMM-AlexaPi" }
                    },
      			  name: "Exchange Rate Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_20_MMM-LICE" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_20_MMM-LICE" }
                    },
      			  name: "Stocks Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_21_stocks" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_21_stocks" }
                    },
      			  name: "Traffic Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_22_MMM-GoogleMapsTraffic" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_22_MMM-GoogleMapsTraffic" }
                    },
      			  name: "My Commute Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_23_MMM-MyCommute" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_23_MMM-MyCommute" }
                    },
      			  name: "Camera Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_24_MMM-iFrame" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_24_MMM-iFrame" }
                    },
      			  name: "RSS Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_25_MMM-RSS-FEED" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_25_MMM-RSS-FEED" }
                    },
      			  name: "Fitbit Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_26_MMM-fitbit" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_26_MMM-fitbit" }
                    },
      			  name: "Google Fit Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_27_MMM-GoogleFit" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_27_MMM-GoogleFit" }
                    },
      			  name: "Horoscope Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_28_MMM-horoscope" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_28_MMM-horoscope" }
                    },
      			  name: "Phone Notification Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_29_phone_notification" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_29_phone_notification" }
                    },
      			  name: "TV Stream Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_30_MMM-RTSPStream" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_30_MMM-RTSPStream" }
                    },
      			  name: "Tiles Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_31_iFrame" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_31_iFrame" }
                    },
      			  name: "Spotify Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_32_MMM-NowPlayingOnSpotify" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_32_MMM-NowPlayingOnSpotify" }
                    },
      			  name: "Events Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_33_MMM-Events" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_33_MMM-Events" }
                    },
      			  name: "Nasa Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_34_MMM-NASA" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_34_MMM-NASA" }
                    },
      			  name: "Logo Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_35_MMM-SimpleLogo" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_35_MMM-SimpleLogo" }
                    },
      			  name: "Random Quotes Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_36_random_quotes" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_36_random_quotes" }
                    },
      			  name: "Bible Verse Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_37_MMM-DailyBibleVerse" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_37_MMM-DailyBibleVerse" }
                    },
      			  name: "Dropbox Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_39_MMM-DropboxWallpaper" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_39_MMM-DropboxWallpaper" }
                    },
      			  name: "Weather Background Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_40_MMM-Dummy" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_40_MMM-Dummy" }
                    },
      			  name: "News Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_43_MMM-Jnews" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_43_MMM-Jnews" }
                    },
      	      name: "Eva's Modules",
                    on: [
                        { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_6_calendar" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_14_MMM-SystemStats" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_21_stocks" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_25_MMM-RSS-FEED" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_26_MMM-fitbit" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_29_phone_notification" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_30_MMM-RTSPStream" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_31_iFrame" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_32_MMM-NowPlayingOnSpotify" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_34_MMM-NASA" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_43_MMM-Jnews" }
                    }
                    ],
                    off: [
                        { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_6_calendar" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_14_MMM-SystemStats" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_21_stocks" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_25_MMM-RSS-FEED" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_26_MMM-fitbit" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_29_phone_notification" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_30_MMM-RTSPStream" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_31_iFrame" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_32_MMM-NowPlayingOnSpotify" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_34_MMM-NASA" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_43_MMM-Jnews" }
                    }
                    ],
      	      name: "Denis Modules",
                    on: [
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_27_MMM-GoogleFit" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_9_MMM-Instagram" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "module_39_MMM-DropboxWallpaper" }
                    }
      			  ],
                    off: [
      			      {
      				  notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_27_MMM-GoogleFit" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "Show", module: "module_9_MMM-Instagram" }
                    },
      			      { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "module_39_MMM-DropboxWallpaper" }
                    }
                        ], 
                    name: "Mirror",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "MONITORON"}
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "MONITOROFF"}
                    },     
      			  
              }]
          }
      }
      

      It is only loading the last “device” named Mirror for (an all on/off feature) on port 21900.

      I tried changing the port start number to something else to no avail, i tried commenting out all but the last 2 of the devices still no luck…it only starts 1.

      Edit: I spoke too early on singing it praises if you give a command ( in my case all i have is one that makes the monitor go off and than on after you ask Alexa to turn Mirror On) after 2-3 minutes everything freezes and you absolutely can not interact with the mirror completely neither from putty /ssh or vnc (ctrl/alt/del) or keyboard input only a hard power reset is the solution it has happened twice. I did try it one last time before posting this, and right after “Alexa turn Mirror On” i hit ctrl+Q to quit MM and see what the CPU values were and they were right around 70% but they went immediately down to 1% and nothing happened no more freezing of the Rpi…weird!!! I really need to get you some more detailed logs

      Please help me solve this so i can turn my modules on and off
      Thank you for your prompt replies and patience
      Denis

      posted in System
      richland007R
      richland007
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm I don not see anything out of the ordinary in my logs when i do pm2 logs mm definitely not 36 ports open in addition to 29100 when i go to location ~/.pm2/logs the log files are there in the directory but empty.

      posted in System
      richland007R
      richland007
    • RE: MMM-MirrorMirrorOnTheWall installation issue

      @blackpanda OK well i think i got it to work but not really …it doesn’t seem like it is working right!!!
      I changed the alexa.appId = APP_ID but when i test Lambda it is still giving this error onthe Lamda Test: application Id must be unique.

      START RequestId: 12e0e369-111e-11e9-9390-b5c3e0fcc19a Version: $LATEST
      2019-01-05T19:14:08.827Z	12e0e369-111e-11e9-9390-b5c3e0fcc19a	The applicationIds don't match: amzn1.ask.skill.[unique-value-here] and amzn1.ask.skill.e0223a06-d061-48bd-9b1c-XXX9a950fcf
      2019-01-05T19:14:08.850Z	12e0e369-111e-11e9-9390-b5c3e0fcc19a
      {
          "errorMessage": "Invalid ApplicationId: amzn1.ask.skill.e0223a06-d061-48bd-9b1c-XXXX9a950fcf",
          "errorType": "Error",
          "stackTrace": [
              "AlexaRequestEmitter.ValidateRequest (/var/task/node_modules/alexa-sdk/lib/alexa.js:157:27)",
              "HandleLambdaEvent.i18n.use.init (/var/task/node_modules/alexa-sdk/lib/alexa.js:123:29)",
              "/var/task/node_modules/i18next/dist/commonjs/i18next.js:190:9",
              "done (/var/task/node_modules/i18next/dist/commonjs/i18next.js:281:21)",
              "/var/task/node_modules/i18next/dist/commonjs/i18next.js:302:7",
              "I18n.loadResources (/var/task/node_modules/i18next/dist/commonjs/i18next.js:238:7)",
              "I18n.changeLanguage (/var/task/node_modules/i18next/dist/commonjs/i18next.js:301:10)",
              "load (/var/task/node_modules/i18next/dist/commonjs/i18next.js:186:14)",
              "I18n.init (/var/task/node_modules/i18next/dist/commonjs/i18next.js:195:7)",
              "AlexaRequestEmitter.HandleLambdaEvent (/var/task/node_modules/alexa-sdk/lib/alexa.js:114:32)"
          ]
      }
      
      END RequestId: 12e0e369-111e-11e9-9390-b5c3e0fcc19a
      REPORT RequestId: 12e0e369-111e-11e9-9390-b5c3e0fcc19a	Duration: 208.20 ms	Billed Duration: 300 ms Memory Size: 128 MB	Max Memory Used: 65 MB	
      

      On a good note:
      When i start the MMM-MirrorMirrorOnTheWall now i can see:

      cd ~/MagicMirror
      Display=:0 npm start
      

      Connected to AWS IoT:
      Subscribed: etc etc …for all 4: new-text, new-images, change-module, new-video just like yours so it is connected to IoT

      However when i go to developer.alexa site and try to build the new interaction model using the drag and drop template i get this error
      0_1546714955602_amazonliteral.png

      Again the Interaction Model Is the stock one that comes with the package form github

      Lets get this sucker going it is driving me nuts… i can confirm that the AppID is the right one

      Denis

      posted in Troubleshooting
      richland007R
      richland007
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm Where do i see the logs??
      When i use

      netstat -tulpn | grep electron
      

      It only show that 1 one port 0.0.0.0:21900 Listen

      D

      posted in System
      richland007R
      richland007
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm Ok so it works BUT it is only finding the last device on my list of the config.js file module entry when there are 36 others there. I tried discovery like 20 times from the website.
      Should i try adding them one by one from the bottom up by commenting them out and adding them one by one …unless you got any other ideas :)

      D

      posted in System
      richland007R
      richland007
    • RE: MMM-MirrorMirrorOnTheWall installation issue

      @oceank I haven’t gotten the chance to give it another try but i will soon :)
      Did you do the changes that @blackpanda suggested ?? whats it telling you now??

      @blackpanda It took me a while to realize that it says MagicMirror but on our MirrorMirror.js file the ClienId is MirrorMirror so i changed that and i uploaded on Lambda and i made the appropriate policy changes on the IoT to reflect my arn:aws and my number nut just copy paste yours
      but when i test Lambda now i get this error: The applicationIds don’t match: amzn1.ask.skill.[unique-value-here] and amzn1.ask.skill.e0223a06-d061-48bd-9b1c-3XXXXa950fcf

      And the app ID has not changed?? And also when i go to test the skill now on the Alexa developer side now i dont even get"Hello My queen…" i used to get it just goes straight to there was a problem with the requested skills response.

      What else do i need to change cause i doubt there is anything major …has the syntax changed again appID or aplicationId etc???

      Thank you any help is greatly appreciated
      D

      posted in Troubleshooting
      richland007R
      richland007
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm All right so i got it to work :) i have not fully tested yet with all my modules (i have 37 of them) but i did it with one and it works.

      So this is what i did:

      1. I ran the FauxMo example just like you said and it activates on ports 11000 and 11001
        I than went on alexa.amazon.com from my desktop and that is where i did the device discovery that found those sample devices… from my local echo it would not find anything.
      2. I went on the MMM-AlexaOnOff.js file and changed the minimum required version to 2.4.1 which is what i have (others if they happen to look into this forum thread should change it according to theirs)
      3. I activated my sample 1 module on/off on my config.js and Alexa did find it but it did not do anything until i changed the name of the module to “module_6_MMM-horoscope” again just like you said above and than it worked :)

      One last question: Through MMM-AlexaOnOff i want to create another on/off device called “Mirror” utilizing MMM-Remote-Control, that on On will send the command MONITORON and on Off with send the command MONITOROFF So will this work…I have no clue but just by dissecting your code???

      { 
                    name: "Mirror",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "MONITORON"}
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "MONITOROFF"}
                    },
      

      Do you think i will have any issues with 37 modules??
      I want to add them all on my config. js file before i run discovery on Alexa

      Thank you
      Denis

      posted in System
      richland007R
      richland007
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm When i try to run the FauxMo example i see that it says: started …
      but there is no service running on port 21900 when i do “netstat -tulpn”
      I get a bunch of services running but none on that port.
      And when i try to discover devices, Alexa comes up saying that no new ones were found agian… so no Office Lamp and no Office Fan

      I am running Magic Mirror M 2.4.1
      Node version is: v6.13.0
      Rasbian Stretch 9.6 release (it is updated and upgraded as of today but i do not know if it is the lates release since i have been playing with it for a while)

      one more time with some more explanation on the MMM-Remote-Control names please… i did not quite get it where would i find the names again and are they numbered by MMM-Remote-Control according to their place that they have on my congfig.js list ??

      thank you for your help
      Denis

      posted in System
      richland007R
      richland007
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm Here is my config.js entry

      {
          module: 'MMM-AlexaOnOff',
          config: {
              devices: [{ 
                    name: "Horoscope Module",
                    on: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "SHOW", module: "MMM-horoscope" }
                    },
                    off: { 
                      notification: "REMOTE_ACTION",
                      payload: { action: "HIDE", module: "MMM-horoscope" }
                    },
              }]
          }
      },
      

      and there is the pm2 logs

      (the forum wont allow me to add a picture for some reason) but its all green when it comes to MMM-AlexaOnOff

      I am on wifi on the same network as the echo, i am using IPv4 and of course on Rpi

      I wish i could send you the picture of the pm2 logs… it says:
      Connecting socket for: AlexaOnOff
      Module helper started for module AlexaOnOff
      Sockets connected & Module started

      What do you think?? i do not see any errors

      D

      posted in System
      richland007R
      richland007
    • RE: Spotify Play?

      @rasmus-rytter First you have to have a premium Spotify account to play outside authorized Spotify devices (google home device is a different story) and if you have Spotify Premium you need to install raspotify on your Raspberry Pi (if that is what you are using) and than you can sling music to it from your phone or ask google to play Spotify on your mirror.
      So 2 things:

      1. Spotify premium
      2. You dont play it on the Magic Mirror per say or form the module you play it form the outside of the mirror in if i am making any sense …the MMM-NowPlayingOnSpotify does exactly that …displays whats playing on your Spotify at that time whether in your phone, tablet or mirror but just displays the info and art that is it …it does not play the music.
        Raspotify is the one that does play the music
        D
      posted in Bug Hunt
      richland007R
      richland007
    • RE: MMM-MirrorMirrorOnTheWall installation issue

      @blackpanda Hey thank you for reviving the topic and happy new year.
      Quick question were do i find the ‘AWS IoT>Secure>Policies’
      so i can make the necessary changes at??

      Is it over on the MirrorMirrorOnTheWallSkill i have a aws-iot-device-sdk folder under src/node_modules but there is no Secure sub folder in it!!!

      D

      posted in Troubleshooting
      richland007R
      richland007
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm Hey thank you for your reply and happy new year.
      I am convinced that my config.js entry (i use MMM-RemoteControl) are ok following your example.
      however i do not see any

      FauxMo service started. Listening on 192.168.1.xxx:21900
      

      And when i run the

      netstat -tulpn | grep electron
      

      command i do not see a net service listening under the port 21900 either

      I have unistalled and installed the MMM-AlexaOnOff module a couple of times and made sure that i have run npm install inside the cloned module folder but for some reason it is not doing what it is supposed to be doing not installing right

      what do you think may be causing it??
      D

      posted in System
      richland007R
      richland007
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @morelinux yes they sure are.
      when the MM starts i do not get any errors on the MMM-AlexaOnOff or anything
      I do not know if there is a debug mode for the module…i am stuck
      please @shbatm help me
      I also uninstall and re -installed it from the beginning and nothing changed.
      I am dumb founded

      D

      posted in System
      richland007R
      richland007
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @morelinux See my Alexa is not finding any wemo devices at all from the beginning every time i asked to discover devices after installing the module no wemo’s were found.
      i have plenty of other home automation devices but no wemo’s or virtual wemo’s in this case.

      posted in System
      richland007R
      richland007
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm @MoreLinux I tried doing only one module and deleteing everything and re discovering again but it did not find any new devices … i am not getting what am i doing wrong but i am sure it is something on my end
      Is there a way and where do i look for errors??
      can i see someones config .js portion of the module??

      thank you in advance
      D

      posted in System
      richland007R
      richland007
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm Hey there happy weekend :)
      I installed the module and updated the config.js file but Alexa is unable to find any new devices in my case.
      What am i doing wrong ??
      I did git clone to my modules folder (as i have done with all other modules) than cd to MMM-AlexaOnOff than npm install after install i added the module into the config .js but when i ask Alexa form my Echo dot to discover new devices it says no new devices were found??
      My Rpi is connected via wifi to my network.

      As i have said before i do have a large number of modules but i will try it with just only one as well and see whats up.

      Please let me know what my next step should be
      any help is greatly appreciated
      thank you again
      D

      posted in System
      richland007R
      richland007
    • RE: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)

      @shbatm Hey there thank you again for this module … i opened this thread here
      https://forum.magicmirror.builders/topic/9326/an-additional-config-js-per-say
      I am trying to install MMM-AlexaOnOff but i have a lot of modules that i will have to write lines about on and off and than some combination on and offs (that will turn the modules for my wife on and hide mine and vice versa) so one could imagine how long that module config in config.js is going to get.

      @bhepler had some ideas on the last post of that thread similar to the default “compliments” module that may be implemented to reference the MMM-AlexaOnOff config.js entry as a separate file for some of us with lots of modules.

      Can you help me please on how i can modify my settings so i can achieve this.
      in the mean time i am about done referencing all my modules on the regular way of adding this to config.js and will give that long file a try where MMM-AlexaOnOff confi part alone is some 400 lines in my case LOL :)

      Thank you and happy new year’s
      Denis

      posted in System
      richland007R
      richland007
    • RE: An "additional" config.js per say

      @bhepler Yes i think you are right…dang it.
      Is there a way to achieve what i am trying to do without writing this big module onto my config.js ???
      Probably not but worth asking i think
      thank you for your reply
      Denis

      posted in General Discussion
      richland007R
      richland007
    • An "additional" config.js per say

      Hi all and Merry Christmas,
      Sometime ago i read about either a module or a feature of MM, that someone could use in case the actual config.js got too big and long…however now for the life of me i can not find out where did i read about that and what it was .
      It was something that could reference an other config file of some sort if you did not want to overload the actual config.js.
      I am trying to install MMM-AlexaOnOff but i have a lot of modules that i will have to write lines about on and off and than some combination on and offs (that will turn the modules for my wife on and hide mine and vice versa) so one could imagine how long that module config is going to get.
      Can someone point me into the right direction please and thank you??

      D

      posted in General Discussion
      richland007R
      richland007
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      Found it myself what it was causing it …it needed “udp” protocol on MM config.js for MMM_RTSPStream …why, i have no clue but i figured that parameter would be the only one that may make a difference and it worked :)
      D

      posted in Utilities
      richland007R
      richland007
    • 1 / 1