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

    Posts

    Recent Best Controversial
    • RE: Use local ICS file instead

      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!
      
      
      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Use local ICS file instead

      @sdetweil
      Ok, I have the Birthdays.ics in my MagicMirror directory.
      and this is what is in my config.js and I am getting a message
      Error in calendar module: check error logs for more details.
      Not sure where to go from here.

      {
              module: "calendar",
              position: "middle_center",
              header: "Burdick Home",
              config: {
                      fade: false,
                      maximumEntries: 11,
                      timeFormat: "absolute",
                      urgency: 3,
                      getRelative: 24,
                      broadcastPastEvents: true, // <= IMPORTANT to see past events
                      calendars: [
                      {
                              url: "http://localhost:8181/Birthdays.ics",
                              name: "birthdays", // <= RECOMMENDED to assign name
                              color: "#1B489C", // <= RECOMMENDED to assign color
                              symbol: "birthday-cake"
                      },
                      {
                              url: "http://localhost:8181/MyHolidays.ics",
                              name: "us_holiday", // <= RECOMMENDED to assign name
                              color: "#2AC404", // <= RECOMMENDED to assign color
                              symbol: "icons"
      },
                                  ]
                      }
      },
      
      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Use local ICS file instead

      @sdetweil

      Okay,
      I have saved my ics in the MagicMirror folder and trying to use this
      url: “http://MagicMirror/Birthdays.ics”,
      I still get nothing. This is kinda important with the size of my family I would forget Birthdays constantly. Probably even my own.
      What am I doing wrong or do I need to reload the default calendar into
      cd /MagicMirror/modules/ default. I tried going to google calendars and managing my account turned 2 step off and then back on and redid all the steps for gmail and then went in and got the new calendar links with no changes to calendar showing up. Pulling my hair out on this one. Been at it a couple days now. It is probably so simple I cant see the forest for all the trees type thing…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Default Calendar

      @sdetweil
      Thanks for the clarification, I will go back and make sure I have the 2 part verification turned on and try it again…
      Thank You

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • Use local ICS file instead

      Re: Default Calendar
      How would I go about using a local ICS file for example birthdays and holidays since I can get ICS files downloaded and would only need to move to the correct folder. Just a thought to take out all the middle men and lighten the load on my wireless internet connection…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Default Calendar

      @sdetweil
      Please expand on the new URL. I went to my google account and regenerated a new private url but not sure how to do that on a public url like the holidays one.
      Is there a way to put in the username and new password like in gmail that I am overlooking?

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • Default Calendar

      I have not changed anything, no upgrades ect.
      This is the public Holiday calendar I use. url: “https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics”,
      I am getting the nothing to show message.
      My private calendar which gets me a ics file download when I paste it in a browser is not showing up either. I ssh into and vnc this pi4 8gb. The only thing that changed was I had a power supply failing (causing the lightning bolt to show up.) So I replaced that with a new 3.5 amp power supply.
      Everthing was fine for a couple days and then all the sudden no more calendars. Is this to do with Google forcing 2 stage authentication on everyone? I had to get a special password for my gmail to show up. Wondering if this is the same type issue? If so how do I put in a username and password in my config.js for the calendars? Dad blasted Google needs to leave well enough alone… :angry_face:

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Can MagicMirror run on other similarily priced hardware?

      @sdetweil
      It only runs a patched version of stretch right now. I am able to do the project I was wanting to do with it… at $55 it is a little pricey and a LOT more work to get running debian, but it is doing the job. Finally found a wireless adapter for the Libre and it is rock steady… Only thing I do not like is I can not seem to get it to boot from a usb drive has to be from sd card…
      Fun little learning experience…

      posted in Hardware
      plainbrokeP
      plainbroke
    • RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast

      @lxne
      So, is that going to be the API for Dark Sky to run on in 2023?

      posted in Utilities
      plainbrokeP
      plainbroke
    • RE: Can MagicMirror run on other similarily priced hardware?

      @sdetweil
      Will MM run on Libre Computer Board AML-S905X-CC (Le Potato) 2GB 64-bit Mini Computer they are only $55 on amazon. I think they will run Debian pretty easily.
      I am going to try a few other projects with it that I have been wanting to do on a RPi, but they are pretty pricey right now. I thought this was worth a try. If it doesn’t work out, I will try a few of the projects on the support forum they have.

      posted in Hardware
      plainbrokeP
      plainbroke
    • RE: Can MagicMirror run on other similarily priced hardware?

      @sdetweil said in Can MagicMirror run on other similarily priced hardware?:

      gallium

      That looks like a very good option while the Raspberry Pi are so expensive.
      I just bought a refurbed chrome book that is in the list supported by gallium.
      Going to give gallium a try when it arrives.
      Do you know if I could just load debian on the chrome book?
      I want to try a few different programs and they all require Debian or Ubuntu…

      posted in Hardware
      plainbrokeP
      plainbroke
    • RE: Building mirror without programing

      @sdetweil Does your script work on windows 10 or chrome book???

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast

      Thank you all for information. I was upset. I really like the way my Darksky weather module looks on my screen. I guess in march next year I will think about having to change over to something else. Maybe by then someone will make it so the Darksky module works with another weather api…

      posted in Utilities
      plainbrokeP
      plainbroke
    • RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast

      When will Darksky fail to work anymore.
      I have it running now and it works fine.
      What am I missing?

      posted in Utilities
      plainbrokeP
      plainbroke
    • RE: MMM-GmailFeed Trouble

      @Ray
      It was caused by google / gmail forcing 2 step verification down our throats .
      The one time use app passwords 16 digit code is a great work around at least.
      There are lots of instructions out there on how to use it.

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: MMM-NetworkScanner

      @xadamxk

      Thank you for the information, I am still having issues with the list going off the screen. I am trying different areas on the screen to see if that makes a differance.

      posted in Requests
      plainbrokeP
      plainbroke
    • RE: MMM-NetworkScanner

      @xadamxk
      You gonna fix this problem for me.? I have done a little research on it and it is way above my pay grade…

      posted in Requests
      plainbrokeP
      plainbroke
    • RE: MMM-NetworkScanner

      @xadamxk
      Please do fork and fix it for me

      posted in Requests
      plainbrokeP
      plainbroke
    • RE: Default Calendar

      @sdetweil
      Thanks I will look into it when i get time. I have carousel working pretty well now. 33 out of the 40 I had working on MM before update to 2.18, so I am plenty happy…

      posted in Requests
      plainbrokeP
      plainbroke
    • RE: MMM-IPCam format

      @thephantom_nl
      I changed over to omxplayer and solved my problems with it resizing on restart.
      I can not find the bookmark for how to install omxplayer. Must have not saved it.
      Google it that is what I did…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • 1 / 1