A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • 0 Votes
    2 Posts
    292 Views
    S

    @paarak I would open an issue in the MagicMirror GitHub repo.

    mm clock uses the moment() library to get this value

  • Blackscreen with config.js.sample

    Troubleshooting
    4
    0 Votes
    4 Posts
    2k Views
    Mykle1M

    @MA5K

    All’s well that ends well, as the saying goes.

    Enjoy your mirror.

  • 0 Votes
    1 Posts
    1k 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.

  • Missing CSS icons?

    Forum
    14
    0 Votes
    14 Posts
    7k Views
    KirAsh4K

    Yeah, I hear you there. I’ve been trying to recreate the problems on my end but … no such luck. It runs flawlessly on my server, both as a super user as well as an unprivileged user. So something happened on his end with he switched things … maybe permissions … maybe something else. We’re trying to figure that out. You … you keep your focus on MM. :)

  • Starting MagicMirror v2 beta

    Solved Troubleshooting
    22
    0 Votes
    22 Posts
    20k Views
    KirAsh4K

    I can also verify this as I just setup a brand new rPi yesterday. Downloaded a fresh copy of jessie, booted up the rPi, did the setup for it, made sure all apps were up to date (with 'sudo apt-get update ; sudo apt-get upgrade' then installed MM as per the wiki’s instructions. Done.