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

    Posts

    Recent Best Controversial
    • RE: MMM-CalendarExt3

      @GerrieD
      Sorry, a hidden bug was only revealed in December—my fault. I fix it now. 1.9.4

      posted in Utilities
      M
      MMRIZE
    • RE: scaling gone wonky

      @cyclonej
      Show me the whole screen capture. And what resolution the screen has?

      posted in Troubleshooting
      M
      MMRIZE
    • RE: MMM-CalendarExt3 help

      @jrd
      There could be several possible reasons; but most cases might be these two.

      • https://github.com/MMRIZE/MMM-CalendarExt3/issues/53
      • https://github.com/MMRIZE/MMM-CalendarExt3/discussions/162#discussioncomment-10480206
      posted in Troubleshooting
      M
      MMRIZE
    • RE: MMM-CalendarExt3 - split/skip multiday events on specific days (weekends)

      @redfishbluefish

      /* config section of default calendar in config/config.js */
      broadcastPastEvents: true,
      sliceMultiDayEvents: true,
      
      /* config section of CX3 in config/config.js */
      eventFilter: (ev) => {
      	const day = new Date(+ev.startDate).getDay()
      	return (ev.fullDayEvent === true && (day === 0 || day === 6)) ? false : true
      },
      

      BEFORE
      6ac6d515-19db-46e9-b41b-f7f72a383f0f-image.png

      AFTER
      e68968b2-ab5d-405e-bc7c-226442eb21ef-image.png

      ISSUES

      • sliceMultiDayEvents would not emit the passed multi-day event. That’s not my fault.
      • looks ugly. Do you really need these splits? Generally, multi-day event means the period, not the occurrence.

      Of course, you can slice events yourself for your purpose with eventPayload instead of sliceMultiDayEvents option.

      posted in Troubleshooting
      M
      MMRIZE
    • RE: MMM-CalendarExt3 - split/skip multiday events on specific days (weekends)

      @redfishbluefish
      Slice first, then skip when the each event belongs to the weekends(with eventFilter or eventTransformer)

      posted in Troubleshooting
      M
      MMRIZE
    • RE: MMM-CalendarExt3 add non-event content to weekday cell

      @redfishbluefish
      Consider to try Intl.dateTimeForamt.
      https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat

      posted in Troubleshooting
      M
      MMRIZE
    • RE: Modulo MMM-TelegramBot screenshot

      @nic0rz

      I just realized that if the screen is turned off, taking a screenshot only shows the background and not the modules.

      I think that is out of this module’s business.

      posted in Troubleshooting
      M
      MMRIZE
    • RE: MMM-CalendarExt3 add non-event content to weekday cell

      @redfishbluefish
      By the way, handling cell header would be possible with manipulateDateCell, You can refer this for your understanding.
      https://github.com/MMRIZE/MMM-CalendarExt3/discussions/178

      posted in Troubleshooting
      M
      MMRIZE
    • RE: MMM-CalendarExt3 add non-event content to weekday cell

      @redfishbluefish
      First, please clearly explain the rules that determine how Day 1 to Day 5 are decided.

      It seems that the fundamental principle is: “Day 1 to Day 5 follow sequentially without interruption, excluding holidays.” While this appears to be a simple and straightforward rule, there might be hidden conditions that complicate its application.

      • Could there be exceptions where the Day 1 to Day 5 sequence is disrupted, even on regular weekdays? For instance, unexpected events like a school activity might occur, causing the rule to be temporarily suspended. In such cases, it’s unclear whether the sequence is skipped entirely or deferred to the next day. The handling of these exceptions could vary, and since such cases might not be planned in advance when running the schedule system (MM), they may need to be adjusted manually as they arise. While not impossible, this would be inefficient and impractical.

      • To apply this rule effectively, the start and end dates of the sequence must be clearly defined. In countries like Korea, where the academic year is typically divided into two semesters with fixed start and end dates and few extended breaks during the semester, applying this rule is relatively straightforward. However, in Western schools that follow a trimester system or have long breaks during the term (e.g., Easter break), creating a universally applicable calculation method becomes quite challenging. This is because periods during which the rule is inactive must be explicitly defined.

      Perhaps the most reliable approach would be to designate events for each applicable date within a calendar manually. By manually specifying the dates to which the rule applies, it’s possible to adapt to changes in schedules or rules. However, this method could be quite tedious.

      Alternatively, if there is already a schedule table in a digital format with these dates predefined, you could import it as a source and apply the rules automatically. (This would likely require creating a dedicated module to handle this task.)

      posted in Troubleshooting
      M
      MMRIZE
    • RE: MMM-CalendarExt3 no Entries since last update

      @Andreas1956
      You are clicking the day cell, not event.

      posted in Troubleshooting
      M
      MMRIZE
    • 1
    • 2
    • 3
    • 4
    • 5
    • 95
    • 96
    • 3 / 96