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.

    Family Mirror

    Scheduled Pinned Locked Moved Show your Mirror
    10 Posts 5 Posters 4.3k 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.
    • D Offline
      dathbe
      last edited by dathbe

      I finally got around to making my mirror presentable, so I thought I’d show it off.

      25-05-28 17-24-10 2891.jpg

      Yes, I do have eventual plans to do something about that brown electrical cord hanging out the bottom.

      The guts are a 30" TV I pulled out of its shell and a Raspberry Pi 4B. I used some 1"x3" and some molding to build a simple box frame.

      25-05-28 19-01-39 2892.jpg

      The primary modules are:

      alert
      updatenotification
      clock
      MMM-Remote-Control - used for updating several other modules
      MMM-CustomText - used to show a message via a python script when there are apt updates for my RPi, and weather alerts via another python script
      MMM-EarthquakeAlerts
      MMM-RandomPhoto
      MMM-MagicMover
      MMM-ModuleScheduler - hides certain modules when they’re out of season
      MMM-Carousel - rotates through 5 separate pages

      Page 1 - Calendar
      MMM-CalendarExt2 - It pulls from a generic GMail calendar I’ve convinced my wife to invite to anything the whole fam should know about
      MMM-Multimonth

      25-05-28 17-22-45 2886.jpg

      Page 2 - Weather
      MMM-RAIN-MAP - only displays when rain is predicted in the next 12 hours
      weather - used only to trigger MMM-OpenWeatherMapForecast
      MMM-MoonPhase
      A proprietary module that displays a day/night map of the earth
      MMM-Block - adjusts the height of the two bottom modules so they line up

      25-05-28 17-23-01 2887.jpg

      Page 3 - Home Automation
      MMM-Rest - several instances; grabs info from my home automation server
      MMM-NestRemoteThermostat
      MMM-GoogleMaps-Tracking - updated via python script
      MMM-Block - to move modules around so they line up

      25-05-28 17-23-21 2888.jpg

      Page 4 - Sports
      MMM-MyScoreboard
      MMM-MyStandings - multiple instances
      MMM-PGA

      25-05-28 17-23-41 2889.jpg

      Page 5 - Info
      MMM-SimpleLogo - a logo from our school
      MMM-LINQConnectCalendar
      MMM-TitanSchoolMealMenu
      MMM-JsonTable - displays gas prices via a python script
      MMM-Pinfo
      MMM-Block - multiple instances to adjust things so they line up

      25-05-28 17-24-01 2890b.jpg

      The Future
      Adding touchscreen capabilities? This seems like a pain that would ruin the aesthetics, but maybe.

      KristjanESPERANTOK plainbrokeP 2 Replies Last reply Reply Quote 4
      • KristjanESPERANTOK Offline
        KristjanESPERANTO Module Developer @dathbe
        last edited by

        Really nice! Thanks for sharing and the description with details about the modules! 👏

        1 Reply Last reply Reply Quote 0
        • plainbrokeP Offline
          plainbroke @dathbe
          last edited by

          @dathbe
          Cool setup.
          Under page 5 you have the json table setup for gas prices.
          Can you share the url for the gas prices you use?

          Slow learner. But trying anyways.

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            dathbe @plainbroke
            last edited by

            @plainbroke It’s a custom python script, and it has broken since I created this post. Working on a plan B.

            1 Reply Last reply Reply Quote 0
            • L Offline
              Lmagenis
              last edited by

              This looks great! How did you get only the lunch menus to show?

              D T 3 Replies Last reply Reply Quote 0
              • D Offline
                dathbe @Lmagenis
                last edited by

                @Lmagenis custom CSS:

                /* MMM-TitanSchoolMealMenu CSS */
                
                .MMM-TitanSchoolMealMenu {
                  max-width: 500px;
                }
                
                .MMM-TitanSchoolMealMenu .meal-list {
                  margin-block-start: unset;
                }
                
                .MMM-TitanSchoolMealMenu li {
                  font-size: var(--font-size-small);
                }
                
                .MMM-TitanSchoolMealMenu ul {
                  padding-inline-start: 0;
                }
                
                .MMM-TitanSchoolMealMenu .large {
                  color: #f8dd70;
                  line-height: unset;
                }
                
                .MMM-TitanSchoolMealMenu .meal-title,
                .MMM-TitanSchoolMealMenu .breakfast-description {
                  display: none;
                }
                

                The last entry is the key to what you’re asking.

                1 Reply Last reply Reply Quote 1
                • D Offline
                  dathbe @Lmagenis
                  last edited by dathbe

                  @Lmagenis Looking again, it appears that my tweak to the module to add the ‘.breakfast-description’ class was never merged. I’m on my own fork of the module:

                  https://github.com/dathbe/MMM-TitanSchoolMealMenu/tree/combined

                  (Note that it’s the “combined” branch not the default branch.)

                  You can see the various tweaks I’ve made to my fork here:

                  https://github.com/evanhsu/MMM-TitanSchoolMealMenu/pulls

                  L 1 Reply Last reply Reply Quote 0
                  • L Offline
                    Lmagenis @dathbe
                    last edited by

                    @dathbe Thank you! I’m still learning all of this. I appreciate your help!

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      trnitz @Lmagenis
                      last edited by

                      @Lmagenis said in Family Mirror:

                      This looks great! How did you get only the lunch menus to show?

                      There is also the ‘hideEmptyMeals’ boolean in the config, which is set to false by default.

                      Setting that to true, while also setting ‘recipeCategoriesToInclude’ to ‘Lunch’ (or ‘Lunch Entree’ in my case) will not display empty meals.

                      Example config section:

                        {
                          module: "MMM-TitanSchoolMealMenu",
                          position: "bottom_left",
                          header: "Namaqua Elementary menu",
                          config: {
                              size: 'x-small', // Optional: 'small', 'medium', 'large'; Default: 'medium'
                              todayClass: 'x-small',
                              hideEmptyDays: true,
                              hideEmptyMeals: true,
                              buildingId: 'edf06a3e-65f3-ee11-a85d-f8b9c75e31xx',
                              districtId: '931753cd-1e95-ee11-b902-959a1bfff3xx',
                              updateIntervalMs: 3600000, // Optional: Milliseconds between updates; Default: 3600000 (1 hour)
                              numberOfDaysToDisplay: 2, // Optional: 0 - 5; Default: 3
                              recipeCategoriesToInclude: [
                                  "Lunch Entree",
                              ],
                              debug: false
                          },
                      },
                      
                      L 1 Reply Last reply Reply Quote 1
                      • L Offline
                        Lmagenis @trnitz
                        last edited by

                        @trnitz Thank you, that’s what mine looks like but it returns everything offered for lunch that day, right down to the condiments.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • 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