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 cant get the calendar to show

    Scheduled Pinned Locked Moved Troubleshooting
    23 Posts 8 Posters 13.5k Views 9 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.
    • ? Offline
      A Former User @cruunnerr
      last edited by

      @cruunnerr
      Async functions are not supported by Node versions older than version 7.6.

      1 Reply Last reply Reply Quote 0
      • cruunnerrC Offline
        cruunnerr
        last edited by cruunnerr

        @Sean
        U think i need to do an update of node?

        So u wanna hear a fun fact?

        On my Mirror itself nothings shows up.
        BUT, when i go to the MagicMirror website via browser or the MMM-RemoteControl it is right there!

        Can anyone explain that?

        the config i test it:

                       {
                                module: 'MMM-CalendarExt',
                                position: "bottom_bar",
                                config: {
                                              system: {
                                              show: ['month'],
                                              },
                                              views: {
                                              month: {
                                              position:'bottom_bar',
                                              },
                                              },
                                              calendars :[
                                              {
                                              url: "https://ics.fixtur.es/v2/eintracht-frankfurt.ics"
                                              },
                                              ]
                                    }
                        },
        

        alt text

        1 Reply Last reply Reply Quote 0
        • M Offline
          Major
          last edited by

          @cruunnerr

          I just ran an update this morning and I am having the exact problem.

          Same error, and it works through a web browser…

          Have you found a resolution?

          Did updating node help? If so, how do you update it?

          Thank you for your help,
          Major

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            fering3 @Major
            last edited by

            I’m having the same issue for the past few days.

            Updated to the latest release of MM today hoping it would solve it somehow but no luck.

            1 Reply Last reply Reply Quote 0
            • F Offline
              fering3
              last edited by

              Quick update. I hacked around some updates to Node, npm etc, but nothing seemed to work.

              So I removed the async and the await from the addCalendars function so it looks something like this (file: MMM-CalendarExt.js)

              addCalendars: function() {
                 var self = this
                 for (var c in this.CurrentConfigs.calendars) {
                   self.addCalendar(self.CurrentConfigs.getCalConfig(c))
                   sleep(1000)
                 }
               },
              

              Seems to work for now. But looking back through github I don’t see that these are recent additions so I don’t know why this started failing now. Hopefully somebody smarter than I will figure it out.

              1 Reply Last reply Reply Quote 0
              • cruunnerrC Offline
                cruunnerr
                last edited by cruunnerr

                Significantly Changes in the new update is the use of electron 1.4.15.
                I used it already before the update, but i don’t want to update (cause of the CPU trouble thing…) to check if it is the reason.
                but that is the only thing that comes to my mind, since you both got the problem when updating to the newest MM-Version

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

                  I doubt MM has downgraded its node version of electron for some reason.
                  Unfortunately, ‘async function’ is not working on the lower version of node. I think that is the reason for this issue.
                  I’ll check and patch this for some time. Sorry, I should do my job first before this. Plz wait for a while.

                  Hein-JanH 1 Reply Last reply Reply Quote 0
                  • Hein-JanH Offline
                    Hein-Jan @Guest
                    last edited by

                    @Sean

                    If I read this right:

                    Changed

                    * Calender week is now handled with a variable translation in order to move number language specific.
                    * Reverted the Electron dependency back to 1.4.15 since newer version don’t seem to work on the Raspberry Pi very well.
                    

                    MM has indeed downgraded…

                    1 Reply Last reply Reply Quote 0
                    • cruunnerrC Offline
                      cruunnerr
                      last edited by cruunnerr

                      yeah, its all discussed in this thread: https://forum.magicmirror.builders/topic/4684/electron-cpu-usage?page=1

                      I had the problem, too. CPU Usage above 80%.
                      When i downgrade to electron 1.4.15 the CPU usage went to nearly 0% !

                      But then i went to the Problem that the CalendarExt Module only shows in an external web browser and not on the MM itself.

                      Think we have to hope, that Sean will find a solution. :D
                      (Or the electron Problem is gone…)

                      N 1 Reply Last reply Reply Quote 0
                      • N Offline
                        ninjabreadman @cruunnerr
                        last edited by

                        @cruunnerr Did you try the solution I suggested here? https://forum.magicmirror.builders/topic/6047/calendar-module-won-t-show-all-events/4

                        Problem with config or JavaScript? Copy/paste it into JSHint.
                        Check out the detailed walkthroughs on install, config, modules, etc.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 3 / 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