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

MMM-CalendarExt2

Scheduled Pinned Locked Moved Utilities
484 Posts 82 Posters 664.8k Views 82 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.
  • C Offline
    Clubjack
    last edited by Dec 18, 2019, 7:08 PM

    Hello together.

    Is it possible to Show two different calendars, on two different pages (mmm-pages)?

    ? 1 Reply Last reply Dec 18, 2019, 7:11 PM Reply Quote 0
    • ? Offline
      A Former User @Clubjack
      last edited by A Former User Dec 18, 2019, 7:11 PM Dec 18, 2019, 7:11 PM

      @Clubjack
      Possible.
      You need 2 scenes which have independent views of your calendars.
      Then, read this;
      https://github.com/eouia/MMM-CalendarExt2/wiki/3.-Usage#user-defined-notification-trigger

      C 1 Reply Last reply Dec 18, 2019, 7:28 PM Reply Quote 0
      • C Offline
        Clubjack @Guest
        last edited by Dec 18, 2019, 7:28 PM

        @Sean
        OK.
        But i want to same looking calendars with same View.
        I try it, with coping the mmm-calendarext2 and rename it to mmm-calendarext2.2

        S ? 2 Replies Last reply Dec 18, 2019, 7:30 PM Reply Quote 0
        • S Offline
          sdetweil @Clubjack
          last edited by Dec 18, 2019, 7:30 PM

          @Clubjack ust make another scene like the 1st one with a different name, and put that on the next page

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @Clubjack
            last edited by A Former User Dec 18, 2019, 7:32 PM Dec 18, 2019, 7:31 PM

            @Clubjack said in MMM-CalendarExt2:

            I try it, with coping the mmm-calendarext2 and rename it to mmm-calendarext2.2

            This module will not work like that.

            But i want to same looking calendars with same View.

            Just make one more view with the same configured values.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jdfraser @Guest
              last edited by Dec 18, 2019, 9:26 PM

              @Sean Thank you for your quick response! I will practice my Javascript :)

              S 1 Reply Last reply Dec 18, 2019, 10:00 PM Reply Quote 0
              • S Offline
                sdetweil @jdfraser
                last edited by sdetweil Dec 18, 2019, 10:01 PM Dec 18, 2019, 10:00 PM

                @jdfraser really no javascript , just stuff in config…

                you have for Ext2 a config section
                which has

                scenes: {
                     [
                         { name:  "scene1",
                             viewes: ["view1", "view2"]
                         },
                         { name:  "scene2",            // < --- make secodn scene that looks like the 1st
                             viewes: ["view1", "view2"]
                         },
                    ]
                }
                Views: {
                     [
                         { name:  "view1"
                         },
                         {  name: "view2"
                         }
                     ]
                }
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Clubjack
                  last edited by Dec 19, 2019, 5:36 PM

                  I think there’s a little misunderstanding.
                  I would like to create several pages with mmm-pages and control them via alexa. Therefore I have to specify in the configs of mmm-pages which modules should be there on the pages.

                  Example:
                  Page 1: mmm-clock, mmm-calendarext2
                  Page 2: mmm-waether, mmm-calendarext2

                  How should I insert different scenes or views there?

                  ? 2 Replies Last reply Dec 19, 2019, 6:24 PM Reply Quote 0
                  • ? Offline
                    A Former User @Clubjack
                    last edited by A Former User Dec 19, 2019, 6:25 PM Dec 19, 2019, 6:24 PM

                    @Clubjack
                    MMM-CalendarExt should exist on all the pages. And give it an order to change scenes by notification from whatever(mmm-pages?)

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @Clubjack
                      last edited by Dec 20, 2019, 8:11 AM

                      @Clubjack
                      I just looked inside MMM-Pages(edward-shen/MMM-pages) shortly, It has no feature to emit notifications about current page sequence to other modules. It has PAGE_NUMBER_IS but it is only as the response of QUERY_PAGE_NUMBER. So there is no way to recognize which page at that moment. So CalendarExt2 cannot know what scene to show.
                      My previous answers are somewhat confused because MMM-Page-Selector(Veldrovive/MMM-Page-Selector) has PAGE_CHANGED to inform the current page when page is changed.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 20
                      • 21
                      • 22
                      • 23
                      • 24
                      • 48
                      • 49
                      • 22 / 49
                      22 / 49
                      • First post
                        218/484
                        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