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

    Posts

    Recent Best Controversial
    • MMM-TitanSchoolMenu 403 Forbidden

      This is more of a FYI /fix /workaround than a troubleshooting issues/question.

      Recently, the api.linqconnect.com API endpoint has started blocking certain User Agents, including axios (and curl).

      Using a custom User Agent to impersonate an actual web browser bypasses this block.

      I created a pull request for this:

      https://github.com/evanhsu/MMM-TitanSchoolMealMenu/pull/23/changes/d35c1bd93c5953215d9cad162085cf430eed6b4c

      posted in Troubleshooting
      T
      trnitz
    • RE: Family Mirror

      @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
          },
      },
      
      posted in Show your Mirror
      T
      trnitz
    • 1 / 1