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.

    MMM-CalendarExt2

    Scheduled Pinned Locked Moved Utilities
    486 Posts 83 Posters 942.3k Views 83 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.
    • J Offline
      JHermann
      last edited by

      @BKeyport Hi Mate, I have res set to 1920x1080 and am using portrait mode via screen layout editor and choosing orientation of right.
      Am using a LED TV as the display, I have been emailing Sean and he has the same thoughts that other modules are interfering and he could can get daily view to display in other regions with only the calendar Ext2 module.
      custom.css has only the below in it to reduce margins:

      body {
      margin: 20px;
      position: absolute;
      height: calc(100% - 40px);
      width: calc(100% - 40px);
      }
      I have deleted all other modules from the Config file and still cant display the daily view in other regions at all…weird.
      There must be something I am doing wrong but as as I am inexperienced I am struggling.
      The new Config is below and have emailed Sean a screenshot (havent been able to upload a picture to this forum) and this config as well:
      Any assistance is appreciated.

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "localhost", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	language: "en",
      	timeFormat: 12,
      	units: "metric",
      	// serverOnly:  true/false/"local" ,
      			     // local for armv6l processors, default 
      			     //   starts serveronly and then starts chrome browser
      			     // false, default for all  NON-armv6l devices
      			     // true, force serveronly mode, because you want to.. no UI on this device
      	
      	modules: [
      		{
      			module: 'MMM-CalendarExt2',
      			config: {
      				calendars: [
      			{
      				name: "Jaimie",
      				url: "https://calendar.google.com/calendar/ical///////////////////",
      			},
      			{
      				name: "Simona and Jaimie",
      				url: "https://calendar.google.com/calendar/ical///////////////////////////",
      			},
      			{
      				name: "Birthdays",
      				icon: "emojione-monotone:birthday-cake",
      				url: "https://calendar.google.com/calendar/htmlembed?src=///////////////////////////////",
      			},
      		],
      				views: [
      			{
      				name: "Upcoming Events",
      				title: "Upcoming Events",
      				mode: "upcoming",
      				position: "top_left",
      				maxItems: 5,
      				maxDays: 7,
      				locale: "en",
      				hideOverflow: false,
      				filterPassedEvent: true,
      				dateTimeFormat:"M/D h:mm A",
      				calendars: ["Jaimie","Simona and Jaimie","Birthdays"],
      			},
      			{`
      				name: "Calendars",
      				title: "All Calendars",
      				mode: "daily",
      				type: "row",
      				position: "top- right",
      				slotCount: 4,
      				locale: "en",
      				hideOverflow: false,
      				filterPassedEvent: true,
      				dateTimeFormat:"M/D h:mm A",
      				calendars: ["Jaimie","Simona and Jaimie","Birthdays"],
      			},
      		],
      				scenes: [
      			{
      				name: "DEFAULT",
      				views: [],
      			},
      		],
      	},
      },
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      
      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @JHermann
        last edited by

        @JHermann
        Have you done something on css/custom.css or main.css or any other css file?

        1 Reply Last reply Reply Quote 0
        • J Offline
          JHermann
          last edited by JHermann

          @Sean Only the Custom.css per below to reduce margins. No other changes to any ,css file as far as i recolect.

          body {
          margin: 20px;
          position: absolute;
          height: calc(100% - 40px);
          width: calc(100% - 40px);
          }

          Maybe i should uninstall and start over?

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @JHermann
            last edited by

            @JHermann
            Well , this kind of problem is not related to installation. Reinstall might solve the issue, but we don’t know why and how. And there is still possibility of not-solving.

            The most common pitfall might be mistyping.

            position: "top- right",
            

            This is not a proper symbol of top_right region.

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              JHermann @Guest
              last edited by

              @Sean Good point, that was a definite typo.

              1 Reply Last reply Reply Quote 0
              • H Offline
                Hram2008
                last edited by Hram2008

                Multiple Icon in upcoming View

                Please confirm how I can add more then one Icon in the upcoming view, I used the Transform event in "Views"but I can only get one icon to show…

                ? 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @Hram2008
                  last edited by

                  @Hram2008
                  Not possible. Why do you need? By the case, I could consider that feature, but normally, why is it needed?
                  You can transform the title to use emoji instead icon.

                  H 1 Reply Last reply Reply Quote 0
                  • H Offline
                    Hram2008 @Guest
                    last edited by

                    @Sean
                    Sorry, I am not not able attach an image. What i am trying to do is is the Transform event with specific text to add an emoji to the upcoming view… i.e Calendar event with “Birthday” in name would add a Birthday cake emoji to the event… I want to do this for other text… " Christmas" = x-mas Tree emoji…where other text would display other emoji…

                    ? 1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @Hram2008
                      last edited by A Former User

                      @Hram2008
                      First, I’m not sure emoji could be displayable on Electron(Chromium) of Raspbian without any additional things(font?). I have no RPI at this moment, so can’t test.
                      But I believe it could, And at least, on my other SBCs, it works.

                      Frankly says, How to transform exists already in the wiki of github repository, Anyway, I’ll show it again with another sample.

                      Before

                      Add transform into your target View. (Or you can apply it globally by defaultSet

                      transform: (event) => {
                        event.title = event.title.replace(/FC/g, "⚽")
                        event.title = event.title.replace(" - ", " VS. ")
                        event.title = event.title.replace("(T.B.A.)", "")
                        event.title = event.title.replace("Bayern München", `< img src='https://logodix.com/logo/337534.jpg' height='20px' width='100px' >`)
                        return event
                      }
                      

                      Then It will show like this;
                      After

                      H 1 Reply Last reply Reply Quote 0
                      • H Offline
                        Hram2008 @Guest
                        last edited by

                        @Sean
                        Thank you for taking the time to respond, not quite what i was looking to do but it did point me in the right direction.

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          CharlesDS
                          last edited by

                          Are they known issues on raspberry pi 2? I’m working on configs without success. Black screen, nothing, but other modules, appears.
                          Thanks

                          ? 1 Reply Last reply Reply Quote 0
                          • ? Offline
                            A Former User @CharlesDS
                            last edited by

                            @CharlesDS
                            Without log I cannot tell anything. More detailed info be needed. And Of course, on RPI2, it works.

                            1 Reply Last reply Reply Quote 0
                            • Z Offline
                              Zinkeler
                              last edited by

                              Hello,
                              everything works fine in landscape-mode. If i change to portrait-mode (display_rotate=1
                              avoid_warnings=1 in /boot/config.txt) my calender is not shown. All other modules are on my mirror.
                              Can someone give me a hint?
                              thx
                              Ralph

                              ? 1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User @Zinkeler
                                last edited by

                                @Zinkeler
                                Nothing suspicious.
                                Which view are you using? show me your config about this module.

                                Z 1 Reply Last reply Reply Quote 0
                                • Z Offline
                                  Zinkeler @Guest
                                  last edited by

                                  @Sean
                                  { module: ‘MMM-CalendarExt2’,
                                  config: {
                                  scenes:[
                                  {
                                  name: “DEFAULT”,
                                  views: [“upcoming”,“weeks”],
                                  },
                                  ],
                                  views:[
                                  {
                                  name: “upcoming”,
                                  mode: “upcoming”,
                                  position: “top_left”,
                                  slotTitle: “Demnächst”,
                                  maxItems: 4,
                                  locale: “de-DE”,
                                  calendars: [“Ralph”],
                                  },
                                  {
                                  name: “weeks”,
                                  mode: “week”,
                                  title: “Woche”,
                                  type: “row”,
                                  position: “bottom_bar”,
                                  slotCount: 1,
                                  locale: “de-DE”,
                                  calendars: [“Ralph”],
                                  },
                                  ],
                                  calendars: [
                                  {
                                  name: “Ralph”,
                                  url: “”,
                                  },
                                  ],
                                  },
                                  }

                                  ? 1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User @Zinkeler
                                    last edited by

                                    @Zinkeler
                                    Well, nothing suspicious in configuration.
                                    What log says? open dev-tools on MM screen and see what log says.

                                    Z 1 Reply Last reply Reply Quote 0
                                    • Z Offline
                                      Zinkeler @Guest
                                      last edited by

                                      @Sean
                                      sorry, I’ve never done that. how can i do that?
                                      thx

                                      ? 1 Reply Last reply Reply Quote 0
                                      • ? Offline
                                        A Former User @Zinkeler
                                        last edited by

                                        @Zinkeler
                                        Ctrl + Shift + i (Or different per environment) on MM Screen.

                                        D 1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          Doudy @Guest
                                          last edited by Doudy

                                          @Sean
                                          Hello,
                                          I just went from MMM-Calendarext to MMM-calendarExt2
                                          By following your advice: link text
                                          And I have a few questions:

                                          alt text

                                          • 12/04 Dim. - Pâques
                                            It says ‘Tommorow’
                                            Why ?
                                            How else to translate into (french) ‘Demain’

                                          -16/04 and 17/04
                                          The deadline for the period is indicated: 4/19
                                          How to modify in 19/04

                                          -Is it possible to delete the description of the day: “lundi”, “mardi”
                                          but leave if there is an end date on another day (period)

                                          Thanks
                                          :winking_face:

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            JohnBachini @Doudy
                                            last edited by

                                            @Doudy
                                            Hi,

                                            Did you manage to work out how to change from MM/DD to DD/MM ? As I have same problem.

                                            Thanks

                                            D 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 19
                                            • 20
                                            • 21
                                            • 22
                                            • 23
                                            • 24
                                            • 25
                                            • 21 / 25
                                            • 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