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.
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 57
    • Posts 393
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Cron Job Question

      @sdetweil
      What would the script code look like to do this manually instead of using the motion thing. I tried installing it but could not get it to work for me… the autoreconfig would not run at all… make just failed and one other step could not find certain files. There is no indication it actually installed. so I ran remove and it did. not sure where the motion program was installed in the first place I tried to install from inside MagicMirror/modules so I would be easier for me to find with no luck and when I tried to use find to find it nothing was found. Not my cup of tea for sure.

      Thought if there is a way to run your script manually I would then just incorperate that into a cron job and be done with it.
      The module I am running autodimmer still glows at night and you can see the modules faintly in the background…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Where to find Pi 3B+ or Pi4

      @sdetweil

      Ok was looking around for one of those chromebox deals and saw those… Will keep shopping…

      posted in Hardware
      plainbrokeP
      plainbroke
    • RE: Cron Job Question

      @sdetweil
      Is there a way to run this as a cron job to black out the screen then in the morning un black the screen?
      I don’t understand the camera angle, I have Motion Eye running on a PI zero and raspberry 5 mp camera and it works showing up in my mirror using Motion-Eye. I just do not understand at all the code to make it happen…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Where to find Pi 3B+ or Pi4

      @sdetweil
      One of those little computers you can run windows on. Like this from ebay. They are dirt cheap.
      link text

      posted in Hardware
      plainbrokeP
      plainbroke
    • RE: Where to find Pi 3B+ or Pi4

      @sdetweil
      Do you think a thinclient would be able to handle MagicMirror or at least debian bullseye?

      posted in Hardware
      plainbrokeP
      plainbroke
    • RE: MMM-RAIN-MAP (new: version 2.x)

      @Jalibu
      Ok it finally found my location.
      The Lon and Lat where not registering in the module for some reason now they are… So all is good again…

      posted in Utilities
      plainbrokeP
      plainbroke
    • RE: Where to find Pi 3B+ or Pi4

      @sdetweil
      Where are you finding these chromebox for 20 bucks?
      I would like to snatch one or two…

      posted in Hardware
      plainbrokeP
      plainbroke
    • RE: MMM-RAIN-MAP (new: version 2.x)

      @Jalibu said in MMM-RAIN-MAP (new: version 2.x):

      A few days ago, Openstreepmap obviously made some changes with their tile servers. They seem to block requests now, when the requests come from Electron applications. This is the case in most MagicMirror installations. As a consequence, MMM-RAIN-MAP does not show map tiles anymore.
      I suspect, that also other modules are effected.
      One possible fix is using another tile server for MMM-RAIN-MAP. One that still works at the moment, is the German fork “https://a.tile.openstreetmap.de/${z}/${x}/${y}.png”.
      I will adjust the module soon, to use this tile server as a default.
      You can also change the tile server by setting this property in the module config:

      {
        mapUrl: "https://a.tile.openstreetmap.de/${z}/${x}/${y}.png"
      }
      

      How do I go about getting that for the usa in particular kansas.?

      posted in Utilities
      plainbrokeP
      plainbroke
    • RE: Use local ICS file instead

      @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”…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Use local ICS file instead

      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",                  
      },
              ]
          }
      },
      
      
      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Default Calendar

      @sdetweil
      Well I bit the bullet and reinstalled MM and all my modules. I use the MM-buckup module, it does a really good job of reinstalling all the different modules I have installed. I just have to copy over the modules from backup that I have multiples of… So far everything is working as it should except CalendarExt3 …
      The default calendar is broadcasting CalendarExt3 just is not listing evidently…
      That and I still need to resize openweather…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Use local ICS file instead

      @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…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Cron Job Question

      @sdetweil
      I will give that a try next rainy day we have.
      I like to try things like that module on my raining can’t do anything outside days…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Use local ICS file instead

      @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…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Cron Job Question

      @Nneuland
      My Old Cronjob was like this.
      00 07 * * 1-5 /home/pi/hdmi-on.sh
      45 21 * * 1-5 /home/pi/hdmi-off.sh
      00 07 * * 6,0 /home/pi/hdmi-on.sh
      00 22 * * 6,0 /home/pi/hdmi-off.sh

      hdmi-off.sh file contains :
      vcgencmd display_power 0

      hdmi-on.sh file contains:
      vcgencmd display_power 1

      Don’t forget to
      sudo chmod +x hdmi-off.sh
      sudo chmod +x hdmi-on.sh
      If you go this route.

      Now I use MMM-AutoDimmer
      my setup in config.js it works great

      {
              disabled: false,
              module: "MMM-AutoDimmer",
              position: "fullscreen_above",
              header: "",
              // Don't change anything above this line
              config: {
              maxDim: 1,
              brightTime: 700,
              dimTime: 2130
                    }
      },
      
      
      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • 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
    • 1 / 1