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

    Posts

    Recent Best Controversial
    • RE: PIR-Sensor - put your mirror to sleep if not used

      As you can see it says it misses the module “wiring-pi” in the error part.

      Try running npm install wiring-pi

      Let me know if that solves the issue.

      posted in Troubleshooting
      MichMichM
      MichMich
    • RE: PIR-Sensor - put your mirror to sleep if not used

      Could you try it with node serveronly ?

      posted in Troubleshooting
      MichMichM
      MichMich
    • RE: PIR-Sensor - put your mirror to sleep if not used

      Sorry, no clue. :(

      posted in Troubleshooting
      MichMichM
      MichMich
    • RE: readFileSync

      I’ve got the feeling we’re talking about something different.

      The example:

      this.expressApp.get('/foobar', function (req, res) {
              res.send('GET request to /foobar');
      })
      

      does not serve any file. So talking about file location doesn’t make any sense in this case. In this example It just serves the text string GET request to /foobar

      In the second example:

      this.expressApp.use("/foobar" + this.name, this.expressApp.static(this.path + "/foobar"));
      

      only the express.static(root, [options]) part refers to a file or folder. The root argument refers to the root directory from which the static assets are to be served.

      More info about express.static can be found here: http://expressjs.com/en/api.html#express.static

      posted in Development
      MichMichM
      MichMich
    • RE: readFileSync

      @KirAsh4 it hasnt got anything to do with a file. It’s just a request, if you want to respond with the contents of a file, you need to do that yourself or use the following method if you want to feed a full folder:

      this.expressApp.use("/foobar" + this.name, this.expressApp.static(this.path + "/foobar"));
      
      posted in Development
      MichMichM
      MichMich
    • RE: readFileSync

      Exactly.

      posted in Development
      MichMichM
      MichMich
    • RE: readFileSync

      If you are referring to this snippet:

      start: function() {
          this.expressApp.get('/foobar', function (req, res) {
              res.send('GET request to /foobar');
          });
      }
      

      The /foobar is referring to the url: http://localhost:8080/foobar

      posted in Development
      MichMichM
      MichMich
    • RE: Bangee's Mirror

      I think my girlfriend will be extremely jealous! Nice work!

      posted in Show your Mirror
      MichMichM
      MichMich
    • RE: PIR-Sensor - put your mirror to sleep if not used

      He is from the stone age. He doesn’t know what a laser is. 😱

      posted in Troubleshooting
      MichMichM
      MichMich
    • RE: Error Installing Dependecies

      Interesting. Could you give https://github.com/electron/electron-quick-start a try to see if that one works?

      posted in Troubleshooting
      MichMichM
      MichMich
    • RE: readFileSync

      Just so you know, the node_helper can serve files as well: https://github.com/MichMich/MagicMirror/tree/master/modules#thisexpressapp

      posted in Development
      MichMichM
      MichMich
    • RE: PIR-Sensor - put your mirror to sleep if not used

      @KirAsh4 Yeah, MM supports Node 6.1.0 @paviro apparently still live in the stone age with his modules … 😈

      posted in Troubleshooting
      MichMichM
      MichMich
    • RE: Error Installing Dependecies

      What OS are you running? What Node version are you running (if the installer didn’t update)?

      posted in Troubleshooting
      MichMichM
      MichMich
    • V2.0.X Updates

      I’ve just pushed V2.0.1 to stable.
      https://github.com/MichMich/MagicMirror/releases/tag/v2.0.1

      [2.0.1] - 2016-05-18

      Added

      • Changelog
      • Italian Translation

      Changed

      • Improve the installer by fetching the latest Node.js without any 3rd party interferences.
      posted in MagicMirror
      MichMichM
      MichMich
    • Developers running Windows 10.

      Are there any developers running Windows 10 who want to look into this issue?
      https://github.com/MichMich/MagicMirror/issues/319

      posted in Core System
      MichMichM
      MichMich
    • RE: Config Help!

      Best way to check your config.js is to check it using jshint.com or jslint.com - they will show you the errors if there are any.

      posted in Troubleshooting
      MichMichM
      MichMich
    • RE: readFileSync

      What does it lockup? The fronted? Or the backend?

      If it’s just the frontend, check your webinspector/console to see what’s going on.

      posted in Development
      MichMichM
      MichMich
    • RE: Raspberry Pi 3 and Chromium

      @paviro that message is already there. OP must have missed it.

      posted in Troubleshooting
      MichMichM
      MichMich
    • RE: timing on weather is off by about 8hours

      Wat do you see when you type date into your terminal?

      posted in Troubleshooting
      MichMichM
      MichMich
    • RE: Face Recognition with inferred light

      Sorry, I don’t have any experience with openCV

      posted in Troubleshooting
      MichMichM
      MichMich
    • 1
    • 2
    • 19
    • 20
    • 21
    • 22
    • 23
    • 27
    • 28
    • 21 / 28