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

    Topics

    • H

      MMM-GoogleTasks - show Completed until next day starts

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      1
      0 Votes
      1 Posts
      106 Views
      H
      I assume this is possible but I can’t figure out the coding - very new to MM and JS. Any help will be appreciated. I have a task list with mostly recurring tasks but each day 1-3 non-recurring tasks get added to the list. With showCompleted: true, all tasks show throughout the day, then at some point overnight the Completed recurring tasks drop and get replaced by the Incomplete task for the new day. However, all the non-recurring tasks stay so that after a few days there’s along list of Completed tasks. How do I have all Completed show until the end of the day, midnight, whatever, then have the non-recurring drop along with the recurring?
    • H

      MMM-CalenarExt3 : eventTransformer not working on evets with specific start time

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      1
      0 Votes
      1 Posts
      117 Views
      H
      In the code below, events with “Bday” in the title are correctly colored but the “birthday-icon” is not applied. They are all full day events. The intent is that each person has a color and icon applied to their events but events with a specific start time are not transformed. What am I doing wrong? I will appreciate specifics and examples of correct code. I’ve had the Pi running a week and these are my first attempts at coding and I’m struggling with some of it. I tried using eventNames and then using the custom.css to color events but couldn’t get that to work for any events including full day. ``` module: “MMM-CalendarExt3”, position: “bottom_bar”, title: “May Cubed”, config: { mode: “month”, instanceId: “combinedCalendar”, locale: ‘en-US’, maxEventLines: 6, showMore: true, firstDayOfWeek: 0, useMarquee: false, calendarSet: [], //<-- can enter “name of calendar from calendar module” to display only that one. Works in combination with InstanceId eventTransformer: (ev) => { if (ev.title && ev.title.search("Bday") > -1) { ev.color = "#3056FF" //ev.symbol = "birthday-cake" <--is there something to do this in transform? I have them as keyword customEvents under the calendar module } else if (ev.title && ev.title.search("Name1") > -1) { ev.color = "#80ef80", //ev.symbol = "flower-tulip" <--same comment as above
    • 1 / 1