MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Dennis-010
    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

    Dennis-010

    @Dennis-010

    0
    Reputation
    1
    Profile views
    16
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Dennis-010 Unfollow Follow

    Latest posts made by Dennis-010

    • 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