MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. ruff.hi
    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 1
    • Topics 7
    • Posts 51
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Magic Mirror Build Log ... Oak and Walnut Frame

      And the build of the electronics behind the mirror has started. First cab off the rank is the long, long screen power cable. It is just too long. I was thinking of running it throw a hot wash cycle to see if it would shrink … but I decided against that. Instead I just cut it down to size.

      alt text

      Now I just need to solder the wires back together. I wasn’t going to do that by hand … instead I picked up some of Solder Seal Wire Connectors, fished them onto the wires and applied a heat gun …

      alt text

      Good enough. How just to slip some heat sink over that ugly mess and more heat gun …

      alt text

      Bingo … a shorter power cord.

      posted in Show your Mirror
      R
      ruff.hi
    • RE: Magic Mirror Build Log ... Oak and Walnut Frame

      My MMM-GoogleTasks output stopped showing tasks. Is it the v2.18 impacting google tasks? I dropped into the code, added a bunch of logging information and checked the debugging chrome console (Ctrl-Sht-J) to find that it wasn’t picking up a valid package.

      Re-reading the install instructions led me to look at the token.json file … and in contains a expire token …

      "expiry_date":1642896917968
      

      What sort of weird date is that? I big of googling let me to stackoverflow (I love this site … so many answers!) and this …

      I know it is kind of old, but I was just asking myself the same question. Right now I’m almost certain, that it’s just Unix timestamp with milliseconds.

      … and to this site - a millisecond calculator. Put in 1.64 trillion and you get ‘Sun Jan 23 2022 00:15:17’.

      Yep … that is an expired token. Can I just change that number to 1.8 trillion?

      You can! Just don’t put in an extra 0 … it didn’t like that.

      Anyway, 1.8 trillion comes out as ‘Fri Jan 15 2027 08:00:00’. So … now I just need to remember to update my token in 2027. I wonder if I can put in a google calendar reminder for then?

      Google tasks back up and running … first task listed is to fix the Samsung drying … it is making a lot of noise.

      posted in Show your Mirror
      R
      ruff.hi
    • RE: Kitchen Mirror / Whole Home Display

      @python said in Kitchen Mirror / Whole Home Display:

      Without recessing it would cause the mirror to protrude about 3" from the wall which would look weird from the side.

      3" … it certainly doesn’t look that thick. After scanning your picks again, I noticed that I completely forgot to comment on your weimaraner dogs :)

      posted in Show your Mirror
      R
      ruff.hi
    • RE: Kitchen Mirror / Whole Home Display

      Very nice … I really like how thin it is. You might have been able to get away without recessing it.

      posted in Show your Mirror
      R
      ruff.hi
    • RE: How to Run Magic Mirror in Prod / Dev Versions?

      Thanks all. I was thinking of cloning a memory card … but if duplicating the folder works then I can use that in the short term.

      posted in Troubleshooting
      R
      ruff.hi
    • How to Run Magic Mirror in Prod / Dev Versions?

      This isn’t really trouble shooting …

      I am building a MM (hardware) in my ‘shop’. I am also building a MM window (software). The software angle involves tinkering with placement, css files, look and feel, adding new modules. Finding that the new modules don’t really work. Finding that modules that did work have stopped working … aaaaGGGGGGGGGGGGGGG.

      I feel as if I need a Prod version and a Dev (or test) version. Short of buying a completely new Pi … what is the easiest way of doing this?

      posted in Troubleshooting
      R
      ruff.hi
    • MMM-CalendarExt2 not showing

      I can’t seem to get CalendarExt2 to show up.  I have posted the CalendarExt2 portion of my config.js below

      {	module: "MMM-CalendarExt2",
      	config: {
      		calendars : [
      			{
      				name: "Holidays",
      				url: "http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"
      			},
      		], 
      		views: [
      			{
      				name: "DEFAULTVIEW",
      				mode: "daily",
      				position: "top_center",
      				maxItems: 50,
      				maxDays: 1000,
      				locale: "en",
      				hideOverflow: false,
      				filterPassedEvent: false,
      				calendars: ["Holidays"],
      			},
      		], 
      		scenes: [
      			{
      				name: "DEFAULTSCENE",
      				views: ["DEFAULTVIEW"],
      			},
      		], 
      	}, 
      }, 
      

      I have commented out everything else except for CLOCK and STANDARD CALENDAR.  They are working, but nothing is showing up for CalendarExt2.

      config.js clears the checker.  I have also stopped and restarted mm.

      My bet is that I am missing something really obvious, but I can’t see it.

      Edit: Chrome won’t let me post this (ERROR but no useful description). Edge has no problem posting this. What is going on?

      posted in Troubleshooting
      R
      ruff.hi
    • RE: Magic Mirror Build Log ... Oak and Walnut Frame

      I ordered a piece of smart mirror as well as picking up some 1/4" 2x4 Oak sanded plywood (lowes). Time to start thinking about putting this puppy together.

      I will take pictures as I go.

      posted in Show your Mirror
      R
      ruff.hi
    • RE: Magic Mirror Build Log ... Oak and Walnut Frame

      calendar.js file modded to show the text in the symbol field if displaySymbol is FALSE and displayText is TRUE.

      Those display options are embedded in the js file (I tried to get them in via the config.js but couldn’t seem to get it done. I added the the displayText one.

      	if (this.config.displaySymbol) {
      <snip>
      
      // the code above is for location reference.
      // ... below is new ... and, YES, I did hard code some style items
      
      	} else if (this.config.displayText) {
      		const blankCell = document.createElement("td");
      		const symbols = this.symbolsForEvent(event);
      		symbols.forEach((s, index) => {
      			blankCell.innerHTML = s;
      			blankCell.style.paddingRight = "10px";
      			blankCell.style.fontFamily = "Calibri";
      			blankCell.style.fontSize = "18px";
      			blankCell.style.fontcolor = "#B9B9B9";
      		});
      		eventWrapper.appendChild(blankCell);
      

      Edit: I did have a brief look to see if I could stop the duplicate / repeat entries … nothing jumped out at me so I am going to pass on that.

      posted in Show your Mirror
      R
      ruff.hi
    • RE: Magic Mirror Build Log ... Oak and Walnut Frame

      @sharkbyte - thanks for reading this and the reply.

      @ruff-hi great build an looks like your rolling along
      Oh thanks for the great news on Green Bay losing ha

      Spoiler? Sorry. It was a weird weekend worth of games … all decided near or after the end of the 4th quarter.

      For the to do list and calendar I use MMM-CalendarExt2

      I will take a look at it.

      Edit: I had a quick look and first impressions is that it might be too much detail for my MM. My home calendars are pretty boring (1st … give dogs flea / tick pills, every 2nd Monday - put out recycling bins, etc).

      I do want to see if I can mod the default code to identify (without icons) which calendar is which … and to drop the 2+ items from all recurring appointments (ie only show the first one).

      posted in Show your Mirror
      R
      ruff.hi
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 2 / 6