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

    Posts

    Recent Best Controversial
    • RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.

      @sdetweil Thank you - I’ll do some research; I’ve also requested early access to the new ‘official’ Ring developer portal hosted on AWS. If you hear me talking about this again - it’ll be in a new thread (hopefully announcing a more supportable novel module!)

      posted in Utilities
      E
      ewingfox
    • RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.

      @sdetweil I’ll move to a new thread depending on your response - I know this is an abandoned module, but do you know if it’s still working (anywhere) or do I need to start from scratch? The wife has submitted another ‘feature request’. I fear I have created a monster :D

      posted in Utilities
      E
      ewingfox
    • RE: MMM-MealViewer

      @sdetweil - At work, all of my criteria and commentary lives in jira and my PR’s are pretty lean [read: RTSIDXCMT-11142, accept my d**n PR if you want that bug fix] .

      I’d appreciate any feedback on manners/standards for submitting PR to open source projects so I can better align with norms!

      https://github.com/ElliAndDad/MMM-MealViewer/pull/4

      Thank you for being such an active mod/admin/mentor!

      Take care,

      E

      posted in Utilities
      E
      ewingfox
    • RE: MMM-MealViewer

      @sdetweil as usual - you are very correct lol - this was sheer laziness on my part!

      <instinctively ducks to see if my DevOps lead is hurling a pot in my direction, remembers that she’s 7,600 miles away, ducks again anyway>

      posted in Utilities
      E
      ewingfox
    • RE: Happy wife is a happy life!

      @videogame95 - @sdetweil is 100% on point with their advice!

      I also struggled with config overload at first- so I did a few things that made my life easier:

      I downloaded vscode and installed the SSH connection extension so I could use a more functional editor than being stuck in ‘nano’
      I commented out all of the module configs I’d dumped into config.js EXCEPT for the basic ones like weather, etc.
      Starting the MM using npm start means you can watch the console messages slide by - this was a game changer for me because I was able to watch the console in my SSH session, anything red or yellow - might need to pay attention to it!
      When sharing configs - make sure you scrub your api keys - usually you’ll sse people use or etc - which also means if you’ve copied anyone’s suggested configs, you may have inadvertently included text that needs to be replaced.
      Screen locations - I’ve struggled with modules consuming more space than I thought they would, messing up the display and resulting in ‘missing’ modules - and with screen locales incorrectly spelled, formatted, etc -they just won’t show up, period. This will ‘pop’ in red when you use npm start (ask me how I know lol).
      Once you get the basic mirror up and running, hit me up and I’ll be happy to share more configurations with you - but right now the advice is get the simple stuff working, THEN move to more complex configurations. getting MMM-Pages working was a humbling experience and forced me to really (really) take formatting and code quality more seriously lol.

      posted in Show your Mirror
      E
      ewingfox
    • RE: Dashboad - Work From Home

      Clean setup!!!

      posted in Show your Mirror
      E
      ewingfox
    • Happy wife is a happy life!

      My wife has a number of friends with the subscription-based touchscreen tools and hinted at being interested in getting one - I didn’t love the idea of (another) monthly cost - and the fact that if the company goes under, we have an expensive paperweight.

      I tried a few different open source tools but discovered MagicMirror2 and fell in love! Currently have a home screen, an interactive chore chart running -MMM-Chores for my kiddo, a monthly calendar view and a weather tab (still under development).

      Here’s a brief demo video: You_tube

      The hardest part was definitely making the custom wood bezel - I was a woodworker, but matching the profile of the refrigerator, keeping weight down, minimizing the profile, and ensuring I only have one flexible cord having to make the corner from fridge side into the MM was definitely a challenge.

      So far, my wife is really happy with it, and is eagerly submitting feature requests. Ok, sigh, that part might get a little tiring!!!

      c942d51f-944c-4bc6-a850-9c203c5e31ae-image.png

      The bezel is Douglas fir, which is much lighter than my preferred maple, but also easier to mill:
      0c49f48e-d875-45fd-a491-7e6fed4df22d-image.png

      After countersinking and wet-setting the 16 N42 5/8" magnets, I attached the chassis to the refrigerator door with some seran wrap - this allowed the magnets to align with the door for the best contact surface, and I let it cure overnight. Testing with a few dumbells made me more confident that I’d used enough magnets!!
      b2d4f734-15d2-44e4-9929-c8c7640a2e5c-image.png

      NO project would be complete without a late night final assembly, including duct tape and PLENTY of hot glue lol.
      bea3e2ce-9431-482e-aca8-39716c343ebd-image.png

      posted in Show your Mirror
      E
      ewingfox
    • RE: MMM-Chores - Manage and keep track of your household Chores

      @BreanneDolphin

      I use a touch screen magic mirror and Pierre’s module and haven’t seen this behavior - can you paste the module’s contents from the config.js as a place to start? Perhaps also a screenshot of this part of the settings in the admin portal?

      d0f9c6c2-ae32-4035-aa24-9ea31b40d944-image.png

      posted in Utilities
      E
      ewingfox
    • RE: MMM-MealViewer

      Hello @dadandel !

      I love this (and more importantly, my WIFE and kiddos love this module - GREAT WORK!

      My wife does meal planning, shopping and tasks me with meal prep for the upcoming week on the weekends, so she really wants to see the next week’s school lunches on Friday evening when she’s in the fridge and going through what we have, and what meals my kiddo wants to eat at school and which meals they want to pack a lunch for.

      Currently, the getDateRange function (which is super robust, excellent work) is strictly ‘look back’. I did quite a bit of testing (thank you for baking in all the testing and logging logic!!!) and my testing shows that you can maintain all of the robustness and add the ‘look ahead’ my wife is looking for by updating the function just a bit like:

      getDateRange: function (startDay, endDay, testMode = false, testDate = null) {
          let today;
      
          if (testMode && testDate) {
              const [year, month, day] = testDate.split('-').map(Number);
              today = new Date(year, month - 1, day);
              console.log(`Using test date (local timezone): ${today.toLocaleString()}`);
          } else {
              today = new Date();
          }
      
          const currentDay = today.getDay();
          console.log(`Current day of week: ${currentDay}`);
      
          // ------------------------------------------------------------
          // Calculate the date for the week's start (most recent startDay)
          // ------------------------------------------------------------
          const startDate = new Date(today);
          const daysToSubtract = ((currentDay - startDay + 7) % 7);
          startDate.setDate(today.getDate() - daysToSubtract);
      
          console.log(`Days to subtract: ${daysToSubtract}`);
          console.log(`Initial start date: ${startDate.toLocaleString()}`);
      
          // ------------------------------------------------------------
          // Calculate the end date (inclusive range)
          // ------------------------------------------------------------
          const endDate = new Date(startDate);
          const daysInRange = (endDay - startDay + 7) % 7 + 1;
          endDate.setDate(startDate.getDate() + daysInRange - 1);
      
          // ------------------------------------------------------------
          // LOOK-AHEAD LOGIC
          // If today is on or after the trigger day (Friday for Mon–Fri),
          // shift the entire range forward by one week
          // ------------------------------------------------------------
          const lookAheadTriggerDay = (startDay + 4) % 7;
      
          if (currentDay >= lookAheadTriggerDay) {
              console.log("Look-ahead condition met — shifting range to next week");
              startDate.setDate(startDate.getDate() + 7);
              endDate.setDate(endDate.getDate() + 7);
          }
      
          console.log(`Final start date: ${startDate.toLocaleString()}`);
          console.log(`Final end date: ${endDate.toLocaleString()}`);
      
          // ------------------------------------------------------------
          // Format output
          // ------------------------------------------------------------
          const formatDate = (date) => {
              const year = date.getFullYear();
              const month = String(date.getMonth() + 1).padStart(2, '0');
              const day = String(date.getDate()).padStart(2, '0');
              return `${month}-${day}-${year}`;
          };
      
          return {
              start: formatDate(startDate),
              end: formatDate(endDate)
          };
      },
      

      90efbaf8-4cdc-4f3a-8df4-719742cba468-image.png

      posted in Utilities
      E
      ewingfox
    • OpenWeather API change to 3.0 - backwards compatible?

      Re: MMM-OpenWeatherMapForecast loading issue?

      Hello @sdetweil - I’ve tried the original and your fork - did these break when they moved to v 3.0?
      one-call-3)
      (figured I’d ask you before I wade in)

      rm -rf MMM-OpenWeatherMapForecast
      git clone https://github.com/sdetweil/MMM-OpenWeatherMapForecast
      cd MMM-OpenWeatheMapForecast
      npm install
      cd ~/MagicMirror/
      npm start

      … in both cases I get a ‘null’ error like the OP in the thread I’ve referenced.

      My config file entry:

              {
            module: "MMM-OpenWeatherMapForecast",
            header: "Weather",
            classes: "default everyone",
            position: "middle_center",
            config: {
              apikey: "API_KEY_REDACTED",
      	//latitude:        44.50498257209399,
      	//longitude:       -73.12579372208883,
          	latitude: 43.6930,
          	longitude: 4.2783,      
              iconset: "4c",
              concise: false,
              forecastLayout: "table"
            }
          },
      
      posted in Troubleshooting
      E
      ewingfox
    • 1 / 1