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

    Posts

    Recent Best Controversial
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @SebTota What @Wieber has forgotten to mention is that the config.js.sample file is the default configuration that is included with the mirror software. The mirror software itself is looking for config.js. So the step that is missing is to copy the sample to the end file name. Once you have it copied over, this will become the file that you use to change your mirror’s behavior.

      You copy the file with this command: cp ~/MagicMirror/config/config.js.sample ~/MagicMirror/config/config.js

      You can then edit the config.js command as you have already discovered: nano ~/MagicMirror/config/config.js Nano is the editor, config.js is the file you are editing.

      posted in Tutorials
      B
      bhepler
    • RE: Monitor Samsung P2470H at home

      @fox It’s possible. If you configure your Pi to turn off the signal to the HDMI port, the monitor should shut off automatically. It should remain off until it detects a signal again, whereupon it will turn itself back on.

      The MotionDetection module can do this for you with a Raspberry Pi camera. Otherwise, there is a module for using a PIR sensor.

      posted in Hardware
      B
      bhepler
    • RE: Ikea closet door

      Oh, very clever. I like it.

      posted in Show your Mirror
      B
      bhepler
    • RE: Newbie questions

      @theusu5k When you say “manually set the location” do you mean hardwire it to one location only, or use a web browser or other means to update the location?

      If I read this module correctly, it basically makes a call to an expected server that returns a tiny bit of location information. That location is normally updated by a mobile app. That app makes a web call to the server in question, providing the location data. So in short, the app tells the server where it is, the mirror module asks the server and the server does nothing but store the information.

      If you’re just trying to hardwire a location so that the weather always updates one spot, there are easier ways. If you’re trying to update your location with a browser or something other than the mobile app, that’s pretty simple. Just follow the instructions like normal and then send the server your location information with a well-crafted web call.

      posted in Troubleshooting
      B
      bhepler
    • RE: Newbie questions

      @theusu5k The part between the two square braces (``) defines all of the modules. So you only have to have one modules: [...] in your config.js file. Each module is invoked by the parts between the curly braces ({...}). You can define more than one module by separating the curly braces with a comma:

      modules: [ 
      {
      // module 1
      },
      {
      // module 2
      },
      {
      // module 3
      }
      ]
      

      Remember to not mix single and double quote in your config.js file. I’ve gone through your module configuration and removed all of the comments left by the developer. I’ve added one comment to indicate where you should double-check which type of quote you’re using.

      {
           module: 'MMM-GPSWeather',
           position: 'bottom_left', 
           config: {
                locationOnly: false, 
                locationAPIKey: '1234567890zbcdefghijkl', 
                username: ‘MyName’, 
                latlonUrlBase: 'http://yourserver.net/gps',   // <-- HERE
               WUAPIKey: '12391290348sjdf834'
           }
      }
      
      

      HTH.

      posted in Troubleshooting
      B
      bhepler
    • RE: Motion detection: PIR sensor vs picamera

      @ZombieDE NoIR.

      posted in Hardware
      B
      bhepler
    • RE: MMM-PIR-Sensor - White Screen

      @Them-Russians

      When i ran the “npm install” in the MM directory, i got this error:
      npm warn grunt-yamllint@0.2.0 requires a peer of grunt@~0.4.0 but none was installed

      Don’t worry about this one. The log file format is [process] [debug level] [error message]. In this case, “warn” is the level of severity of the message. If it said “err” then it would require your attention.

      I suspect your nodejs version is out of date. Try running this command: nodejs -v and then npm -v. It should spit out the version of node and NPM you’re using. Personally, I’m on v7.4.0 and v4.0.5 respectively. If you’re running a few versions behind, you may wish to run these commands from your home folder:

      curl -sL https://deb.nodesource.com/setup_7x | sudo -E bash -
      sudo apt-get install -y nodejs
      sudo npm install -g npm
      sudo npm install -g npm
      

      And yes, you may have to run that last command twice. For some reason, NPM sometimes requires a double-tap to update itself. Thank you, StackExchange.

      Run nodejs -v again and verify that your node version is up to snuff.

      posted in Troubleshooting
      B
      bhepler
    • RE: Motion detection: PIR sensor vs picamera

      @ZombieDE I used a Picamera in my first mirror. I wrote a tutorial on how to get it set up in the tutorials section. Check it out.

      posted in Hardware
      B
      bhepler
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @randombullet I think your problem is with the sudo command. You shouldn’t need sudo to copy the config.js file. Check the permissions on the the config.js file. Make sure the npm process can read it.

      posted in Tutorials
      B
      bhepler
    • RE: Facial Recognition - customize your mirror for every user!

      @schlachtkreuzer6 Check out the tutorial I wrote for Motion & the mirror. Pretty much the part you’ll have to figure out is how to get a script to update the mirror. Motion can be configured to run a script, save a file, stream a video, etc. from an IP camera. There’s also a streaming server integrated into it, so you could probably put the contents of the IP camera into the stream from motion, and then use an IFRAME to display the stream’s output.

      In my research, I found a lot of information on the Motion software, including a couple that were specifically about running Motion on a Raspberry Pi as a security system. Once you have that configured, the next part is just figuring out how to send an alert to your mirror and how you want to display it.

      posted in Troubleshooting
      B
      bhepler
    • RE: Old fashion mirror

      I have to say, that frame is great. Good choice.

      posted in Show your Mirror
      B
      bhepler
    • RE: Facial Recognition - customize your mirror for every user!

      @desq I successfully integrated the Raspberry Pi & Motion together. It would be pretty simple to adapt it to inform you of when someone shows up at your door. It won’t have recognition capabilities, but it will be able to trigger an alert if someone is at your doorstep. Motion has integrated IP cam support.

      posted in Troubleshooting
      B
      bhepler
    • RE: First Mirror - Wedding Present

      And the mirror was a hit.
      That's not actually the bride

      posted in Show your Mirror
      B
      bhepler
    • RE: remoteFile in compliments module

      @skr Because I’m a crap coder in Javascript.

      Sorry for not helping earlier, folks. I was at a wedding and delivering my mirror as a gift. I’ll investigate and see if I can’t improve the mirror code.

      You should not ever have to modify the compliments.js file. You should be able to pull it off with just modifications to the config.js file.

      posted in Troubleshooting
      B
      bhepler
    • Is it real? Or is it a Memorex Mirror?

      This popped up on my twitter feed: https://twitter.com/internetofshit/status/817533468733120512

      It looks awfully familiar, right? So where else have you seen the concept of the magic mirror, but yet not running @MichMich framework?

      posted in General Discussion
      B
      bhepler
    • RE: remoteFile in compliments module

      @skr I have it running, but then again I developed the remote file capability. So “it works on my machine” is accurate, but not exactly helpful. :)

      One thing I was not able to get working properly was making the array names work the same way between the config.js and the external file. You must surround the array names (morning, evening, afternoon) with quotes in the external file. This is different then how work in the config.js. This catches a few people. Check out the compliments module documentation for examples.

      If that’s not your issue, post the compliments config from your config.js and your external file here and I’ll take a look at it.

      posted in Troubleshooting
      B
      bhepler
    • RE: Where are you from?

      @lolobyte He means Oshkosh, Wisconsin, USA.

      posted in General Discussion
      B
      bhepler
    • RE: Family Info Board

      So… how did Christmas go? I hope everyone was amazed!

      posted in Showcase
      B
      bhepler
    • RE: disable NO signal message

      Yes, but it’s not recommended. Those messages are there in case there is a problem during boot.

      But if you really want it… Stack Exchange to the rescue. If that doesn’t do it for you, some quality time with Google and “Raspbery Pi silent boot” should get you there.

      Edit: It seems that someone on YouTube has also done this.

      posted in Hardware
      B
      bhepler
    • RE: MagicMirror v2.1.0 Update error

      @Steff Due to my own incompetence when dealing with javascript, the external file needs to have quotes around the array names. If you are expanding the arrays within the config.js file, then you must remove the quotes from around the names.
      So this would work in the config.js file:

      evening : [
              "Einen Cocktail ?",
              "Wow, Du bist aber heiss heute...",
              "Wollen wir heute abend weggehen ?"
              ]
      

      and this should work in the external compliments file:

      "evening" : [
              "Einen Cocktail ?",
              "Wow, Du bist aber heiss heute...",
              "Wollen wir heute abend weggehen ?"
               ]
      

      It’s a bug. But I’m a Java programmer, not a Javascript programmer. I don’t know how to fix it.

      posted in Troubleshooting
      B
      bhepler
    • 1 / 1