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

    daportelli

    @daportelli

    2
    Reputation
    2
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    daportelli Unfollow Follow

    Best posts made by daportelli

    • Calendar CustomEvents

      Hi,

      I am trying to update the text in the customEvents section of the default calendar using a transform, but I am unable to make it work. Any thoughts on what I am doing wrong?

      {keyword: 'Canterbury-Bankstown Bulldogs', transform: { search: 'Canterbury-Bankstown Bulldogs', replace: 'Bulldogs'},
      {keyword: 'Spotify', transform: { search: 'Spotify', replace: 'Music'}},
      

      Thanks
      David

      posted in Troubleshooting
      D
      daportelli
    • RE: MMM-OnSpotify Waiting for Authorization

      @sdetweil not sure what happened, you were correct it was showing a mismatch error in the URL. I rotated the secret a couple of time and it worked. Not sure why. Thanks again for the assist.

      posted in Entertainment
      D
      daportelli

    Latest posts made by daportelli

    • RE: Calendar CustomEvents

      @sdetweil well that explains it. I thought the default calendar configs were available to the MMM-GoogleCalendar.

      Sorry, i did not make it clearer. Everyone thanks for the assist in getting to the bottom of it.

      posted in Troubleshooting
      D
      daportelli
    • RE: Calendar CustomEvents

      @sdetweil to remove as many variables as I can, I have created a reoccuring event called “Spotify” and I want to change it to “Music”

      Screenshot 2026-03-21 163450.jpg

      And I have tried the code below with single and double quotes with no success

      {keyword: '.*', transform: { search: 'Spotify', replace: 'Music'}},
      

      For something so simple this is driving me crazy.

      posted in Troubleshooting
      D
      daportelli
    • RE: Calendar CustomEvents

      Thanks for explaining this in a language I can understand. I got that to work.

      In my calendar I have “amex” typed in lower case and I want the transform it to upper “AMEX” to show this works.

      Screenshot 2026-03-16 090228.jpg

      However when I use the below code on a calendar event that only has an event titled ‘amex’ in lower case does not work.

      {keyword: 'amex', transform: { search: 'amex', replace: 'AMEX'}},
      

      This simple thing is confusing me. I have removed all variables, and it still does not work.

      Thanks again for everyone help.

      posted in Troubleshooting
      D
      daportelli
    • RE: Calendar CustomEvents

      Sorry for the delayed response. Work and life got in the way. I went to the regex tester and used the example from the calendar config for customEvents {keyword: ‘in Hamburg’, transform: { search: ’ in Hamburg$’ , replace: ‘’}} and I could not make it work as per the example in the documentation.

      (https://fossa.com/resources/devops-tools/regex-tester/)
      

      Screenshot 2026-03-14 111031.jpg

      I also tried the other checker with a simplier transform.

      (https://regex101.com/)

      Screenshot 2026-03-14 164904.jpg

      I am struggling to understand what I am doing wrong.

      Your help is appreciated.

      David

      posted in Troubleshooting
      D
      daportelli
    • RE: Calendar CustomEvents

      @sdetweil said:

      show me the calendar module config, xxx out any cal urls

      Here is the full module config, everything else works. I cannot figure this out. Thanks for the assist.

      	{
      			module: 'MMM-GoogleCalendar',
      			header: "David's Calendar",
      			position: "top_left",
      			classes: "clalendar-full",
      			disabled: false,
      			config: {
      				colored: true,
      				maximumNumberOfDays: 10,
      				maximumEntries: 30,
      				maxTitleLength: 35,
      				displayRepeatingCountTitle: true,
      				defaultRepeatingCountTitle: "",
      				getRelative: 12,
      				fade: false,
      				fadePoint: 0.00,
      
      */
      
      			customEvents: [
      						{keyword: 'Spotify', transform: { search: '(?i)Spotify\\s*$', replace: 'Music'}}, 
                                                      {keyword: 'Canterbury-Bankstown Bulldogs', transform: { search: 'Canterbury-Bankstown Bulldogs', replace: 'Bulldogs'},
      						{keyword: 'Photo', symbol: 'camera', color: 'Silver'},
      						{keyword: 'Benji', symbol: 'paw', color: 'LightGoldenrodYellow'},
      						{keyword: 'Doctor', symbol: 'staff-snake', color: '#0048ba'},
      						{keyword: 'Dr ', symbol: 'staff-snake', color: '##58B1CD'},
      						{keyword: 'Dentist', symbol: 'tooth'},
      						{keyword: 'Orthodontist', symbol: 'teeth'},
      						{keyword: 'Party', symbol: 'gift'},
      						{keyword: 'Christmas', symbol: 'sleigh'},				
      						{keyword: 'BMC', symbol: 'staff-snake', color: '##58B1CD'},
      						{keyword: 'Anzac Day', symbol: 'monument'},
      						{keyword: 'Big w', symbol: 'building'},
      						{keyword: 'Recycling', symbol: 'recycle'},
      						{keyword: 'Rubbish', symbol: 'trash-can'},
      						{keyword: 'tennis', symbol:'table-tennis-paddle-ball', color:'#ff7518'}  // Pumkin
      			  ],							
      			calendars: [
      						{
      							symbol: "calendar", //Main Calendar
      							color: "#89cff0",  //Baby Blue
      							calendarID: "XXXXXXX@gmail.com"
      						},
      						{
      							symbol: "calendar-week", //bills
      							color: "#e95c4b",  //Fire Opal
      							calendarID: "XXXXXXX@group.calendar.google.com"
      						},  
      						{
      							symbol: "birthday-cake",
      							color: "#87a96b",  //Asparagus
      							calendarID: ""
      						},
      						{
      							symbol: "briefcase",	//work
      							color: "#7fffd4",  //Aquamarine
      							calendarID: "XXXXXXX@group.calendar.google.com"
      						},
      						{
      							symbol: "football",   //NRL
      							color: "#458b74",  //Aquamarine4
      							calendarID: "XXXXXXX@group.calendar.google.com"
      						},
      						{
      							symbol: "calendar",  //Public Holidays
      							color: "#f767d8",  //pink
      							calendarID: "en-gb.australian#holiday@group.v.calendar.google.com"
      						},
      						
      							// add another calendar HERE if needed          // To add more calendars, replicate the above entry within this array with the respective ID
      						],
      					},
      			},
      			
      
      
      posted in Troubleshooting
      D
      daportelli
    • Calendar CustomEvents

      Hi,

      I am trying to update the text in the customEvents section of the default calendar using a transform, but I am unable to make it work. Any thoughts on what I am doing wrong?

      {keyword: 'Canterbury-Bankstown Bulldogs', transform: { search: 'Canterbury-Bankstown Bulldogs', replace: 'Bulldogs'},
      {keyword: 'Spotify', transform: { search: 'Spotify', replace: 'Music'}},
      

      Thanks
      David

      posted in Troubleshooting
      D
      daportelli
    • RE: MMM-OnSpotify Waiting for Authorization

      @sdetweil not sure what happened, you were correct it was showing a mismatch error in the URL. I rotated the secret a couple of time and it worked. Not sure why. Thanks again for the assist.

      posted in Entertainment
      D
      daportelli
    • RE: MMM-OnSpotify Waiting for Authorization

      Correct, but it brings up the same page that I was just on. Which is why I am confused.

      posted in Entertainment
      D
      daportelli
    • MMM-OnSpotify Waiting for Authorization

      Hi,

      I’m stuck, and I’m sure it’s something simple that I’m missing. I have installed the app and have followed the instruction on the developer dashboard, entered the client ID and secret, and I am stuck at step 3 where it says “waiting for Authorization”. Do I need to authorise it somewhere?

      Thanks

      David

      posted in Entertainment
      D
      daportelli
    • RE: MMM-Config Missing changing settings

      @sdetweil thanks for looking into it

      posted in Troubleshooting
      D
      daportelli