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

Scheduled Pinned Locked Moved Productivity
198 Posts 45 Posters 179.4k Views 45 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.
  • P Offline
    Phil_T
    last edited by Phil_T Nov 29, 2017, 3:04 PM Nov 29, 2017, 2:53 PM

    Thanks a lot for the quick response!

    There should also be “Mariä Empfängnis” on the 8th of December, which isnt showing (maybe a problem with ä, ö and ü?).

    Sorry for my confusing explanation. I meant for the calendar to cover the whole screen apart from a bar at the top for time and weather.

    Thanks, the time is showing.

    edit: furthermore, how can I stop the module from cutting off the bottom part?
    0_1511967876094_screenshot.png

    ? 2 Replies Last reply Nov 29, 2017, 2:58 PM Reply Quote 0
    • ? Offline
      A Former User @Phil_T
      last edited by Nov 29, 2017, 2:58 PM

      @Phil_T
      For position, you can set your view position in config.

      config: {
              system: {
                show: ["weeks"],
                locale: 'en',
              },
              views: {
                weeks: {
                  position: "bottom_bar", // Set this as your wish.
                  counts: 4,
                },
      ...
      

      Ref.) https://forum.magicmirror.builders/topic/286/regions

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @Phil_T
        last edited by A Former User Nov 29, 2017, 3:22 PM Nov 29, 2017, 3:20 PM

        @Phil_T

        edit: furthermore, how can I stop the module from cutting off the bottom part?

        Hmmm… On my mirror, Mariä Empfängnis is shown well.
        I suspect your configuration contains limit or overflow options.

        See here. https://github.com/eouia/MMM-CalendarExt/wiki/Manipulation-of-looks#viewlimit--viewoverflow

        You could get idea how to optimize size in that page.

        Anyway, 4 weeks and month view are frankly a bit large for mirror (I think.).

        1 Reply Last reply Reply Quote 0
        • P Offline
          Phil_T
          last edited by Nov 29, 2017, 5:08 PM

          Wonderful, everyting works now. Thanks a lot!

          1 Reply Last reply Reply Quote 0
          • H Offline
            helmi
            last edited by Dec 19, 2017, 8:09 AM

            MMM-CalendarExt not updating calendar events.**
            I have configured two calendar views: “daily” and “upcoming”. I have set the redrawInterval to minimum: 60000 ms. I have two calendars: Private Google Calendar and local ics calendar file. When I update one or another of my calendars, my calendars don’t update at all. Updates happen only when I restart MMM from the beginning. For testing purposes I have also the “default” calendar in my configuration and it updates normally. For testing purposes I have added command 'self.sendSocketNotification(‘RESET_CALENDARS’) to the MMM-CalendarExt.js code inside the redrawTimer function. This dirty patch resets the calendars every 60 seconds, but I don’t think this is the right way to solve my problem. Please help.

            ? 1 Reply Last reply Dec 19, 2017, 8:26 AM Reply Quote 0
            • ? Offline
              A Former User @helmi
              last edited by Dec 19, 2017, 8:26 AM

              @helmi
              Well, I tested and found nothing problem.
              So, I suspect there might be some errors in front-electron views. Front-view error(from any module) could cause interfering other modules working. You can test by npm start dev.

              H 2 Replies Last reply Dec 19, 2017, 8:31 AM Reply Quote 0
              • H Offline
                helmi @Guest
                last edited by Dec 19, 2017, 8:31 AM

                @Sean I have been using the ‘npm start dev’ and it shows no errors. From the console log I can see that the timer triggers as expected. From the Calendar.js log (terminal view) I can see that the calendars fetching happens only when I start MMM from the beginning.

                1 Reply Last reply Reply Quote 0
                • H Offline
                  helmi @Guest
                  last edited by Dec 19, 2017, 9:10 AM

                  @Sean FYI: I have removed all other modules, only MMM-CalendarExt existing. I have also removed local calendar file, only Google Calendar URL existing. I have done shutdown and restart (both Rpi and MMM) several times. Problem still exists. For me looks like problem is where the calendars fetching should trigger. They happen only once when I start MMM from the beginning.

                  ? 1 Reply Last reply Dec 19, 2017, 9:15 AM Reply Quote 0
                  • ? Offline
                    A Former User @helmi
                    last edited by Dec 19, 2017, 9:15 AM

                    @helmi
                    Hmmmm… weird.

                    Anyway, Calendar fetching interval([calendar].interval) is different with front-view redrawing(system.redrawInterval). There is some possibility of you’ve been confusing.

                    H 1 Reply Last reply Dec 19, 2017, 9:39 AM Reply Quote 0
                    • H Offline
                      helmi @Guest
                      last edited by Dec 19, 2017, 9:39 AM

                      @Sean Ok - So does that mean that the redrawInterval parameter (my setting 60000) has nothing to do with Calendar fetching interval? If so, could you please give me some testing procedure in order to test those parts of the code where the fetching interval is working (or for me: not working)? I have some coding experience, but js is not my best knowledge.

                      ? 1 Reply Last reply Dec 19, 2017, 10:04 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 19
                      • 20
                      • 5 / 20
                      • 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