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

    Posts

    Recent Best Controversial
    • 3rd-Party-Modules project now part of MagicMirrorOrg

      We’re happy to announce that KristjanESPERANTO’s 3rd-party modules repository has found a new home at MagicMirrorOrg.

      Thank you, Kristjan, for donating your repository to the public and for all the work you’ve put into it.

      We have (hopefully) updated all links:

      • Github repository: https://github.com/MagicMirrorOrg/MagicMirror-3rd-Party-Modules
      • 3rd-party-modules website: https://modules.magicmirror.builders/
      • 3rd-party-modules json file: https://modules.magicmirror.builders/data/modules.json

      In the medium term, we plan to replace the currently used wiki with a different onboarding process for 3rd-party modules.

      posted in Websites
      karsten13K
      karsten13
    • MMM-RepoStats

      Hi,

      this is my first MM module and may others find it useful :)

      Download and infos: MMM-RepoStats

      It’s about repository statistics for Docker, GitHub or GitLab repositories:

      example_3_types.jpg

      GitLab with private data (access token needed):

      gitlab_with_token.jpg

      Let me know if something is missing or not solved in the right way, any feedback is appreciated.

      Thanks,

      Karsten.

      posted in Utilities
      karsten13K
      karsten13
    • Raspberry Pi 5 out with PCI Express

      german video: https://www.youtube.com/watch?v=mO-ytowm3XU

      posted in Hardware
      karsten13K
      karsten13
    • RE: Questions about update

      @bugsounet said in Questions about update:

      Its very poor to read this from a developer

      is there a difference between running an old system and running a public forum without https?

      posted in Troubleshooting
      karsten13K
      karsten13
    • MMM-Flights

      A new module showing flights in a defined area.

      I know there are at least 2 modules out using the same api, but this one additionally shows the planes on a map.

      Git Repo: https://gitlab.com/khassel/MMM-Flights

      For installation instructions and config options visit the above url.

      posted in Transport
      karsten13K
      karsten13
    • RE: Adds Blocking Posts

      @mumblebaj

      These are the “carbon” ads added by @MichMich, which probably still serve as a small source of income for him. I won’t turn them off without consulting him.

      This ad can easily be hidden with an ad blocker in your browser or, for example, with “AdGuard Home” or similar tools.

      posted in Forum
      karsten13K
      karsten13
    • RE: Automatic checking of all MagicMirror² modules

      @KristjanESPERANTO said in Automatic checking of all MagicMirror² modules:

      karsten13 has already suggested the GitHub API and I have tested it, but if you make requests for 1000 modules you’ll got blocked quickly. I haven’t found another good approach yet.

      2 ideas:

      • did you try to authenticate with a user before making the api requests? AFAIR we solved a similar problem at work with authentication …
      • if first idea doesn’t work an ugly solution is to work with e.g. a timer or sleep statement because these infos are not changed very often this could be a long running nightly job
      posted in Development
      karsten13K
      karsten13
    • RE: What is your backup and restore method?

      my approach …

      The following script must be executed in the magicmirror folder and creates another script restore.sh. This result script should be saved (on my server it is under git control) and can be executed (again in the magicmirror folder) to restore the old system (or bringing the old config to a new system).

      #!/bin/sh
      
      base="$(cd "$(dirname "$0")" && pwd)"
      
      restore="$base/restore.sh"
      config="${1:-config/config.js}"
      css="css/custom.css"
      modules="modules"
      
      # Tests
      [ -f "$base/$config" ] || (echo "config.js does not exists" && exit 1)
      [ -f "$base/$css" ] || (echo "custom.css does not exists" && exit 1)
      [ -d "$base/$modules" ] || (echo "modules directory does not exists" && exit 1)
      
      
      echo "#!/bin/sh" > $restore
      echo "" >> $restore
      echo "base=\"\$(cd \"\$(dirname \"\$0\")\" && pwd)\"" >> $restore
      
      echo "" >> $restore
      
      echo "mkdir -p \$base/config" >> $restore
      echo "mkdir -p \$base/css" >> $restore
      echo "mkdir -p \$base/modules" >> $restore
      
      echo "" >> $restore
      
      echo "cat > \$base/$config <<\"EOF\"" >> $restore
      cat <$base/$config >> $restore
      echo "EOF" >> $restore
      echo "" >> $restore
      
      echo "cat > \$base/$css <<\"EOF\"" >> $restore
      cat <$base/$css >> $restore
      echo "EOF" >> $restore
      echo "" >> $restore
      
      for dir in $(find "$modules" -maxdepth 1 -mindepth 1 -type d)
      do
        [ -f "$dir/.git/config" ] && mods="$mods $(cat $dir/.git/config | grep 'url = ' | sed 's|.*url = ||g')"
      done
      
      for repo in $mods
      do
        echo "cd \$base/$modules && git clone $repo" >> $restore
      done
      
      echo "" >> $restore
      
      for repo in $mods
      do
        moddir="$modules/$(echo $repo | sed -r 's|.*\/(.*)|\1|g;s|.git||g')"
        [ -f "$base/$moddir/package.json" ] && echo "cd \$base/$moddir && npm install" >> $restore
      done
      
      echo "Created restore script $restore" 
      
      chmod +x $restore
      
      posted in Troubleshooting
      karsten13K
      karsten13
    • RE: delete account

      @sdetweil

      I was able to delete the account.

      posted in Forum
      karsten13K
      karsten13
    • RE: ISS tracker

      @Manu85

      e76334f2-66a1-459e-9be9-1720aa598d77-grafik.png

      coming soon …

      posted in Requests
      karsten13K
      karsten13
    • 1
    • 2
    • 3
    • 4
    • 5
    • 10
    • 11
    • 1 / 11