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

    Posts

    Recent Best Controversial
    • RE: MMM-forecast-io -- Localized up to the minute weather

      @Les thanks for the screenshot!

      posted in Utilities
      D
      dmcinnes
    • RE: MMM-forecast-io -- Localized up to the minute weather

      @Les yeah still working on it :) My testing config file had the “small” class, though I’m surprised it looks so bad without it.

      posted in Utilities
      D
      dmcinnes
    • RE: MMM-forecast-io -- Localized up to the minute weather

      @Les make sure you’re on the right branch:
      git checkout weather-forecast

      posted in Utilities
      D
      dmcinnes
    • RE: MMM-forecast-io -- Localized up to the minute weather

      @Les the rain graph should show up when the API responds with “minutely”, when there’s minute-by-minute rain data.
      Not sure why the forecast isn’t showing, it should appear by default. I’ll have to look at it later today.

      posted in Utilities
      D
      dmcinnes
    • RE: MMM-forecast-io -- Localized up to the minute weather

      @Les sure thing! I am working on a precipitation graph and I have a forecast set up. Check out the weather-forecast branch for a work in progress:
      https://github.com/dmcinnes/MMM-forecast-io/tree/weather-forecast

      posted in Utilities
      D
      dmcinnes
    • RE: MMM-forecast-io -- Localized up to the minute weather

      Forecast.io API has been rebranded as darksky.net: http://blog.darksky.net/introducing-darksky-net/

      I’ve updated this module with the default URLs, otherwise it doesn’t seem to support the redirect properly.

      I’m continuing to work on this module, more soon!

      posted in Utilities
      D
      dmcinnes
    • RE: Where are you from?

      I’m in Portland, OR

      posted in General Discussion
      D
      dmcinnes
    • RE: PIR sensor behind glass?

      @Cato just the regular PIR sensor mirror code works fine! The data pin triggers in the same way as a PIR sensor.

      posted in Hardware
      D
      dmcinnes
    • RE: PIR sensor behind glass?

      Now that I have time I’ve finally set up the microwave sensor on my mirror. Works like a charm!
      The sensor’s data line goes high to 3.3v when it detects motion and stays high for about 30 seconds. It’s set up on one of the 5v outputs. I’ve put some foil around it to help it be a bit more directional since the sensor is so sensitive; I sit under and to the right of my mirror all week and I don’t want it it trigger all the time. It helps somewhat.

      posted in Hardware
      D
      dmcinnes
    • RE: PIR sensor behind glass?

      Finally got around to testing on the PI’s 5v power (I’ve busy being sick) and seems to work fine!
      Next I’m going to hook up to the GPIO and see if I can get the whole thing running together.

      posted in Hardware
      D
      dmcinnes
    • RE: PIR sensor behind glass?

      I got the microwave radar modules today!

      They work great, even behind my mirror, although they are very sensitive. It triggered on even small arm movements and didn’t require line of sight. Works for my needs though, I just want it to turn off the monitor when nobody is around.

      I haven’t tried powering them with my PI, but they worked fine with an external 5v power supply.

      posted in Hardware
      D
      dmcinnes
    • RE: PIR sensor behind glass?

      @yawns I’ve read that microwave sensors will work behind glass, but I’m not sure if it will work behind the semi-mirrored surfaces we’re using.

      posted in Hardware
      D
      dmcinnes
    • RE: PIR sensor behind glass?

      Hmm I’ve seen othe specs that say working voltage is 3.3-20VDC… hopefully that’s more accurate. In any case I’ll try it with the 5V from the PI and go from there.

      posted in Hardware
      D
      dmcinnes
    • RE: PIR sensor behind glass?

      Another possibility: I ordered a couple of these $2 microwave radar motion detectors to see if they will work behind my glass. Still waiting to receive them though:

      http://m.ebay.com/itm/1pc-5-8GHZ-Microwave-Radar-Sensor-6-9M-Smart-Switch-for-Home-Control-/131864712562?txnId=1245760396003

      More details:
      http://www.cnx-software.com/2016/04/04/tiny-microwave-radar-module-detects-movements-up-to-9-meters-away-for-2/amp/

      posted in Hardware
      D
      dmcinnes
    • RE: Motion Detector from alexyak

      Ditto. Anyone have luck with this module using the picam?

      posted in Troubleshooting
      D
      dmcinnes
    • RE: Deploying to heroku troubleshooting

      @gndimitro awesome!

      posted in Troubleshooting
      D
      dmcinnes
    • RE: Deploying to heroku troubleshooting

      @gndimitro Ah! Heroku needs to tell your app which port to run on. An update to config.js to take the environment’s PORT value into account may do the trick:

        port: process.env.PORT || 8080,
      
      posted in Troubleshooting
      D
      dmcinnes
    • RE: Deploying to heroku troubleshooting

      Oh actually read to the end of your post :) Looks like the music module runs the player on the server side (on the heroku dyno) which is what’s likely failing. You can run heroku logs -a <your appname> to see any error messages.

      posted in Troubleshooting
      D
      dmcinnes
    • RE: Deploying to heroku troubleshooting

      I imagine it should work since it’s a node app. I haven’t tried it myself but creating a procfile that runs node serveronly may be enough:
      https://devcenter.heroku.com/articles/getting-started-with-nodejs#define-a-procfile

      posted in Troubleshooting
      D
      dmcinnes
    • RE: MMM-forecast-io -- Localized up to the minute weather

      Wow that looks great! Particularly the weather forecast.
      I looked at creating a graph since the data is all right there in the response. I might as well see I can port the code over to this module!

      posted in Utilities
      D
      dmcinnes
    • 1 / 1