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

    Posts

    Recent Best Controversial
    • RE: MM stopped working with Electron Error

      @wyovino I suspect some heavy memory corruption - could be anywhere - I’d copy over your config.js and custom.css to another drive and try a new SD card if it continues.

      If it continues after that, I’d get a new device…

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MM stopped working with Electron Error

      @sdetweil isn’t SIGSEGV a segmentation fault?

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Monitor recommendation

      @danybony Monitors without any on/off logos is gonna be a tough one - You’ll want to use HDMI sleep to power up and down the monitor or simply blank it (I’d go for the latter if you’re concerned about a “No Signal” image).

      As for the others - you’ll have to experiment - sadly.

      General advice:

      Get a monitor with a bezel on all sides - why? No lopsided display when you pull it out of frame.

      Get a monitor with the cables pointing out one side or the bottom. Why? Pointing out the back will cause issues in install and make it harder to make it compact.

      Get a monitor with a built in power converter (110v/220v direct into monitor) - why? For compactness reasons - less work to build frame behind it.

      posted in Hardware
      BKeyportB
      BKeyport
    • RE: Calendar Logic Changes

      @sdetweil That fix helped. A minor configuration error fix helped too. I think I’ve got it back working the way I wanted it.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Calendar Logic Changes

      Ok, Sam - here’s what I got so far:

      Calendar Entries Calendar
      Huskies 12 https://gohuskies.com/calendar.ashx/calendar.ics?sport_id=3.
      Kraken 44 https://calendar.google.com/calendar/ical/a6fras24hof5ibrk9q1aeg0igg%40group.calendar.google.com/private-147cebc733aab31784e2ab7f18c13cbc/basic.ics.
      Main 334 [Not public]
      Mariners 247 https://calendar.google.com/calendar/ical/61db9ccd2c8e6f23041e3f43c30e7427f6bada47d75a73f673085d9cdbb02a03%40group.calendar.google.com/private-9781d54d004a17abd9f8647eabfa7e68/basic.ics.
      Seahawks 20 https://www.seahawks.com/api/addToCalendar/ag/d?text=Seattle+Seahawks+Games.
      Sounders No Data https://calendar.google.com/calendar/ical/3vejg64nfe9hk5odcphufgis14%40group.calendar.google.com/private-ae3d986ef6488a425755baf7198a1c99/basic.ics.
      Utilities 107 https://recollect.a.ssl.fastly.net/api/places/BC71002A-F27F-11E8-B5B7-6853A40EAB6C/services/579/events.en-US.ics?client_id=91264B66-7113-11ED-8C28-2101D6C077E5.
      ARES Parsing https://calendar.google.com/calendar/ical/5hsiiq8t4lh01m2fge21688vtjmj6e6s%40import.calendar.google.com/public/basic.ics.
      Holidays 55 https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics.

      The calendar marked “No data” isn’t currently working from host, It can be ignored.
      The calendar marked “Parsing” is spitting out data in debug mode, but when calendar turns around and broadcasts, it’ll broadcast zero entries. Only truly private URL has been blanked.

      here’s my config - minus the calendars:

                      {
                              module: "calendar", // Built in
                              //position: "top_center",  // Currently hidden
                              classes: "page1 page2 page3",
                              config: {
                                      animationSpeed: 0,
                                      broadcastEvents: true,
                                      broadcastPastEvents: true,
                                      fetchInterval: 60000, // minimum 1 minute. 
                                      maximumEntries: 999999,
      
      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Calendar Logic Changes

      @sdetweil I see the problem, I think.

      The logs I was using was in the console, those logs don’t show the source - PM2’s logs do.

      I think something has changed in how it’s putting together the entries.

      It used to be that maximumEntries: 99 - now it’s appearing to sort different or reach back further, so I need maximumEntries: 999 to see all my calendars show up.

      I do have past events active - as I like to see where I had things happen, just in case I need it…

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Please commit your changes or stash them before you merge?

      @sdetweil Don’t NPM install touch the package.json - or is it just package-lock?

      Either way, @jefftse can just delete package-lock.json for that error.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • Calendar Logic Changes

      What’s changed in the logic for calendar loading for 2.30?

      99 entries used to be enough to display all my calendars, now I’m getting like 820 entries loading.

      Curious if there’s a bug somewhere, or what. I’ve also noticed that the notices in the log indicating which calendar is loading is gone. Would be nice to have that back, at least in debug mode, so that we can tell what calendar is pushing # of entries.

      Thanks!

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-Multimonth

      @Niggich The default CSS keeps it tight - because that’s how I like it.

      However, it’s easy to change.

      in your magicmirror/css directory, there should be a file named custom.css - in that file, paste the following, and modify it to suit.

      /* Month Padding */
      .MMM-Multimonth .month {
        padding: 0px;
      }
      

      Cheers.

      posted in Utilities
      BKeyportB
      BKeyport
    • RE: MMM-Pages - Fade/Animation

      @sdetweil I’ve given up as other methods smoothed out the transitions anyway (The website that took too long to reload).

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-EmbedURL with MMM-Pages - Website reload....

      I put them both in, and that fixed it - thanks, Tom.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-EmbedURL with MMM-Pages - Website reload....

      Tom, is it updateDomOnShow or updateDomOnResume ?

      Documentation shows the latter.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-EmbedURL with MMM-Pages - Website reload....

      @sdetweil

      It shows, then resets, takes 2-3 seconds to show back up, then runs normally. The problem is that it’s just annoying to have it flash in and then blank, then come up and run.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-Pages - Fade/Animation

      @sdetweil The only modules I’d have animating is the pages module.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • MMM-Pages - Fade/Animation

      I’m not finding any way to change the animation/fade on MMM-Pages - I’d like to change it to something else - It appears to be the default that is system wide.

      Anyone know how to change it?

      Thanks

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • MMM-EmbedURL with MMM-Pages - Website reload....

      I have MMM-pages (@sdetweil 's version) and MMM-EmbedURL (@wishmaster270) - working together on my system. Evertthing is great, EXCEPT this code below.

      What happens is that the website at my docker is loading, then it stops itself and reloads - blanking the screen area for 2-3 seconds while it thinks about it. Unfortunately, even though it’s a docker container and I have “Full control” – it is a very rudimentary program - and the web API is weak at best (Thus the turning off of the time stamp, etc)

      What’s going on here? Is there anything I can do to keep it from blanking and restarting (I think when it’s hidden it’s paused?)

      If it helps, the page is this program -> https://www.clearskyinstitute.com/ham/HamClock/ - you can look around for suggestions.

      Thanks.

      	{
          		module: "MMM-pages",
          		config: {
            			modules: [
              			["page1"],
              			["page2"],
              			["page3"],
            			],
            			animationTime: 2000,
            			rotationTime: 10000,
            		}
            	},
      		{
      			module: "MMM-EmbedURL",
      			position: "top_right",
      			classes: "page2",
      			config: {
      				updateInterval: 3600,
      				animationSpeed: 0, 
      				appendTimestamp: false,
      		
      				embed: [
      					"http://docker.local:8081/live.html",
      					
      				],
      			},
      		},
      

      (any malformed JS above is a paste error, it is correct in code)

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Having trouble with screen on and off? Here are some tips that could help

      @mumblebaj Course, I just switched back to X11 for now. 🙃

      posted in Tutorials
      BKeyportB
      BKeyport
    • RE: MM with dual Monitor on pi5?

      @Future-Mirror It may be wayland causing that - Try this:

      sudo raspi-config
      

      then use
      option 6 “Advanced options”,
      option A6, “Wayland”, then
      option W1 “X11”
      and approve the change.

      This will switch you over to the old screen design system, where the instructions in the documentation is known to work.

      If you would like, I’d be happy to share my configuration files up to the modules and how I did it. Let me know.

      posted in Development
      BKeyportB
      BKeyport
    • RE: Multiple "Mirrors" from a single device

      @DarrenO-0 Ahh, gotcha. Yes, this is for two on the same system, which linux treats as one huge monitor.

      posted in General Discussion
      BKeyportB
      BKeyport
    • RE: Multiple "Mirrors" from a single device

      As I rewrote that section in the docs - I’ll give a (semi) live example (My second mirror is down due to lack of space, I’m working on a solution) - this is what works for me at the moment. I do realize I’m doubling up on some things.

      In my Pi’s config, I also reverted to X11 desktop rather than wayland for reasons unrelated. I have not tested this on Wayland.


      mm.sh

      cd /home/bkey1970/MagicMirror
      DISPLAY=:0 npm start
      

      mm2.sh

      cd /home/bkey1970/MagicMirror
      export MM_CONFIG_FILE=config/config2.js
      export MM_PORT=8081
      DISPLAY=:0 npm start
      

      the start of config.js:

      var config = {
      	address: "0.0.0.0",
      	port: 8080,
      	ipWhitelist: [],
      	language: "en",
      	timeFormat: 12,
      	units: "imperial",
      	//logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"],
      	modules: [
      

      The start of config2.js:

      var config = {
      	address: "0.0.0.0",
      	port: 8081, 
      	electronOptions: { 
      		x: 1920
      	},
      	ipWhitelist: [], 
      	language: "en",
      	timeFormat: 12,
      	units: "imperial",
      	//logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"],
      	customCss: "css/custom2.css",
      	modules: [
      

      PM2 commands to tie it all together:

      pm2 start /home/<username>/<path>/mm.sh --name "MM Main"
      pm2 start /home/<username>/<path>/mm2.sh --name "MM 2nd"
      pm2 save
      
      posted in General Discussion
      BKeyportB
      BKeyport
    • 1
    • 2
    • 5
    • 6
    • 7
    • 8
    • 9
    • 65
    • 66
    • 7 / 66