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

    Posts

    Recent Best Controversial
    • RE: How to add modules. For absolute beginners.

      @Dask Dependencies are on a case by case basis. In many cases, it’s as simple as installing it into npm, by using npm install

      In some cases, however, there’s additional outside programs or such that’s not covered by the npm install method. I’ve yet to see a module that requires additional software not include an installer script to take care of that for you, generally the readme will tell you if that’s the case.

      Bottom line, follow the instructions in the readme.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Request for Suggestion: Daily Calendar View with Details?

      Take a look into https://github.com/MMM-CalendarExt2/MMM-CalendarExt2

      It can make your calendars dance.

      Really.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Questions about update

      I have a couple of tricks I use to preserve my modifications, even across a total system rebuild.

      1. config.js & custom.css is symlinked to my backup directory.
      2. my config.js is commented on where I can get my modules, and any forum posts which apply to help get them running (like how to add back required node.js modules that aren’t in MagicMirror core anymore)
      3. any and all non-core modules that have changes that would be overwritten by an update by the author are forked to my own github. if I update a core module, I would symlink the modified file to my backup directory.
      4. I left myself instructions in the backup directory on how to reset things I can’t/shouldn’t backup as of present (crontab, samba, config.txt, how to set up fresh SD card, hostname, etc) (config.txt you’ll see in the backup, but you shouldn’t just copy that back as new installs may be different in that file, use it to compare and add your changes)
      5. My backup directory is thrown to github in a private repository nightly using this (censored) script.
      #!/bin/bash
      d=$(date +%Y-%m-%d)
      cd ~/<directory>
      cp /boot/config.txt config.txt.backup
      cp /etc/samba/smb.conf smb.conf.backup
      rm core
      git add *
      git commit -m "Nightly Backup"+$d --all
      git push https://BKeyport:<token>@github.com/BKeyport/<directory>.git
      

      In my crontab -e:

        0 0 * * * /home/pi/<directory>/backup.sh 
       30 * * * * pm2 restart omx
      

      (Run the backup script at midnight, and restart my camera cutout at 30 minutes past the hour respectively - OMX is a bit of a pain, working on better)

      I would love to see user modules be in their own directory so I could just wholesale symlink that directory to my backup system, but, eh…

      howtos :
      github (cheat sheet: https://education.github.com/git-cheat-sheet-education.pdf)
      symlinks: (https://www.freecodecamp.org/news/symlink-tutorial-in-linux-how-to-create-and-remove-a-symbolic-link/)
      cron: https://ostechnix.com/a-beginners-guide-to-cron-jobs/

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM-MLB only showing header with logo. Should it be loading anything in offseason?

      @jamaces I wouldn’t expect it to show anything, as the data sources are empty at the moment.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: How to go to the IP address on the mirror and see the module errors in the browser console?

      @Laz As all of my systems are behind a firewall - I’ve opened the Mirror to “public” access by using the config of

      var config = {
      	address: "0.0.0.0",
      	port: 8080,
      	ipWhitelist: [],
      ... 
      

      then, I simply load the mirror in my main computer’s browser with http://mirror:8080 and use the devtools of my browser to view the errors and such.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Old modules

      @sdetweil Quite literally, I learned coding from doing that. :)

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Major problems loading new module page...

      @KristjanESPERANTO Of course, now that I’ve reported it, it’s stopped doing it entirely. I’ll chalk it to an issue on my end. Things are a little crazy over here right now.

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: Why are my posting spam

      What’s sad, is that actual spam is missed frequently. My late night routine is coming on here and marking the 90% of messages that come in as spam. 🙄

      Edit: as I posted this, another spammer posted…

      posted in Troubleshooting
      BKeyportB
      BKeyport
    • RE: MMM Remote Control Error

      FWIW, in the future,

      Open a terminal
      Type cd MagicMirror and press Enter
      Now you’re in the MagicMirror directory
      Type npm run config:check and press Enter
      MagicMirror will now check your config

      posted in General Discussion
      BKeyportB
      BKeyport
    • RE: MMM-Multimonth

      new product released!

      Added:
      Language and calendar modification unlinked. The module now has startWeek variable to set the start of the week

      You now can shorten the day names to the shortest available for your language. (for english, instead of “Sun Mon Tue Wed Thu Fri Sat” it will be “S M T W T F S”

      Removed:
      All references and use of Moment. It’s now native code completely.

      Other:
      There’s a bug - Week numbers are in the system, but it will generate an additional line. I am going to re-do the module more (enough to create a MultiMonth2), so in that process I’ll sure I’ll find the cause.

      As a reminder, internationalization is based on the mirror as a whole, so if you have your mirror set to French, it will have French month and day names.

      Read the Readme for instructions.

      Thanks to MMRize for the inspiration to do this!

      posted in Utilities
      BKeyportB
      BKeyport
    • 1
    • 2
    • 3
    • 4
    • 5
    • 15
    • 16
    • 2 / 16