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

    Posts

    Recent Best Controversial
    • RE: Cal EXT3 - Symbols and colors

      @sdetweil I finally understood what you meant by put in filter…^^

      So I set the additional {} and the cal stopped again, message saing:

      TypeError: event.symbol.join is not a function

      Does this give you any clue or do you need the additional “at …” lines too?

      posted in Troubleshooting
      _
      _V_
    • RE: Cal EXT3 - Symbols and colors

      @sdetweil Hey Sam
      As soon as I try to use symbol, the calender wont load up - I see the current month but thats about it.
      I tried different icon, I tried changing only symbol and I tried putting up a transform command for color and symbol seperately

      eventTransformer: (ev) => {
      if (ev.title.search("Geburtstag") > -1)
      ev.symbol= "mdi:birthday-cake-outline";
      ev.color= "ff00ff";
      return ev
       },
      

      I also tried your version with the additional {}, but no change either way
      I put this into the ext3 config file, using iconify icons

      posted in Troubleshooting
      _
      _V_
    • Cal EXT3 - Symbols and colors

      I apologize for a every repeating question, but I cant figure it out completely.

      So I want to change the color and/or the symbol, if the title has a specific text.
      The readme says:

      eventTransformer: (ev) => {
        if (ev.title.search("John") > -1) ev.color = "blue";
        return ev;
      };
      

      I also found, that I can be more detailed in styling, when I create a class for a event, like this:

      eventTransformer: (event) => {
      if (event.title.includes('Gus')) event.class = "gus"
      return event
      },
      
      /* custom.css */
      
      .CX3 .event.gus {
      background-color: var(--calendarColor);
      color: var(--oppositeColor);
      border-radius: 4px;
      }
      

      If I want to change the symbol too, Sam said, I can use the same command just with “symbol” instead of color, I guess this?

      eventTransformer: (ev) => {
        if (ev.title.search("John") > -1) ev.symbol= "WHAT TO PUT HERE";
        return ev;
      };
      

      Obviously I dont know how to put the symbol or the link to the symbol. I set “useIconify:true”, would this mean I can use ANY of the Iconify symbols by their name like “material-symbols:ar-on-you-outline-sharp”? Looks too easy to me, so I guess no.

      If someone has time to spare Id appreciate some help.

      posted in Troubleshooting
      _
      _V_
    • RE: Cal EXT3 - understanding transforming

      I get the idea but since Im quite new to this, I cant follow completely.
      Again the example

      eventTransformer: (ev) => {
        if (ev.title.search("John") > -1) ev.color = "blue";
        return ev;
      };
      

      Now you told me, “search” is a look up in form of “if contains” - this means if it contains the value, it will give out a value bigger than -1 and the effect will be set; other wise it will return -1 and the event stays unedited, correct?

      This would also mean, I have to set up every possible event title class inbefore.
      If I want to change/assign a specific symbol is a thing I dont understand.
      I use the Iconify function from the module - do I have to put in a link to the desired symbol now or what is it I have to enter?
      I could also imagine that I have to download the symbols and put in a directory to make the module be able to access them?

      Thanks a lot

      posted in Troubleshooting
      _
      _V_
    • RE: Cal EXT3 - understanding transforming

      Hello Sam

      Thanks for the input.
      Ok now what would this search method mean for “title”

      Like, what is it the case of the EXT3 cal module?
      It says “title”?
      Anybody knows about my last question for icon change too?

      Thanks

      posted in Troubleshooting
      _
      _V_
    • Cal EXT3 - understanding transforming

      Hello again guys

      I am using the 3rd cal-mod from @MMRIZE and try to bring it up a bit more specific regarding styling.

      So the documention says:

      Transforming
      You can manipulate or change the properties of the event.

      eventTransformer: (ev) => {
        if (ev.title.search("John") > -1) ev.color = "blue";
        return ev;
      };
      

      This example shows how you can transform the color of events when the event title has specific text.

      Would this mean, it looks up, if the events text is exact like the named text ( “John” in this example )
      OR the event starts with the word
      OR the event contains this word?

      Also I wondered, if I can specify the icon used for this event, besides defining the events color?
      Thank you very much and as always, regards from Germany

      posted in Troubleshooting
      _
      _V_
    • Screen "offline" during specific time of day

      Hey guys

      Besides using some kind of wake module, is it possible to just set MM up be shown during specific times of a day or maybe darken the screen during night time?

      Thanks a lot

      posted in Troubleshooting
      _
      _V_
    • RE: **N00B** Question

      Hey @Landokirk

      I am also new here and just get stuff done so far.
      The Raspberry route is definitely the one to recommend - you cant beat the low cost factor.

      Unfortunately I cant tell you anything about touch, since I went non touch.
      Full screen calender is no problem at all, just remember you start with a basic calender which youd have to format/style, if you also want the Google appearance. In the module calendarEXT3 there is a marquee function, so that longer event titles just scroll through to make em readable completely.

      I was thinking about a browser view too, but felt that this was just “not enough”, not special enough. There are also different apps people offer to achieve the same thing like MagicMirror ( but its easier to set up in this case), but usually theyre paid at some point.

      If youre only after calender, this could lead to ( if you take default apps out of the config ) almost the complete screen free for it. Based on that, you still have to figure out how big of a screen is needed for your “eyes”. ^^

      posted in Troubleshooting
      _
      _V_
    • RE: CalendarEXT3 questions

      That solved the problem. Thank you sir
      If anyone cares: “CW” is shown even after correct/different local settings because it´s written as element in the stylesheet from calendarEXT3, so you have to change the term there.

      posted in Troubleshooting
      _
      _V_
    • RE: CalendarEXT3 questions

      Like said above, the colors work now…

      The CW counting not, thats why I showed you that part man…

      posted in Troubleshooting
      _
      _V_
    • 1 / 1