MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. natebrown
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 14
    • Best 0
    • Controversial 0
    • Groups 0

    natebrown

    @natebrown

    0
    Reputation
    7
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    natebrown Unfollow Follow

    Latest posts made by natebrown

    • Calendar shows events that are in 2 days, but shows them as today.

      My calendar is 2 days ahead, its the shows the right days on my phone, the calendar is correct. I am using the default calendar module. Below is the calendar config.

              defaults: {
                      maximumEntries: 10, // Total Maximum Entries
                      maximumNumberOfDays: 365,
                      limitDays: 0, // Limit the number of days shown, 0 = no limit
                      displaySymbol: true,
                      defaultSymbol: "calendar-alt", // Fontawesome Symbol see https://fontawesome.com/cheatsheet?from=io
                      showLocation: false,
                      displayRepeatingCountTitle: false,
                      defaultRepeatingCountTitle: "",
                      maxTitleLength: 25,
                      maxLocationTitleLength: 25,
                      wrapEvents: false, // wrap events to multiple lines breaking at maxTitleLength
                      wrapLocationEvents: false,
                      maxTitleLines: 3,
                      maxEventTitleLines: 3,
                      fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
                      animationSpeed: 2000,
                      fade: true,
                      urgency: 7,
                      timeFormat: "relative",
                      dateFormat: "MMM Do",
                      dateEndFormat: "LT",
                      fullDayEventDateFormat: "MMM Do",
                      showEnd: false,
                      getRelative: 6,
                      fadePoint: 0.25, // Start on 1/4th of the list.
                      hidePrivate: false,
                      hideOngoing: false,
                      hideTime: false,
                      colored: false,
                      coloredSymbolOnly: false,
                      customEvents: [], // Array of {keyword: "", symbol: "", color: ""} where Keyword is a regexp and symbol/color are to be applied for matched
                      tableClass: "small",
                      calendars: [
                              {
                                      symbol: "calendar-alt",
                                      url: "https://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                              }
                      ],
                      titleReplace: {
                              "De verjaardag van ": "",
                              "'s birthday": ""
                      },
                      locationTitleReplace: {
                              "street ": ""
                      },
                      broadcastEvents: true,
                      excludedEvents: [],
                      sliceMultiDayEvents: false,
                      broadcastPastEvents: false,
                      nextDaysRelative: false,
                      selfSignedCert: false
              },
      
      posted in Troubleshooting
      N
      natebrown
    • Blank screen on start when installing modules

      Hi,
      I just installed MM on my Pi 400 and it was working fine until i tried installing 3rd party modules. When I start it up i get the following code:

      > magicmirror@2.17.1 start
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "run"
      
      App threw an error during load
      Error: Cannot find module 'logger'
      Require stack:
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
          at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
          at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (internal/modules/cjs/loader.js:732:27)
          at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
          at Module.require (internal/modules/cjs/loader.js:959:19)
          at require (internal/modules/cjs/helpers.js:88:18)
          at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:13:13)
          at Module._compile (internal/modules/cjs/loader.js:1078:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
      A JavaScript error occurred in the main process
      Uncaught Exception:
      Error: Cannot find module 'logger'
      Require stack:
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
          at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
          at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (internal/modules/cjs/loader.js:732:27)
          at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
          at Module.require (internal/modules/cjs/loader.js:959:19)
          at require (internal/modules/cjs/helpers.js:88:18)
          at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:13:13)
          at Module._compile (internal/modules/cjs/loader.js:1078:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
      ^C/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      

      Thank you for your help.

      posted in Troubleshooting
      N
      natebrown
    • RE: Auto power on and off

      @garbleflux
      Thanks, so i want it to turn on at 6:30 every morning and turn off at 9 every night, If i copy and paste that into crontab -e, will that work? What is the exact code i need?

      posted in Development
      N
      natebrown
    • Auto power on and off

      Hi there,

      I was wondering if there was technology out there where i can set a timer to make the mirror turn on and off automatically at a specific time each day. I cant find anything. Does anyone else use something similar?

      posted in Development
      N
      natebrown
    • RE: NPM start, starts but with blank screen

      @sdetweil oh.now ive installed your scripts but now the autostart is not working, I’ve deleted all the pm2 things and it is still not working.

      posted in Troubleshooting
      N
      natebrown
    • RE: NPM start, starts but with blank screen

      @sdetweil said in NPM start, starts but with blank screen:

      pm2 stop 0
      pm2 delete 0
      pm2 save

      oh ok thanks. im also still getting the splashscreen on boot

      posted in Troubleshooting
      N
      natebrown
    • RE: NPM start, starts but with blank screen

      @sdetweil how do i turn it off? ive just statted up my pi and magicmirror hasnt started.

      posted in Troubleshooting
      N
      natebrown
    • RE: NPM start, starts but with blank screen

      @sdetweil 1st: Do i execute it in the MagicMirror folder and once its installed what do I do? And will it effect anything on MagicMirror?

      posted in Troubleshooting
      N
      natebrown
    • RE: NPM start, starts but with blank screen

      @sdetweil Thanks, also when i start up my Pi, it shows the “Raspberry Pi OS” Screen and I want it to be just black and how do I speed up autostart (I use sh).

      posted in Troubleshooting
      N
      natebrown
    • RE: NPM start, starts but with blank screen

      @natebrown and this one:

      [2020-10-18 12:12:43.003] [ERROR] (node:25630) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

      posted in Troubleshooting
      N
      natebrown