MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Magic Mirror Build Log ... Oak and Walnut Frame

    Scheduled Pinned Locked Moved Show your Mirror
    21 Posts 3 Posters 7.9k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SharkbyteS Offline
      Sharkbyte @ruff.hi
      last edited by

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

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

      A lot of features in this and views along with grouping and more

      Might wanna check it out

      Technically challenged all day everyday.
      So then I just go here Evolution MMA
      Of course though spending time with the son is always the best of the best!

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        ruff.hi @Sharkbyte
        last edited by ruff.hi

        @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).

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          ruff.hi
          last edited by ruff.hi

          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.

          1 Reply Last reply Reply Quote 0
          • R Offline
            ruff.hi
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • R Offline
              ruff.hi
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • R Offline
                ruff.hi @ruff.hi
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • R Offline
                  ruff.hi
                  last edited by

                  Good Morning. I have been working away at this project off and on through the summer. It is almost ready to go on a wall (assuming I can find one). I’ve finished up the Oak and walnut frame (although I might be adding a touch more walnut at some point), I have carved out recesses in the Oak for the power board, the power block for the monitor and for a PIR sensor.

                  That sensor is annoying me a little bit … the screen takes a good 15 seconds to come back after I wave my hand in front of the sensor. I am pretty sure that I have to tweak one of the sensor dials to change that (I will post more on that later).

                  The whole mirror weights a ton. But it is relatively thin and I am happy with that.

                  Here is the empty frame. Notice the carve outs - top for power block, left for monitor block, right for PIR sensor.
                  I have also installed a bunch of threaded inserts to hold in the monitor.

                  empty frame

                  Front with very small hold drilled for PIR (masking tape). It can see motion through that small hole but I think my trigger states are not right as of yet.
                  alt text

                  Back.
                  alt text

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @ruff.hi
                    last edited by

                    @ruff-hi yes, if the hole is small for the pir, you might have difficulty.

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      ruff.hi @sdetweil
                      last edited by

                      @sdetweil said in Magic Mirror Build Log ... Oak and Walnut Frame:

                      @ruff-hi yes, if the hole is small for the pir, you might have difficulty.

                      True. I did run some tests on various size holes and they all pretty much said ‘yes - I see you’. Anyway, current hole is small but I can make it bigger (if needed).

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        ruff.hi @ruff.hi
                        last edited by

                        Still undecided where the MM is going … but it is up and running (sans PIR - disabled the code that responds to the sensor as I am finding it more, and more, AND MORE annoying). More sensors on their way … I must have something to tinker with.

                        So … it is up, in the study, on the dog creates. Wife hasn’t seen it up and on yet … as such, results are PENDING :).

                        R 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 3 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy