• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Default calendar customEvents not working

Scheduled Pinned Locked Moved Unsolved Troubleshooting
22 Posts 2 Posters 1.8k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    pauabaer @sdetweil
    last edited by May 25, 2025, 1:38 PM

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

    IMG_2567.png

    S 1 Reply Last reply May 25, 2025, 1:41 PM Reply Quote 0
    • S Offline
      sdetweil @pauabaer
      last edited by sdetweil May 25, 2025, 1:42 PM May 25, 2025, 1:41 PM

      @pauabaer you needed to escape the \ with another backslash
      in the string… its a javascript thing

      as I noted in my prior post
      also remove the leading /

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      P 1 Reply Last reply May 25, 2025, 3:08 PM Reply Quote 0
      • P Offline
        pauabaer @sdetweil
        last edited by May 25, 2025, 3:08 PM

        @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? :)

        S P 2 Replies Last reply May 25, 2025, 3:19 PM Reply Quote 0
        • S Offline
          sdetweil @pauabaer
          last edited by May 25, 2025, 3:19 PM

          @pauabaer do you still see the same error in the dev console?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            pauabaer @pauabaer
            last edited by May 25, 2025, 3:53 PM

            IMG_2570.png

            P 1 Reply Last reply May 25, 2025, 4:03 PM Reply Quote 0
            • P Offline
              pauabaer @pauabaer
              last edited by May 25, 2025, 4:03 PM

              It’s not the error I saw before.

              S 1 Reply Last reply May 25, 2025, 4:32 PM Reply Quote 0
              • S Offline
                sdetweil @pauabaer
                last edited by May 25, 2025, 4:32 PM

                @pauabaer ok, i am at grandson baseball for a while

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                P 1 Reply Last reply May 25, 2025, 4:39 PM Reply Quote 0
                • P Offline
                  pauabaer @sdetweil
                  last edited by May 25, 2025, 4:39 PM

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

                  S 1 Reply Last reply May 25, 2025, 9:09 PM Reply Quote 0
                  • S Offline
                    sdetweil @pauabaer
                    last edited by May 25, 2025, 9:09 PM

                    @pauabaer I’m back

                    my config for customEvents is

                                                                    {
                                                                    keyword: "Gerburtstag",
                                                                    symbol: "birthday-cake",
                                                                    transform: {           
                                                                            search: "^([^\\s]+) (\\d{4}) Gerburtstag$",           
                                                                            replace: "$1 ($2)",           
                                                                            yearmatchgroup: 2
                                                                            }
                                                                    } 
                    

                    my test calendar event title (from the summary field in the actual ICS data) is

                    SUMMARY:test 1986 Gerburtstag
                    

                    the debug line in the parser is

                    [2025-05-25 16:08:47.371] [DEBUG] title: test 1986 Gerburtstag 
                    

                    I see
                    Screenshot at 2025-05-25 16-05-03.png

                    I walked thru the code and it worked as expected…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 3
                    • 2 / 3
                    2 / 3
                    • First post
                      18/22
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy