MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. lum3n
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    L
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 0

    lum3n

    @lum3n

    1
    Reputation
    623
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    lum3n Unfollow Follow

    Best posts made by lum3n

    • RE: Calendar shows no events

      I found the mistake. There was something wrong with my lighttpd access configuration.
      Althought using localhost in the url, it seems like MM resolves the hostname or at least the web server thinks he was accessed by its hostname.
      Adding the hostname itself to the access rule did the trick.

      Thanks for the help and regards!

      posted in Troubleshooting
      L
      lum3n

    Latest posts made by lum3n

    • RE: Calendar shows no events

      I found the mistake. There was something wrong with my lighttpd access configuration.
      Althought using localhost in the url, it seems like MM resolves the hostname or at least the web server thinks he was accessed by its hostname.
      Adding the hostname itself to the access rule did the trick.

      Thanks for the help and regards!

      posted in Troubleshooting
      L
      lum3n
    • RE: Calendar shows no events

      @strawberry-3-141 Thank you for your answer and sorry for my late reply.

      Good idea, I tried different samples I found online, for example all German holidays.
      Placing it locally results in no events. Using the URL http://ifeiertage.de/ni-sk.ics works. The problem seems to my environment. But I can’t spot it right now cause doing a simple curl works without any problems.

      Is there a way to increase/get any logging of what happens when MM tries to fetch the ics?

      posted in Troubleshooting
      L
      lum3n
    • Calendar shows no events

      Hello,

      I installed MM2 cloning it from the GitHub repo. I want to display events from multiple ical calendars.
      Because my collaboration server uses a self signed certificate I provide the ics files via a local webserver.

      The problem I have is that the interface always says that there are no events, no matter which ics file I try.

      My config looks like this:

      {
                              module: "calendar",
                              header: "Kalender",
                              position: "bottom_left",
                              config: {
                                      calendars: [
                                              {
                                                      url: 'http://localhost/calendars/Calendar.ics',
                                                      symbol: 'archive'
                                              }
                                      ],
                                      fetchInterval: 60000
                              }
                      },
      

      The application starts without any errors.

      Starting MagicMirror: v2.1.2
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      No helper found for module: compliments.
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper ...
      Module helper loaded: newsfeed
      All module helpers loaded.
      Starting server on port 8081 ... 
      Server started ...
      Connecting socket for: updatenotification
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Sockets connected & modules started ...
      
      Ready to go! Please point your browser to: http://localhost:8081
      
      Create new calendar fetcher for url: http://localhost/calendars/Calendar.ics - Interval: 60000
      

      Running the debug.js shows the following:

      Create fetcher ...
      Create fetcher done! 
      []
      ------------------------------------------------------------
      

      It seems like it can’t parse the file which looks as follows e.g.:

      BEGIN:VEVENT
      UID:1f38f412-f257-4094-8df5-468caaca2332
      SUMMARY:Do some stuff
      ORGANIZER;CN=John Doe:mailto:john@doe.com
      DTSTART;VALUE=DATE:20170715
      DTEND;VALUE=DATE:20170716
      STATUS:CONFIRMED
      CLASS:PRIVATE
      X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
      X-MICROSOFT-CDO-INTENDEDSTATUS:FREE
      TRANSP:TRANSPARENT
      LAST-MODIFIED:20170710T123051Z
      DTSTAMP:20170710T123051Z
      SEQUENCE:0
      END:VEVENT
      
      

      The file contains a lot more events in the past and the future - also none all-day events.

      The system is a Raspberry 2 Model B running raspbian. I start MM2 as “serveronly” and open the interface from another device.
      Only thing left to mention is that I had to replace node from the repository doing this. Otherwise it wasn’t possible to run “npm install”

      It would be great, if you have an idea.
      Thanks and regards!

      posted in Troubleshooting
      L
      lum3n