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

    Posts

    Recent Best Controversial
    • RE: module for mm background

      I’ve been using MMM-BackgroundSlideshow, it allows me to randomly display an image from 1000’s stored in a many level folder structure on my NAS.

      posted in Requests
      R
      rts58
    • RE: MMM-Awesome-Alexa - Hide/ShowModules and other

      I know you can do this with MMM-AlexaOnOff. Or perhaps you can see how it is done there and do something similar with MMM-Awesome-Alexa?

      posted in Development
      R
      rts58
    • RE: Considering taking donations to support the MagicMirror project. Interested in your thoughts!

      I’m quite new and have enjoyed this forum, but don’t know how long I’ll be hanging around. It looks to me like those that have posted above me are already some of your greatest contributors - with their time, skills and help. I also don’t know much about ad revenues or the amount of traffic your forum is getting. I would suspect though, that you will be better off getting some corporate sponsorship and allowing some non-intrusive ads. I do run an adblocker but it is simple enough to require white listing to view content. I don’t mind the ads if they are relevant and not obnoxious. I’m a paypal fan myself.

      And thanks for what you have built over the last 5 years, it is truly wonderful.

      posted in MagicMirror
      R
      rts58
    • RE: MONITORON on does not work in schedule

      Re: MONITORON on does not work in schedule

      So for the last two days, this has been working correctly. I think it may be a combination of @dazza120 fix to my config, not messing with the pi for a full 2 days to let it fully run through it’s schedule, and removing openGL.

      posted in Troubleshooting
      R
      rts58
    • RE: Application not starting when OpenGL is enabled

      @anthony Hi, I found this post maybe it will help? Also, custom.css is for all modules is in the css directory.

      @strawberry-3-141 said in MMM-forecast-io -- Localized up to the minute weather:

      .MODULENAME {
        transform: scale(0.5, 0.5);
      }
      

      if you replace modulename with your actual module name, this should give you a height and with of 50% of the actual size

      posted in Troubleshooting
      R
      rts58
    • RE: Application not starting when OpenGL is enabled

      @dazza120 Thanks, I’m not using video, so I’ll look into this. I’ll also look at system stats.

      posted in Troubleshooting
      R
      rts58
    • RE: A way to add image name to MMM-BackgroundSlideshow?

      FWIW, I did manage to do this. I added a line 155 to the MMM-BackgroundSlideshow.js:

      image.src = encodeURI(this.imageList[this.imageIndex]);
      this.sendNotification("IMAGEFILEPATH", image.src); //my stuff
      
      

      Then I created a small module that displayed the notification.

      Module.register("MMM-ShowMessage", {
      	defaults: {},
      	getDom: function() {
      		var element = document.createElement("div");
      		element.className = this.config.size;
      		element.id = "IMGPATHFILE";
      		return element;
      	},
      	notificationReceived: function(notification, payload, sender) {
      		switch(notification) {
      			case "IMAGEFILEPATH":
      			        var elem = document.getElementById("IMGPATHFILE")
      				var subpayload = payload.substring(53)
      				elem.innerHTML = subpayload
      				break
      		}
      	},
      });
      

      In my config.js I just added:

      {
      	module: "MMM-ShowMessage",
      	position: "bottom_left",
      		config: {
      			size: "small"
      			}
      },
      
      

      Now each time the image changes a notification is sent and picked up by the show message module which displays it on screen. I trim the path because the beginning was consistent among all the pictures.

      posted in General Discussion
      R
      rts58
    • RE: Application not starting when OpenGL is enabled

      @dazza120 I was also running OpenGL because mostly of this thread. I was/am concerned about temps, my pi is stuck in a wall and I’m running modules for background images, weather, nests, calendar and newsfeeds. When I first tried the fake and full I was having startup problems so started using pm2 which fixed them. I just now performed a very unscientific comparison. I ran under each driver and compared the average 15 minute processor usage (after 30 minutes).
      Full - .62
      Fake - .45
      Orig - .36
      I wasn’t smart enough to pay attention to the other stats :frowning_face: . But for now I am going to follow your recommendation and drop OpenGL. Thanks.

      posted in Troubleshooting
      R
      rts58
    • RE: Application not starting when OpenGL is enabled

      @anthony I am also noob. But, I installed pm2 and it allowed me to run OpenGL. I think it keeps electron and other running processes from using up all memory and will help.

      posted in Troubleshooting
      R
      rts58
    • RE: Application not starting when OpenGL is enabled

      Are you using pm2? I was having same issue, and was able to resolve by following pm2 setup process.

      posted in Troubleshooting
      R
      rts58
    • RE: MONITORON on does not work in schedule

      It still did not come on this morning :frowning_face: . I just ran tail -130 ~/.pm2/logs/mm-out.log and found these results:

      MMM-ModuleScheduler is removing all scheduled jobs
      MMM-ModuleScheduler received CREATE_NOTIFICATION_SCHEDULE
      MMM-ModuleScheduler is scheduling REMOTE_ACTION using "30 9 * * *
      MMM-ModuleScheduler has scheduled REMOTE_ACTION
      MMM-ModuleScheduler will next send REMOTE_ACTION at Fri Jan 18 2019 09:30:00 GMT-0500 (EST)
      MMM-ModuleScheduler is scheduling REMOTE_ACTION using "30 23 * * *
      MMM-ModuleScheduler has scheduled REMOTE_ACTION
      MMM-ModuleScheduler will next send REMOTE_ACTION at Thu Jan 17 2019 23:30:00 GMT-0500 (EST)
      MMM-ModuleScheduler is scheduling REMOTE_ACTION using "0 2 * * SUN
      MMM-ModuleScheduler has scheduled REMOTE_ACTION
      MMM-ModuleScheduler will next send REMOTE_ACTION at Sun Jan 20 2019 02:00:00 GMT-0500 (EST)
      MMM-ModuleScheduler received CREATE_GLOBAL_SCHEDULE
      MMM-ModuleScheduler is creating a global schedule for all modules using "15 9 * * *" and "45 23 * * *" with dim level undefined
      MMM-ModuleScheduler has created the global schedule for all modules
      MMM-ModuleScheduler will next show all modules at Fri Jan 18 2019 09:15:00 GMT-0500 (EST)
      MMM-ModuleScheduler will next hide all modules at Thu Jan 17 2019 23:45:00 GMT-0500 (EST)
      

      Again later in the output I found:

      MMM-ModuleScheduler is sending SEND_NOTIFICATION to REMOTE_ACTION
      MMM-ModuleScheduler will next send SEND_NOTIFICATION to REMOTE_ACTION at Fri Jan 18 2019 23:30:00 GMT-0500 (EST) based on "30 23 * * *"
      Powering off HDMI
      
      
      MMM-ModuleScheduler is sending HIDE_MODULES to undefined
      MMM-ModuleScheduler will next send HIDE_MODULES to undefined at Fri Jan 18 2019 23:45:00 GMT-0500 (EST) based on "45 23 * * *"
      MMM-ModuleScheduler is sending SHOW_MODULES to undefined
      MMM-ModuleScheduler will next send SHOW_MODULES to undefined at Sat Jan 19 2019 09:15:00 GMT-0500 (EST) based on "15 9 * * *"
      MMM-ModuleScheduler is sending SEND_NOTIFICATION to REMOTE_ACTION
      MMM-ModuleScheduler will next send SEND_NOTIFICATION to REMOTE_ACTION at Sat Jan 19 2019 09:30:00 GMT-0500 (EST) based on "30 9 * * *"
      Powering on HDMI with preferred settings
      
      

      So it looks like the schedule works and it is trying to turn the monitor on, it just didn’t work. (Thanks @dazza120 I don’t think the schedule was working before.) This morning when the monitor didn’t come on per the schedule, I used the remote web page, it came on fine. How can I find out why the monitor did not come on with the schedule??

      posted in Troubleshooting
      R
      rts58
    • RE: MONITORON on does not work in schedule

      @dazza120 Thanks, I did not have the “,” after the last “}” because it is the last module in the config. I thought the extra “,” would cause a config error. But it does not. Hopeful for success in the morning!

      posted in Troubleshooting
      R
      rts58
    • RE: Cannot start after reboot?

      Not sure why, but on my install these files are called mm-out.log and mm-error.log. So maybe it would be

      tail -30 ~/.pm2/logs/mm-out.log
      

      and

      tail -30 ~/.pm2/logs/mm-error.log
      
      posted in Troubleshooting
      R
      rts58
    • MONITORON on does not work in schedule

      Hi,
      I’ve installed MMM-Remote-Control and MMM-ModuleScheduler. I basically want the MM to be off all night, it should then start up at 9:15, the monitor turn on at 9:30, then off at 11:30 and MM down at 11:45. The global_schedule works fine and the monitor shuts off correctly. However, the monitor does not come on in the morning. I can use the power on menu choice from the remote web page to turn the monitor on. It just won’t come on via the notification_schedule. Can someone suggest what is incorrect in my config.js entry?

      module: 'MMM-ModuleScheduler',
              config: {
      	    // Show all modules at 9:15 every day and hide at 11:45
      	   global_schedule: {from: '15 9 * * *', to: '45 23 * * *'},
                  notification_schedule: [
                      // TURN THE MONITOR/SCREEN ON AT 09:30 EVERY DAY
                      {notification: 'REMOTE_ACTION', schedule: '30 9 * * *', payload: {action: "MONITORON"}},
                      // TURN THE MONITOR/SCREEN OFF AT 11:30pm EVERY DAY
                      {notification: 'REMOTE_ACTION', schedule: '30 23 * * *', payload: {action: "MONITOROFF"}},
                      // RESTART THE MAGICMIRROR PROCESS AT 2am EVERY SUNDAY
                      {notification: 'REMOTE_ACTION', schedule: '0 2 * * SUN', payload: {action: "RESTART"}}
                  ]
              }
      

      Thanks!

      posted in Troubleshooting
      R
      rts58
    • RE: Contribute to a module. Volunteers wanted! Easy!

      n43 Boston, MA

      posted in Troubleshooting
      R
      rts58
    • A way to add image name to MMM-BackgroundSlideshow?

      Hi,

      New here, just got an RPI and am thrilled with it, MM and the 3rd party modules. I’ve set up MMM-BackgroundSlideshow to randomly show backgrounds from a few thousand pictures on my NAS. Every once in a while I see an image that I’d like to remove or edit. Is there a way to get the image filename to show somewhere on the display? (I’m not much of a coder)
      Thanks!

      posted in General Discussion
      R
      rts58
    • 1 / 1