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

    Posts

    Recent Best Controversial
    • RE: Hiding and Showing iFrame Module

      Hi Chrisyy

      Ye i have been looking and looked on that one also. But i dont believe it will work. I mean it could work as shell and change it from there.

      First thing is trying to figure out how to config.js file in order for it not to show the iframe on MM. maybe something like false or true. and then trying to get the voice control to toggle between the two. But like i said i have been looking at a lot of voice control modules and i dont know if its me or its just i dont think they would do the trick.

      Plus i dont really know how to code. I wish i did sometimes i can figure stuff out but this one is a bit hard for me.

      posted in Requests
      E
      eugekiller
    • Hiding and Showing iFrame Module

      Hi guys wondering if anyone can guide me to the right place if anything like this exists.

      So i would like to hide or show iframe on my MM.
      Would like to do it with Voice but at this point just want to hear any way possible.

      I have a RPI 3 with mic and camera. The iFrame plays a youtube playlist. So it would be nice to be like “Play Youtube” and it opens and “Close Youtube”

      If nothing like this exists i am willing to offer $100 through paypal for the services.

      posted in Requests
      E
      eugekiller
    • RE: VoiceControl module

      Is it possible to use this VoiceControl to hide iFrame and show iFrame

      posted in Utilities
      E
      eugekiller
    • RE: Display web widget on mirror through iFrame?

      Thank You Guys worked like a charm. :)

      posted in Troubleshooting
      E
      eugekiller
    • RE: Display web widget on mirror through iFrame?

      @yawns said in Display web widget on mirror through iFrame?:

      {
      module: ‘iFrame’,
      position: ‘bottom_bar’, // This can be any of the regions.
      config: {
      // See ‘Configuration options’ for more information.
      url: “https://www.youtube.com/embed/6kgH6kqNuWM?list=PL24DEF584E7DBB4CF”,
      width: “50px”, // Optional. Default: 100%
      height: “50px”, //Optional. Default: 100px
      }
      },

      Thanks that did it :). But one question any way to make it auto play?
      Right now it loads it but i have to use the mouse to hit play on it.

      posted in Troubleshooting
      E
      eugekiller
    • RE: Display web widget on mirror through iFrame?

      Hi I am also having the same problem. I am trying to load a youtube playlist to iFrame. I cloned iFrame in to modules, then navigated in to it did npm install. Then put this in config.js

      var config = {
      port: 8080,

      language: 'en',
      timeFormat: 12,
      units: 'imperial',
      
      modules: [
      	{
      		module: 'alert',
      	},
      	{
      		module: 'clock',
      		position: 'top_right'
      	},
      	{
      		module: 'currentweather',
      		position: 'top_left',
      		config: {
      			location: 'New York',
      			locationID: '',  //ID from http://www.openweathermap.org
      			appid: '2159d1e91ad638a2b6face1e0cc76bce'
      		}
      	},
      	{
      		module: 'weatherforecast',
      		position: 'top_left',
      		header: 'Weather Forecast',
      		config: {
                    location: 'Totowa',
      			locationID: '5105455',  //ID from http://www.openweathermap.org
                       appid: '2159d1e91ad638a2b6face1e0cc76bce'
      		}
      	},
                  {
      		module: 'calendar',
      		header: 'Oksanas Calendar',
      		position: 'top_left',
      		config: {
      			calendars: [
      				{
      					symbol: 'calendar-check-o ',
      					url: 'NONE'
      				}
      			]
      		}
      	},
                  {
      		module: 'calendar',
      		header: 'TYLER JOBS',
      		position: 'top_right',
      		config: {
      			calendars: [
      				{
      					symbol: 'calendar-check-o ',
      					url: 'NONE'
      				}
      			]
      		}
      	},
      	{
      		module: 'calendar',
      		header: 'SHANE JOBS',
      		position: 'top_right',
      		config: {
      			calendars: [
      				{
      					symbol: 'calendar-check-o ',
      					url: 'NONE'
      				}
      			]
      		}
      	},
                  {
      module: 'MMM-Traffic',
      header: 'OFFICE DRIVE',
      position: 'bottom_right',
      classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name
      config: {
          api_key: 'NONE',
          mode: 'driving',
          origin: '43 Madison St, Pequannock Township, NJ 07440',
          destination: '99 Dell Glen Avenue, Lodi, NJ 0764',
          arrival_time: '', //optional, but needs to be in 24 hour time if used.
          route_name: 'Home to Work',
          changeColor: true,
          showGreen: false,
          limitYellow: 5, //Greater than 5% of journey time due to traffic
          limitRed: 20, //Greater than 20% of journey time due to traffic
          traffic_model: 'pessimistic',
          interval: 120000 //2 minutes
      }
      },
      	{
      module: 'MMM-Traffic',
      header: 'Oksana Russian Office',
      position: 'bottom_left',
      classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name
      config: {
          api_key: 'NONE',
          mode: 'driving',
          origin: '43 Madison St, Pequannock Township, NJ 07440',
          destination: '45 U.S. 46, Ridgefield Park, NJ 07660',
          arrival_time: '', //optional, but needs to be in 24 hour time if used.
          route_name: 'Home to Work',
          changeColor: true,
          showGreen: false,
          limitYellow: 5, //Greater than 5% of journey time due to traffic
          limitRed: 20, //Greater than 20% of journey time due to traffic
          traffic_model: 'pessimistic',
          interval: 120000 //2 minutes
      }
      },
                    {
          module: 'iFrame',
          position: 'bottom_bar', // This can be any of the regions.
          config: {
              // See 'Configuration options' for more information.
                  url: "<iframe width="560" height="315" src="https://www.youtube.com/embed/6kgH6kqNuWM?list=PL24DEF584E7DBB4CF" frameborder="0" allowfullscreen></iframe>"
                  width: "50px" // Optional. Default: 100%
                  height: "50px" //Optional. Default: 100px
              }
          }
      },
                    {
      		module: 'newsfeed',
      		position: 'top_bar',
      		config: {
      			feeds: [
      				{
      					title: "NEWS 12",
      					url: "http://newjersey.news12.com/cmlink/1.4124770#"
      				}
      			],
      			showSourceTitle: true,
      			showPublishDate: true
      		}
      	},
      ]
      
      posted in Troubleshooting
      E
      eugekiller
    • Video Player

      Hi so i wanted to play music videos that are saved on rpi. Like the simple player thats out there. Was wondering if there is anything like that out there.
      Also looking to use voice control to switch videos.

      posted in Requests
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      @sebzx10r Can you load MM with pm2 start mm.sh?

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      @sebzx10r The way i did it also is used WinSCP to shh in to raspberry.

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      @sebzx10r Its directory is /etc/init.d/pm2-init.sh

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      BINGO Got it to work. Not sure if others had a problem with this or its something new. but here it is.

      However, there is a bug on the generated startup script that prevents PM2 from automatically run at startup. You will need to edit /etc/init.d/pm2-init.sh and

      replace: export PM2_HOME=“/root/.pm2”
      with: export PM2_HOME=“/home/pi/.pm2”

      Got this from here: https://bekti.io/automatically-start-a-node-js-application-on-raspberry-pi/

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      Ok so i started doing some more digging. First i have a question PM2 does it actually load MM from a full reboot? meaning power off to RPI and a full start.

      The reason i ask is because
      When i open terminal in RPI and type npm start from MM directory it loads MM without any problems. Then i hit Ctrl Q it quits.
      Then i do PM2 list and gives me 0 apps running.
      Then I do pm2 start mm.sh again loads MM without a problem. Then i hit Ctrl Q it exits MM for about 10sec and then loads it back. During the 10sec I did pm2 list again and it said MM is running.

      So I dont think PM2 is actually loading MM from a full reboot.

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      Ok so i also tryed to do pm2 lists and there is nothing in the list. Does that mean anything?

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      Well Just reinstalled PM2 and still nothing. Using this guide not sure if everything is correct on that. https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

      Is there a way to see if PM2 is even trying to load MM on start up. Or maybe something wrong with this command:
      cd ~/MagicMirror
      DISPLAY=:0 npm start

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      Yes it did I will try to uninstall and install it back. Thanks B.

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      Noobs is the PI noobs interface almost like a windows (https://www.raspberrypi.org/downloads/noobs/). From there i can select terminal and then i get the pi@raspMirror:~ $. PM2 seems to work and is linked because when i type pm2 start mm.sh it does load MM. So I assume that PM2 is linked with MM since i can load it through PM2. So for some reason PM2 is just not loading it on start up.

      Ok so i did the config option that you said and still no luck. Is there a way to uninstall PM2 so i can try to reload it again?

      posted in Troubleshooting
      E
      eugekiller
    • RE: PM2 MM2 Not starting on start up

      Ok so i figured out how to exit out of MM. But its still not starting after reboot. Can anyone help me or is there anything i can try to do.

      posted in Troubleshooting
      E
      eugekiller
    • PM2 MM2 Not starting on start up

      Ok so i got everything set up installed pm2. I am able to start pm2 and also MM “pm2 start mm.sh” load fine but when i reboot the raspberry pi 3 it doesn’t load in to MM it loads in to NOOB. Not sure what i did wrong.

      The one thing i had a problem with is when starting MM through pm2 your supposed to exit it and save settings. Problem was i didnt know how to exit so i rebooted rpi. So my question here is also how do you exit MM? :(

      posted in Troubleshooting
      E
      eugekiller
    • RE: MMM-Nest

      Hi I was wondering if some one can give me a hand with this Module.
      So i am trying to set this up and have a dum question. How do you “Run getToken.sh”

      How would i put that in to the terminal?

      I Know i would direct it to the MMM-Nest folder and then from there would i put “npm start getToken.sh”

      posted in Utilities
      E
      eugekiller
    • RE: Touch Screen MM??

      Any way you can point me to the module?
      I did order rpi 3 and the camera for it. I am guessing the motion will have to work through that camera.

      posted in General Discussion
      E
      eugekiller
    • 1 / 1