MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. karsten13
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.
    • Profile
    • Following 1
    • Followers 2
    • Topics 3
    • Posts 320
    • Best 61
    • Controversial 0
    • Groups 0

    karsten13

    @karsten13

    73
    Reputation
    954
    Profile views
    320
    Posts
    2
    Followers
    1
    Following
    Joined Last Online

    karsten13 Unfollow Follow

    Best posts made by 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
      karsten13
      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
      karsten13
      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
      karsten13
      karsten13
    • RE: MMM-RAIN-MAP (new: version 2.x)

      @bhepler

      7f1425c3-cc31-41d3-9598-daa4d21fd75b-grafik.png

      or

      8fd0daf1-33d2-4c3f-aa00-c8a3f50e846b-grafik.png

      posted in Utilities
      karsten13
      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
      karsten13
      karsten13
    • RE: PSA: DarkSky shuts down Jan 1st. expect broken weather

      the api will work until end of march, see https://blog.darksky.net/

      posted in Utilities
      karsten13
      karsten13
    • RE: raspi 64 bit available

      @sdetweil

      my pi4 is now running with 64bit, mm runs out of the box (docker setup as always).

      posted in General Discussion
      karsten13
      karsten13
    • RE: raspi 64 bit available

      pi zero 2w works too.

      Off topic: Did not expect that motioneye with raspicam (running in docker buster image) is working.

      posted in General Discussion
      karsten13
      karsten13
    • RE: I'm getting error -MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied

      @sdetweil

      or forgot to run npm install in the module folder of MMM-FlightsAbove

      posted in Transport
      karsten13
      karsten13
    • RE: MMM-RAIN-MAP (new: version 2.x)

      @ViDiBi said in MMM-RAIN-MAP:

      lon: 11.91

      I think you have a typo in your config, lon: 11.91 should be lng: 11.91

      posted in Utilities
      karsten13
      karsten13

    Latest posts made by karsten13

    • RE: Need help for tests suite

      @bugsounet

      sure, I will try it … but since I have a real job, I will give my answers in the evening …

      posted in Feature Requests
      karsten13
      karsten13
    • RE: How to use Yr as a weather provider

      @sdetweil

      see https://github.com/MichMich/MagicMirror/issues/3189

      yr has changed api, the fix comes with next release on Oct.

      posted in Troubleshooting
      karsten13
      karsten13
    • RE: Need help for tests suite

      @bugsounet

      from mm folder npx jest tests/...<filename>

      posted in Feature Requests
      karsten13
      karsten13
    • RE: weather module with temp/precipitation graph for 1-2 days

      @AnduriI

      there is a pirate weather api as replacement for darksky, it is implemented as provider in the default weather module so you should find the url there. Maybe the above module works after changing only the url …

      posted in Requests
      karsten13
      karsten13
    • RE: Wifi connection drops and doesn't get restablished

      @SILLEN-0

      maybe wlan power safe, you can try to disable this with

      sudo iw wlan0 set power_save off
      
      posted in Troubleshooting
      karsten13
      karsten13
    • RE: rotating the screen doesn't work

      @AnduriI

      you can change this in the raspian os gui somewhere in the menu.

      See also https://forum.magicmirror.builders/topic/16795/rpi-3b-with-bullseye-can-t-rotate-screen/13

      posted in Troubleshooting
      karsten13
      karsten13
    • RE: Possible to enable mouse cursor on screen?

      @sdetweil said in Possible to enable mouse cursor on screen?:

      why show the cursor, ever…

      when you running mm in a web-browser there are use cases for a cursor, e.g.

      • zooming in a map (MMM-RAIN-MAP, MMM-Flights, …)
      • clicking on newsfeed articles to get the article opened in a new window
      • …
      posted in General Discussion
      karsten13
      karsten13
    • RE: MMM-Flights no map ist shown

      can reproduce it if I use a nonexisting mapUrl, so I think you have a typo in your mapUrl …

      posted in Troubleshooting
      karsten13
      karsten13
    • RE: MMM-Flights no map ist shown

      @OmaBosselt

      I’m testing with an empty config:

          {
            module: "MMM-Flights",
            position: "top_left",
              config: {
              }
          },
      

      May you can try this to see if it changes something …

      posted in Troubleshooting
      karsten13
      karsten13
    • RE: Want to turn off my monitor

      @Jonae

      I had similar problems using xrandr for disabling/enabling the monitor.

      We did a fix in mm for the above problem (coming with next release) but I don’t know if this fixes your problem too.

      You can find the fix in this PR.

      posted in Troubleshooting
      karsten13
      karsten13