• 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.

Calendar Color

Scheduled Pinned Locked Moved Solved Troubleshooting
27 Posts 12 Posters 16.2k Views 13 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.
  • B Offline
    billp100 @strawberry 3.141
    last edited by Feb 3, 2017, 1:55 PM

    @strawberry-3.141 I just did those steps and got an npm WARN grunt-yamllint@0.2.0 requires a peer of grunt@~0.4.0 but none was installed message

    1 Reply Last reply Reply Quote 0
    • B Offline
      billp100
      last edited by Feb 3, 2017, 3:45 PM

      Got it! thank you for your help

      1 Reply Last reply Reply Quote 0
      • M Offline
        Mitch1138
        last edited by yawns Mar 19, 2017, 2:56 PM Mar 19, 2017, 1:06 PM

        Great discussion. I have also added the options to add color the my two calendars, without success. Does anyone know if color is active in the current code? Here is my config setup:

        {
            module: 'calendar',
            header: 'My Calendar',
            position: 'top_left',
            config: {
            	colored:  true,
        	calendars: [
        		{
        		symbol: 'calendar ',
        		url: 'https://calendar.google.com/calendar/ical/.../basic.ics',
        		color: '#f70000'
        		},
                       	 {
        		symbol: 'calendar-o ',
        		url: 'https://calendar.google.com/calendar/ical/.../basic.ics'
        		color: '#04f448'
                     		},
                            ]
                    }
        },
        

        Many thanks

        S 1 Reply Last reply Mar 19, 2017, 1:07 PM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @Mitch1138
          last edited by Mar 19, 2017, 1:07 PM

          @Mitch1138 its still in the develop branch only

          Please create a github issue if you need help, so I can keep track

          R 1 Reply Last reply Feb 28, 2020, 3:24 AM Reply Quote 0
          • M Offline
            Mitch1138
            last edited by Mar 19, 2017, 1:10 PM

            That was fast, thanks very much. How can you tell when it is released?

            Thanks

            A 1 Reply Last reply Mar 9, 2019, 3:17 PM Reply Quote 0
            • A Offline
              Aries1984 Module Developer @Mitch1138
              last edited by Mar 9, 2019, 3:17 PM

              quick question on this issue…it the function already released? I can’t get it to work :( My config is:

               {
                          module: "calendar",
                          colored: true,
                          header: "Termine",
                          position: "top_left",
                          config: {
                              displaySymbol: true,
                              timeFormat: "absolute",
                              getRelative: "0",
                              urgency: "0",
                              dateFormat: "DD.MM HH:mm",
                              FullDayEventDateFormat: "DD.MM",
                              fetchInterval: "5000",
                              fade: false,
                              calendars: [
                                  {
                                      symbol: "mars",
                                      color: '#f70000',
                                       url: "https://calendar.google.com/calendar...",
                                  },
                                  {
                                      symbol: "venus",
                                      color: '#f70000',
                                      url: "https://calendar.google.com/calendar...",
                                  },
                                  {
                                      symbol: "clock",
                                      color: '#f70000',
                                      url: "https://calendar.google.com/calendar...",
                                  },
                                  {
                                      symbol: "globe",
                                      color: '#f70000',                        
                                      url: "https://calendar.google.com/calendar...",
                                  },
                                  {
                                      symbol: "cocktail",
                                      color: '#f70000',
                                      url: "https://calendar.google.com/calendar...",
                                  }
                              ]
                          }
                      },
              
              1 Reply Last reply Reply Quote 0
              • L Offline
                LeFreak76
                last edited by Apr 28, 2019, 8:27 PM

                Hello Aries,
                have you found a solution for this problem? I have started my Mirror Build today and achieved a lot of good working things. But the calendars are driving me nuts. First test with MMM-MyCalendar failed because of incorect displayed times (11 or 25 minutes off). Never the less that one had colors. Now i switched back to the “default” calendar, and at least the times are properly shown (despite the fact the the absolute or relative Parameters are doing nothing…). Unfortunately it is not possible to change the colors of the different url’s.
                So please drop me a line if you found a solution to it. Or if not “Same problem here +1”

                Thanks a lot
                LeFreak76 from Hamburg

                1 Reply Last reply Reply Quote 0
                • H Offline
                  hockey2112
                  last edited by Sep 18, 2019, 9:25 PM

                  @LeFreak76 , I found a solution that worked for me: https://github.com/MichMich/MagicMirror/tree/develop/modules/default/calendar#calendar-configuration

                  Basically, you need to add colored and coloredSymbolOnly settings/values. Then you can add the color setting with the hex code for each calendar.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rally @strawberry 3.141
                    last edited by Feb 28, 2020, 3:24 AM

                    @strawberry-3-141 What does that mean?
                    It’s not available?

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mrc
                      last edited by Jul 28, 2020, 11:02 PM

                      Go to folder MagicMirror/modules/default/calendar , edit calendar.js , change values colored and coloredSymbolOnly to “true”

                      S 1 Reply Last reply Jul 29, 2020, 12:04 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      • First post
                        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