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 11
    • Groups 0

    daportelli

    @daportelli

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

    daportelli Unfollow Follow

    Best posts made by 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
    • 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

    Latest posts made by 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
    • MMM-WeatherGraph formatting issue

      Re: MMM-WeatherGraph - new module using OpenWeatherMap

      First of all love the app.

      Is there a way to force the alignment of the bar graph when the perspiration for a particular day is missing.

      Weather Graph Incorrect Format.png

      In the case above, when there is one day without rain the bar graph is out of alignment with the rest of the week.

      Thoughts on how I could fix this?

      Thanks

      David

      posted in Utilities
      D
      daportelli
    • MMM-Config Missing changing settings

      Not sure if this is the correct place to not @sdetweil around a couple of issues I have found:
      -MMM-pilehole-stats, the API is missing from the config page. After saving, the API remains in the config.js file. MMM-pilehole-stats Config page.png

      -MMM-Remote-Control, the API is missing from the config page. After saving, the API remains in the config.js file. MMM-Remote-Control.png

      • Weather_Current, the config module does not read the API key or the lon/lat setting and then removes them from the file on save. Waether_Current_Before.png Waether_Current_After.png

      Thanks

      David

      posted in Troubleshooting
      D
      daportelli