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

    Posts

    Recent Best Controversial
    • RE: MMM-Remote-Control

      @sdetweil

      That line infortunatly did not do the trick.

      I used the revert option from @ankonaskiff17 to revert back to X11 and now the commands are working again.
      Only thing now is: when monitor turns back on it’s set back to landscape instead of 90 degrees right portrait.

      I remember seeing a fix for that somewhere, so I’ll be looking for that.

      posted in Troubleshooting
      D
      Dennis-010
    • RE: MMM-Remote-Control

      @sdetweil said in MMM-Remote-Control:

      @Dennis-010 sorry, don’t know what you mean ‘custom line’

      Well, I started with:

      monitorOnCommand: "echo 'on 0.0.0.0' | cec-client -s -d 1",
      

      Then changd it to:

      monitorOnCommand: 'xrandr -d :0 --output HDMI-1 --auto',
      

      So I was wondering if there was a new “custom” line of code I can use. But u already said thast there might be no solution yet.

      posted in Troubleshooting
      D
      Dennis-010
    • RE: MMM-Remote-Control

      @sdetweil

      Ah have not found that on Google yet,
      Is there a custom line available to have this fixed?

      posted in Troubleshooting
      D
      Dennis-010
    • MMM-Remote-Control

      Hey all,

      After troubleshooting the calendar module with the help of Sam I stumpled upon a new “problem”.

      I installed the MMM-Remote-Control module to be able to use motion sensors and HASS to turn on/off the screen/monitor.

      The module works flawlessly exept for the monitor on and off command. I can start, restart and turn off the pi with the module.
      I’m using a Pi4 with 2 micro hdmi ports, monitor isd plugged in hdmi0 (left port) Already tried on a different monitor for testing purose.

      Also already changed the output commands to

      'xrandr -d :0 --output HDMI-1 --auto',
      
                  {
                      module: 'MMM-Remote-Control',
                      // uncomment the following line to show the URL of the remote control on the mirror
                      // position: 'bottom_left',
                      // you can hide this module afterwards from the remote control itself
                      config: {
                          customCommand: {  // Optional, See "Using Custom Commands" below
                            monitorOnCommand: 'xrandr -d :0 --output HDMI-1 --auto',
                            monitorOffCommand: 'xrandr -d :0 --output HDMI-1 --off'
                          },
                          showModuleApiMenu: true, // Optional, Enable the Module Controls menu
                          secureEndpoints: true, // Optional, See API/README.md
                          // uncomment any of the lines below if you're gonna use it
                          // customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
                          // apiKey: "", // Optional, See API/README.md for details
                          // classes: {} // Optional, See "Custom Classes" below
                  }
                  },
      
      posted in Troubleshooting
      D
      Dennis-010
    • RE: MMM-Calendar not seem to load .ics

      @sdetweil
      This did the trick, thank you very much.

      You are a genius!!

      posted in Utilities
      D
      Dennis-010
    • RE: MMM-Calendar not seem to load .ics

      @sdetweil
      Think I found it, will check back tomorrow.

      BEGIN:VEVENT
      DTSTAMP:20210413T203456Z
      UID:E689AEB8C02C4E2CADD8C7D3D303CEAD0
      DTSTART;TZID="Amsterdam, Belgrade, Berlin, Brussels, Budapest, Madrid, Paris, Prague, Stockholm":20210415T190000
      DTEND;TZID="Amsterdam, Belgrade, Berlin, Brussels, Budapest, Madrid, Paris, Prague, Stockholm":20210415T210000
      CLASS:PUBLIC
      LOCATION:albert heijn
      SUMMARY:xxx xxxx
      SEQUENCE:10
      RRULE:FREQ=DAILY;UNTIL=20210418T170000Z
      EXDATE;TZID="Amsterdam, Belgrade, Berlin, Brussels, Budapest, Madrid, Paris, Prague, Stockholm":20210417T190000
      EXDATE;TZID="Amsterdam, Belgrade, Berlin, Brussels, Budapest, Madrid, Paris, Prague, Stockholm":20210416T190000
      EXDATE;TZID="Amsterdam, Belgrade, Berlin, Brussels, Budapest, Madrid, Paris, Prague, Stockholm":20210415T190000
      BEGIN:VALARM
      ACTION:DISPLAY
      TRIGGER;RELATED=START:-PT15M
      END:VALARM
      END:VEVENT
      
      {"type":"VEVENT","params":[],"uid":"E689AEB8C02C4E2CADD8C7D3D303CEAD0","start":"2021-04-15T17:00:00.000Z","datetype":"date-time","end":"2021-04-15T19:00:00.000Z","a94d8d2a-3>
      [24.10.2023 00:16.22.001] [DEBUG] start: Thu Apr 15 2021 19:00:00 GMT+0200 (Midden-Europese zomertijd)
      [24.10.2023 00:16.22.001] [DEBUG] end:: Thu Apr 15 2021 21:00:00 GMT+0200 (Midden-Europese zomertijd)
      [24.10.2023 00:16.22.002] [DEBUG] duration: 7200000
      [24.10.2023 00:16.22.002] [DEBUG] title: xxx xxxx
      [24.10.2023 00:16.22.002] [DEBUG] Search for recurring events between: Tue Oct 24 2023 00:16:22 GMT+0200 (Midden-Europese zomertijd) and Tue Oct 22 2024 23:59:59 GMT+0200 (M>
      [24.10.2023 00:16.22.051] [DEBUG] Title: xxx xxxx, with dates: [null,null,null,null]
      [24.10.2023 00:16.22.051] [DEBUG] event.recurrences: [object Object]
      [24.10.2023 00:16.22.055] [ERROR] Calendar Error. Could not fetch calendar:  https://url/ical/url/Calendar.ics RangeError: Invalid time value
          at Date.toISOString (<anonymous>)
          at /home/dennis/MagicMirror/modules/default/calendar/calendarfetcherutils.js:312:28
          at Array.forEach (<anonymous>)
          at Object.filterEvents (/home/dennis/MagicMirror/modules/default/calendar/calendarfetcherutils.js:140:24)
          at /home/dennis/MagicMirror/modules/default/calendar/calendarfetcher.js:72:36
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      
      
      posted in Utilities
      D
      Dennis-010
    • RE: MMM-Calendar not seem to load .ics

      @sdetweil
      I don’t think I understand what you’re asking.
      What event you want me to find?

      posted in Utilities
      D
      Dennis-010
    • RE: MMM-Calendar not seem to load .ics

      @sdetweil

      Is this what you are looking for?

      [23.10.2023 23:18.36.721] [ERROR] Calendar Error. Could not fetch calendar:  https://**url**/ical/**url**/Calendar.ics RangeError: Invalid time value
          at Date.toISOString (<anonymous>)
          at /home/dennis/MagicMirror/modules/default/calendar/calendarfetcherutils.js:312:28
          at Array.forEach (<anonymous>)
          at Object.filterEvents (/home/dennis/MagicMirror/modules/default/calendar/calendarfetcherutils.js:140:24)
          at /home/dennis/MagicMirror/modules/default/calendar/calendarfetcher.js:72:36
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      [23.10.2023 23:18.38.049] [DEBUG] parsed data={"ecaf4d70-3f05-470f-a8f3-2566b4f2f1b5":{"type":"VTIMEZONE","params":[],"tzid":"Europe/Amsterdam","487c4058-cf12-4ad3-9d19-abf7c43101a2":{>
      [23.10.2023 23:18.38.053] [DEBUG] There are 327 calendar entries.
      [23.10.2023 23:18.38.055] [DEBUG] Processing entry...
      [23.10.2023 23:18.38.058] [DEBUG] Processing entry...
      [23.10.2023 23:18.38.060] [DEBUG] Event:
      
      
      [23.10.2023 23:18.38.153] [ERROR] Calendar Error. Could not fetch calendar:  https://**url**/ical/**url**/Calendar.ics RangeError: Invalid time value
          at Date.toISOString (<anonymous>)
          at /home/dennis/MagicMirror/modules/default/calendar/calendarfetcherutils.js:312:28
          at Array.forEach (<anonymous>)
          at Object.filterEvents (/home/dennis/MagicMirror/modules/default/calendar/calendarfetcherutils.js:140:24)
          at /home/dennis/MagicMirror/modules/default/calendar/calendarfetcher.js:72:36
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      [23.10.2023 23:18.39.055] [DEBUG] parsed data={"634747":{"type":"VEVENT","params":[],"dtstamp":"2018-03-19T19:38:00.000Z","uid":"634747","description":"Datum: 04/24/2018\nTijd: 19:30\n>
      [23.10.2023 23:18.39.060] [DEBUG] There are 434 calendar entries.
      [23.10.2023 23:18.39.061] [DEBUG] Processing entry...
      [23.10.2023 23:18.39.061] [DEBUG] Event:
      {"type":"VEVENT","params":[],"dtstamp":"2018-03-19T19:38:00.000Z","uid":"634747","description":"Datum: 04/24/2018\nTijd: 19:30\n\nTot dan!\n\nP.S.: Gebruik je GMAIL? Controleer of de t>
      [23.10.2023 23:18.39.062] [DEBUG] start: Tue Apr 24 2018 19:30:00 GMT+0200 (Midden-Europese zomertijd)
      
      
      posted in Utilities
      D
      Dennis-010
    • RE: MMM-Calendar not seem to load .ics

      @sdetweil
      This seem to work like a charm, thank you for fixing this.

      Now…when I want to add 2 more url’s I get a new error:
      For each of the new url. Both from the same domain.
      is it possible to have a hacky line for that as well?

      [ERROR] Calendar Error. Could not fetch calendar:  https://www.xxxxxxxx/ical/**url**/Calendar.ics RangeError: Invalid time value
      
      
      [23.10.2023 22:56.15.687] [LOG]   Create new calendarfetcher for url: https://**url**/ical/**url**/Calendar.ics - Interval: 3600000
      [23.10.2023 22:56.15.728] [LOG]   Create new calendarfetcher for url: https://**url**/ical/**url**/Calendar.ics - Interval: 3600000
      [23.10.2023 22:56.15.733] [LOG]   Create new calendarfetcher for url: https://**url**/ical/**url**/Calendar.ics - Interval: 3600000
      
      posted in Utilities
      D
      Dennis-010
    • RE: MMM-Calendar not seem to load .ics

      @sdetweil

      I’'l be happy to test and try out things or methods to fix this issue.
      Thanks in advance

      posted in Utilities
      D
      Dennis-010
    • RE: MMM-Calendar not seem to load .ics

      @sdetweil
      Point is, it has worked before… like a charm for over 2 years.
      Recently we moved to another house and we have not been using the mirror for 8-9 months, now I reinstalled the OS and modules and now the calendar stopped working.

      Is there any way I can try and sort out what the source of this issue could be?

      posted in Utilities
      D
      Dennis-010
    • RE: MMM-Calendar not seem to load .ics

      @sdetweil

      This is the url of my Kerio mailserver. It is my own dedicated server running in NL.
      You asked to xxx out the url right?

      If the connection is terminated before completion of the transmission, why is it that if I just paste the url in the default browser on raspberry, I just get to download the .ics file? What am I missing here?

      posted in Utilities
      D
      Dennis-010
    • RE: MMM-Calendar not seem to load .ics

      @sdetweil
      Thank you for replying, I hope you can make something out of it.

      I posted a snap from the config and some errors from the log.

                      {
                              module: "calendar",
                              header: "Agenda",
                              position: "top_left",
                              config: {
                                  coloredText: true,
                                  fade: false,
                                  calendars: [
                                      {
                                              url: "https://www.xxx.xx/ical/xxxx@xxx.xx/Calendar.ics",
                                              symbol: "calendar-check",
                                              color:  "#ffb350"
                                      }
                                    ]
                              }
                      },
      
      
      [1917:1023/200030.144271:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Bestand of map bestaat niet (2)
      
      
      [ERROR] Calendar Error. Could not fetch calendar:  https://www.xxx.xx/ical/xxxxs@xxx.xx/Calendar.ics TypeError: terminated
      
      
      posted in Utilities
      D
      Dennis-010
    • MMM-Calendar not seem to load .ics

      Today I have installed a fresh copy of MagicMirror on my PI.

      When I edit the calendar config and a update and restart my MagicMirror pid. The calander comes with an error: " Calendar Error. Could not fetch calendar"

      When I try the URL on the raspberrry pi itself it does download an .ics file which I can open and can see lines of text.

      Anyone has an idea what could possible gowrong here.

      In did work in the past with the same URL, like a year ago.

      posted in Utilities
      D
      Dennis-010
    • RE: Another No upcoming events MMM-Calendar

      I think the problem was somewhere in my mailserver.
      After a reboot all the appointments magicly reappeared.

      Thank you for responding.

      posted in Troubleshooting
      D
      Dennis-010
    • Another No upcoming events MMM-Calendar

      Hey all,

      For quite some time I have been using MM.
      It always worked pretty well for me without any problems. Until I noticed today (or maybe a few days back) that there were no more events displayed in the mirror. I did have some power failures recently, but I think this isn’t the problem because the Holidays calendar is working fine

      I have 2 personal calendars displayed, but both of them state “no upcoming events” while there are plenty of events to be displayed. The holidays calender I just added, is just for testing purposes, this works fine
      Is there anything like a update i missed? I get my personal calender from a kerio server.
      When I paste the .ics in my browser, I can download the file and view some contents.
      I already tried to change https for webcal with no result.

      Also created a new user on the Kerio server, with 1 upcoming event in the future.
      If I run that ics file trough a ics-checker I do get a error result:

      Errors
      Invalid TZID value or missing VTIMEZONE component ("Amsterdam, Belgrade, Berlin, Brussels, Budapest, Madrid, Paris, Prague, Stockholm") near line # 22
      Reference: 3.2.19. Time Zone Identifier
      Invalid TZID value or missing VTIMEZONE component ("Amsterdam, Belgrade, Berlin, Brussels, Budapest, Madrid, Paris, Prague, Stockholm") near line # 22
      Reference: 3.2.19. Time Zone Identifier
      

      Any help would be appreciated.

                      {
                              module: "MMM-MyCalendar",
                              position: "top_left",
                              classes: "default everyone",
                              header: "Afspraken",
                              disabled: false,
                              config: {
                                      colored: true,
                                      maximumNumberOfDays: 60,
                                      maximumEntries: 10,
                                      fade: false,
                                      maxTitleLength: 500,
                                      useRelativeDates: false,
                                      dayOfWeekFormat: "dddd",
                                      timeFormat: "HH:mm",
                                      dateFormat: "D MMMM",
                                      joiningWord: "at",
                                      urgency: 1,
                                      calendars: [{
                                                      url: "https://****.**/ical/***.*****@****.**/Calendar.ics",
                                                      color: "#ffb350"
                                              },
                                              {
                                                      url: "https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics",
                                                      color: "#ff77d4"
                                              }
                                      ]
                              }
      
      
      BEGIN:VCALENDAR
      PRODID:-//Kerio Technologies//Kerio Connect//EN
      METHOD: PUBLISH
      VERSION:2.0
      X-WR-CALNAME:******'s calendar - ~******@******/Calendar
      BEGIN:VTIMEZONE
      TZID:Amsterdam, Belgrade, Berlin, Brussels, Budapest, Madrid,
        Paris, Prague, Stockholm
      BEGIN:STANDARD
      DTSTART:19961027T030000
      TZOFFSETTO:+0100
      TZOFFSETFROM:+0200
      RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
      END:STANDARD
      BEGIN:DAYLIGHT
      DTSTART:19810329T020000
      TZOFFSETTO:+0200
      TZOFFSETFROM:+0100
      RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
      END:DAYLIGHT
      END:VTIMEZONE
      BEGIN:VEVENT
      DTSTAMP:20200602T080756Z
      UID:ae60dbca-df5d-4873-bc45-575f4534e58f
      DTSTART;TZID="Amsterdam, Belgrade, Berlin, Brussels, Budapest, Madrid, Paris, Prague, Stockholm":20200603T110000
      SUMMARY:test1
      DTEND;TZID="Amsterdam, Belgrade, Berlin, Brussels, Budapest, Madrid, Paris, Prague, Stockholm":20200603T120000
      X-LABEL:0
      PRIORITY:5
      BEGIN:VALARM
      ACTION:DISPLAY
      DESCRIPTION:test1
      TRIGGER;RELATED=START:-PT15M
      END:VALARM
      END:VEVENT
      END:VCALENDAR
      
      posted in Troubleshooting
      D
      Dennis-010
    • 1 / 1