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

    Posts

    Recent Best Controversial
    • RE: [Guide] Control MM via Google Home

      Ok so i got it to work with MMM-Remote-Control, So now i am wondering how can you have multiple commands, like send multiple notifications to for ex. turn on and off the monitor? Any ideas? @Sean

      posted in General Discussion
      S
      sgarg15
    • RE: [Guide] Control MM via Google Home

      its not the this module its MMM-OnScreenMenu, because when i click the turn the monitor off button on the menu, nothing happens

      Any ideas how to fix this ?

      posted in General Discussion
      S
      sgarg15
    • RE: [Guide] Control MM via Google Home

      Any ideas anyone?

      posted in General Discussion
      S
      sgarg15
    • RE: [Guide] Control MM via Google Home

      @sdetweil Idk some people got this too work, and i have been looking for something like this for a long time,
      @Sean When you get time please do have a look

      Thanks and sorry for multiple pings

      posted in General Discussion
      S
      sgarg15
    • RE: [Guide] Control MM via Google Home

      @sdetweil the notification is being but it isnt doing anything to the monitor

      posted in General Discussion
      S
      sgarg15
    • RE: [Guide] Control MM via Google Home

      @Sean So i followed all the steps and looked at the conversation you had with smackenzie, but i still cant get my monitor to turn off, here my
      config.js

          {
          			module: 'MMM-OnScreenMenu',
          			position: 'bottom_right',
      		},
          {
          module: "MMM-NotificationTrigger",
          config: {
            useWebhook: true,
            triggers: [
              {
                trigger: "MONITOR_OFF_FROM_IFTTT",
                fires: [
                  {
                    fire: "ONSCREENMENU_PROCESS_ACTION",
                    payload: {"actionName": "monitorOff"}
                  }
                ]
              }
            ]
          }
          },
      
      

      IFTTT request

      { "notification": "MONITOR_OFF_FROM_IFTTT", "payload": null }
      

      and here the log when i say Magic (the keyword)

      reqpost? { notification: 'MONITOR_OFF_FROM_IFTTT', payload: null }
      
      posted in General Discussion
      S
      sgarg15
    • RE: [Guide] Control MM via Google Home

      Also if i were using MMM-Remote-Control besides MMM-OnScreenMenu, how would it work?

      posted in General Discussion
      S
      sgarg15
    • RE: [Guide] Control MM via Google Home

      @Sean If possible could you give an example of how our config file should look like if we wanted to use the google home to turn on and off the monitor?

      posted in General Discussion
      S
      sgarg15
    • RE: Hi, there is a new Alexa Module

      @sdetweil you usually go into the app and then click set up new device and it searches for a device and for me when it searches it cant find any device

      posted in General Discussion
      S
      sgarg15
    • RE: Hi, there is a new Alexa Module

      @JoChef2 I dont think it works, i downloaded it and did npm install, and my config is like this

          {
            module: 'MMM-AlexaControl',
            position: 'middle_center',
            config:{
              image: false,
              pm2ProcessName: "MagicMirror",
              vcgencmd: "vcgencmd",
            }
          },
      

      and my google home mini is unable to detect the magic mirror

      posted in General Discussion
      S
      sgarg15
    • RE: Hi, there is a new Alexa Module

      @JoChef2 Will this module work with a google home mini?

      posted in General Discussion
      S
      sgarg15
    • MMM-AlexaOnOff can't find device

      Re: [MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)
      @sdetweil is this module still working, because i tried it out and my google home mini cant find the device ?

      posted in System
      S
      sgarg15
    • RE: MMM-Remote-Control API Questions

      @sdetweil so, i have my python script running in the background, and in my nodeHelper.js i would have

      import {PythonShell} from 'python-shell';
      
      let pyshell = new PythonShell('Swiping.py');  // < --- whatever your script name, in the module folder
       
      // the .on handler gets called each time the pythin script writes a message to stdout
      pyshell.on('message', function (message) {
        // received a message sent from the Python script (a simple "print" statement)
        console.log(message);
        // send info up to modulename.js
        this.sendSocketNotification("movement", message)
      });
      

      could you explain what movement and message mean in the sendSocketNotification?

      posted in Troubleshooting
      S
      sgarg15
    • RE: MMM-Remote-Control API Questions

      @sdetweil Also how do i make it so that the python file is always running?

      posted in Troubleshooting
      S
      sgarg15
    • RE: MMM-Remote-Control API Questions

      @sdetweil

      var dataFile=["Archer S01E02Someshow.tv",
      "Archer S01E03Someshow .tv",
      "Archer S01e02Someshow .tv",
      "Archer S01E04Someshow .tv",
      "Archer S01E05someshow .tv",
      "Archer s01E02Someshow .tv",
      "Archer S01E09Someshow .tv",
      ]
      var counter1=10
      
      
                          if(dataFile){
                              var output_list= [];
                              // should make this a config variable by adding to module defaults
                             // then would be this.config.counter
                             // get display limit, 10 if not specified in defaults
                             var counter=counter1 || 10
                              // setup regex, no i  no g (only once, and case sensitive)
                              var splitRegExp = /.*[S][(0-9)]+[E][(0-9)]+/;
                              // loop thru the list of filenames
                              for(filename of dataFile) {
                                  // if the name is not zero length (split could have returned for just linefeed
                                  if(filename.length >0 && counter >0) {
                                     // get the filename prefix
                                     var split = splitRegExp.exec(filename);
                                     // save name to the output list, as a table entry
                                     // remove space after the ->< , the forum hides everything after unless a space
                                     // table has a row, 
                                     output_list.push("<tr><td>")
                                     // with data
                                     if(split)
                                        output_list.push(split)
                                     else 
                                         output_list.push('name not matched '+ filename)
                                     // end of data and row
                                     output_list.push("</td></tr>")
                                     counter--;
                                  } 
                              }  
                          }
                              // insert the table into the wrapper
                  console.log( "<table>" + output_list.join('')+ "</table>");
      

      This correct?

      posted in Troubleshooting
      S
      sgarg15
    • RE: MMM-Remote-Control API Questions

      @sdetweil This may be a stupid question, but is there any way i can test this on my laptop, without the raspberry pi?

      posted in Troubleshooting
      S
      sgarg15
    • RE: MMM-Remote-Control API Questions

      @sdetweil If possible could you please give me an example of how i would do it, i dont know much about js. and i looked at the MMM-Swipe but i couldnt understand much

      posted in Troubleshooting
      S
      sgarg15
    • RE: MMM-Remote-Control API Questions

      If anyone else who understands the API could help me out i would really appreaciate it as well @sdetweil

      posted in Troubleshooting
      S
      sgarg15
    • RE: MMM-Remote-Control API Questions

      If you could help me achieve this, or give me some info that could help me do this i would really appreciate it

      posted in Troubleshooting
      S
      sgarg15
    • 1 / 1