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

    Topics

    • S

      RPi2, 3 picture frames, an old laptop LCD, and more to come...

      Watching Ignoring Scheduled Pinned Locked Moved Show your Mirror
      4
      1 Votes
      4 Posts
      3k Views
      S
      @roramirez Yup, MMM-Facial-Recognition is the module I trained and used. It works and I can’t wait to tinker with it!
    • S

      Check to see if file (ex. custom.css) exists before trying to load it.

      Watching Ignoring Scheduled Pinned Locked Moved Feature Requests loading css error feature bug
      1
      0 Votes
      1 Posts
      2k Views
      S
      I, like (I assume) many of RPi tinkerers and hackers, make code changes on my desktop or laptop and then use git to push new code to the RPi. Since MagicMirror doesn’t track css/custom.css, the mirror fails to load up if the file is missing. I tried to come up with a PR to have the loader.js file check if the file exists before appending it to index.html. However, since this is client side JavaScript, it does not have access to the file system and can’t use the fs JavaScript module. I then tried to use code like: var fileDoesNotExist= function(url) { var http = new XMLHttpRequest(); http.open("HEAD", url, false); http.send(); return http.status==404; } to do an http request to the server for the file, but realized that it’s just as bad as the actual http request that tries to load the file and will result in the same errors. So, I’m posting this here in case anyone has ideas and can help me with creating a PR to solve this problem. It’s not really a bug and not really a feature. Just an error check that’s missing. Thanks.
    • S

      MMM-Facial-Recognition cannot sendSocketNotification()

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting mmm-facial-recognition paviro
      2
      0 Votes
      2 Posts
      2k Views
      S
      UPDATE: This, like some other issues I was running into was actually caused by the application freezing when it could not load ‘css/custom.css’. This is because the .gitignore does not track custom.css and I, like many others, edit my code on my desktop and then push the changes via git to my RPi.
    • 1 / 1