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

    Posts

    Recent Best Controversial
    • RE: Default calendar customEvents not working

      @sdetweil
      Ok. Let me know when you are back and can help again.
      Thanks a lot.

      posted in Troubleshooting
      P
      pauabaer
    • RE: Default calendar customEvents not working

      It’s not the error I saw before.

      posted in Troubleshooting
      P
      pauabaer
    • RE: Default calendar customEvents not working

      IMG_2570.png

      posted in Troubleshooting
      P
      pauabaer
    • RE: Default calendar customEvents not working

      @sdetweil
      I did. But…

      IMG_2569.png

      I got the feeling i am not far away from the solution. Have still patient to bring me to that point? :)

      posted in Troubleshooting
      P
      pauabaer
    • RE: Default calendar customEvents not working

      @sdetweil
      Ok. Within the regex101 there is no mistake. But when I change within the config nothing happens again.

      IMG_2567.png

      posted in Troubleshooting
      P
      pauabaer
    • RE: Default calendar customEvents not working

      @sdetweil
      Meanwhile I found the right place. Sorry for this.
      In the pic below you can see the entry.

      IMG_2565.png

      Does help you?

      posted in Troubleshooting
      P
      pauabaer
    • RE: Default calendar customEvents not working

      @sdetweil
      I did add the debug setting but presumably at the wrong position.
      Thought I should add it here:

      
      module: "calendar",
      header: "Familienkalender",
      position: "top_left",
                         config:{
                                loglevel: ["DEBUG"],
                                              customEvents: [
                                                      {
                                                      keyword: "Geburtstag",
                                                      symbol: "birthday-cake",
                                                      transform: {
                                                              search: "^([^\']*) \'(\\d{4})$",
                                                              replace: "$1 ($2)",
                                                              yearmatchgroup: 2
                                                              }
                                                      }
      
      
      posted in Troubleshooting
      P
      pauabaer
    • RE: Default calendar customEvents not working

      @sdetweil
      Finally I got some time to test. See the pic below:

      IMG_2563.jpeg

      I got the message that there is one entry but no title is shown. Did I do something wrong?

      posted in Troubleshooting
      P
      pauabaer
    • RE: Default calendar customEvents not working

      @sdetweil
      Thanks for helping.

      I tried to figure out. Went to the console tab and put the filter on cal.
      I get an error your yearmatch is that right? But I don’t know how to deal with it. Can you give me a hint?

      Bildschirmfoto 2025-05-17 um 15.12.20.jpeg.png

      posted in Troubleshooting
      P
      pauabaer
    • RE: Default calendar customEvents not working

      Thank you a lot @sdetweil
      Now the right symbol is shown on my screen.

      Next I tried to use the transform option:

      
                      {
                              module: "calendar",
                              header: "Familienkalender",
                              position: "top_left",
                                      config:{
                                              customEvents: [
                                                      {
                                                      keyword: "Geburtstag",
                                                      symbol: "birthday-cake",
                                                      transform: {           
                                                              search: "^(.+) (\\d{4}) Geburtstag$",           
                                                              replace: "$1 ($2)",           
                                                              yearmatchgroup: 2
                                                              }
                                                      }       
                                                              ],
                                              calendars: [
                                                      {
                                                      url: "my-url“,
                                                      symbolClass: "fas fa-fw fa-"
                                                      }
                                                        ]
                                              }
                      },
      

      But when I refresh the browser whithin the Kalender „Familienkalender“ is no entry anymore but the word „loading…“ but nothing new is shown after a while.

      What could this circumstance cause?

      posted in Troubleshooting
      P
      pauabaer
    • 1 / 1