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

Use local ICS file instead

Scheduled Pinned Locked Moved Solved Troubleshooting
15 Posts 4 Posters 2.9k Views 4 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
    plainbroke
    last edited by Jul 9, 2022, 9:42 PM

    Maybe my pm2 error log will help.
    looks like I am missing a file but can not figure out how to install it or what to install.

    /home/pi/.pm2/logs/omx-stream1-error.log last 15 lines:
    0|omx_stre | dbus[632]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" not available: No such file or directory
    0|omx_stre | /usr/bin/omxplayer: line 67: 85464 Killed                  LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN "$@"
    0|omx_stre | dbus[626]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" not available: No such file or directory
    0|omx_stre | dbus[629]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" not available: No such file or directory
    0|omx_stre | dbus[627]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" not available: No such file or directory
    0|omx_stre | dbus[83012]: arguments to dbus_message_new_method_call() were incorrect, assertion "destination == NULL || _dbus_check_is_valid_bus_name (destination)" failed in file ../../../dbus/dbus-message.c line 1364.
    0|omx_stre | This is normally a bug in some application using the D-Bus library.
    0|omx_stre |
    0|omx_stre |   D-Bus not built with -rdynamic so unable to print a backtrace
    0|omx_stre | /usr/bin/omxplayer: line 67: 83012 Aborted                 (core dumped) LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN "$@"
    0|omx_stre | dbus[626]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" not available: No such file or directory
    0|omx_stre | dbus[624]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" not available: No such file or directory
    
    /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
    1|mm       | MESA-LOADER: failed to retrieve device information
    1|mm       | MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
    1|mm       | failed to load driver: kms_swrast
    1|mm       | MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
    1|mm       | failed to load swrast driver
    1|mm       | [2651:0709/163251.289963:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)
    1|mm       | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
    1|mm       | MESA-LOADER: failed to retrieve device information
    1|mm       | MESA-LOADER: failed to retrieve device information
    1|mm       | MESA-LOADER: failed to retrieve device information
    1|mm       | MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
    1|mm       | failed to load driver: kms_swrast
    1|mm       | MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
    1|mm       | failed to load swrast driver
    1|mm       | [2838:0709/163305.686316:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
    
    

    Slow learner. But trying anyways.

    1 Reply Last reply Reply Quote 0
    • K Offline
      karsten13 @plainbroke
      last edited by Jul 9, 2022, 10:33 PM

      @plainbroke

      This will not work: "http://localhost:8181/Birthdays.ics"

      You can try to move the local ics file into the config directory and then use "webcal://localhost:8181/config/Birthdays.ics" as url.

      S 1 Reply Last reply Jul 9, 2022, 10:49 PM Reply Quote 0
      • S Offline
        sdetweil @karsten13
        last edited by sdetweil Jul 10, 2022, 1:34 AM Jul 9, 2022, 10:49 PM

        @karsten13 webcal is just replaced with http
        line 99 of calendar.js
        the root of the web server is ~/MagicMirror

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        P 1 Reply Last reply Jul 10, 2022, 3:29 AM Reply Quote 0
        • P Offline
          plainbroke @sdetweil
          last edited by Jul 10, 2022, 3:29 AM

          @sdetweil
          I finally have calendar working again. Had to completely replace my config.js with the sample one. Then rebuild it. I could get everyone of my calendars to work in the stripped down config.js so I just removed my calendars settings from my original config.js then copied and pasted the working calendar settings from the stripped down one saved and rebooted calendars work fine now. NOW on to the MMM-CalendarExt3 not picking up from the default calendar for some reason… Thats a problem for another day…

          Slow learner. But trying anyways.

          S 1 Reply Last reply Jul 10, 2022, 4:04 AM Reply Quote 0
          • S Offline
            sdetweil @plainbroke
            last edited by sdetweil Jul 10, 2022, 4:05 AM Jul 10, 2022, 4:04 AM

            @plainbroke weird. I wonder what the config js problem wskdontgerebis a setting to cause broadcastEvents, which Ext3 depends on

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            P 1 Reply Last reply Jul 10, 2022, 5:54 AM Reply Quote 0
            • P Offline
              plainbroke @sdetweil
              last edited by Jul 10, 2022, 5:54 AM

              @sdetweil
              Not sure why either.
              I removed and reinstalled default calendar and it still works fine.
              Did that thinking maybe I had something corrupt in the calendar module. Didn’t make a difference.
              I will try to remove and reinstall CalendarExt3 tomorrow and see if that fixes the problem. If not I’ll be bugging the maker of CalendarExt3 again. He has been very helpful getting it up and running the way I want it to…

              Slow learner. But trying anyways.

              M 1 Reply Last reply Jul 10, 2022, 10:09 AM Reply Quote 0
              • M Offline
                MMRIZE @plainbroke
                last edited by Jul 10, 2022, 10:09 AM

                @plainbroke
                Here I am. If you don’t mind, could u send the issued config.js and the url of ical? (You can copy the original calendar then remove too private events then deliver it to me.)
                Tou can contact me at any time with eouia0819@gmail

                1 Reply Last reply Reply Quote 0
                • P Offline
                  plainbroke
                  last edited by Jul 11, 2022, 2:23 AM

                  Here you go, the URLs are public so you can see what I am doing wrong easier…

                  {
                          module: "MMM-CalendarExt3",
                          position: "middle_center",
                          title: "Burdick Calendar",
                          config: {
                                  mode: "week",
                                  weekIndex: 0,
                                  weeksInView: 4,
                                  minimalDaysOfNewYear: 1,
                                  instanceId: "basicCalendar",
                                  locale: "en-US",
                                  maxEventLines: 5,
                                  firstDayOfWeek: 0,
                                  calendarSet: ["Holidays", "Birthdays"],
                                  eventHeight: "28px",
                                  maxWidth: "100%",
                                  maxHeight: "98%"
                     }
                  },
                  
                  {
                          module: "calendar",
                          header: "Birthdays",
                          position: "top_left",
                          config: {
                                  fade: false,
                                  maximumEntries: 11,
                                  timeFormat: "absolute",
                                  urgency: 3,
                                  getRelative: 24,
                                  calendars: [
                                  {
                                          symbol: "birthday-cake",
                                          url: "https://calendar.google.com/calendar/ical/plainbroke%40gmail.com/public/basic.ics",
                  },
                          ]
                      }
                  },
                  
                  {
                          module: "calendar",
                          header: "Holidays",
                          position: "top_right",
                          config: {
                                  fade: false,
                                  maximumEntries: 11,
                                  timeFormat: "absolute",
                                  urgency: 3,
                                  getRelative: 24,
                                  calendars: [
                                  {
                                          symbol: "calendar-check",
                                          url: "https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics",                  
                  },
                          ]
                      }
                  },
                  
                  

                  Slow learner. But trying anyways.

                  M 1 Reply Last reply Jul 11, 2022, 6:49 AM Reply Quote 0
                  • M Offline
                    MMRIZE @plainbroke
                    last edited by Jul 11, 2022, 6:49 AM

                    @plainbroke

                    I found two things;

                    1. Your calendars have no name (that is not the header), but you tried to refer to them in the calendarSet of the module.

                    So, you need to entitle the name to refer specific calendar;
                    cc58f35a-4b4a-4e31-8586-dd8cf6781ca2-image.png

                    1. You’d better set a color to the calendar.

                    The result will be;
                    10affc39-713c-4b5c-ad71-6938f8a12dec-image.png

                    P 1 Reply Last reply Jul 12, 2022, 8:35 PM Reply Quote 1
                    • P Offline
                      plainbroke @MMRIZE
                      last edited by Jul 12, 2022, 8:35 PM

                      @MMRIZE
                      You are the Man, I knew it was something simple that I was overlooking. As they used to say, “I sometimes can’t see the forest for the trees”…

                      Slow learner. But trying anyways.

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        10/15
                        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