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

    Posts

    Recent Best Controversial
    • RE: Issue with White list IP(s) not working :(

      Are you giving your raspberry pi an ip address of “0.0.0.0”?

      Why?

      The address line should be the IP address of your pi.

      Having it listen on any interface hasn’t really worked well.

      Then the whitelist is an array of ip address. If you leave it empy (ex. []) then all the devices on your network will be able to access your mirror.

      This is what mine looks like:

      var config = {
      	address: "192.168.2.48", 
      	port: 8080,
      	ipWhitelist: [],
      
      

      This especially makes a difference when using the “Restfull-ish” API. It is necessary to give the address line an ip address :)

      posted in Troubleshooting
      C
      chef
    • RE: Netflix Module?

      Unfortunately, the Netflix APi is on lockdown. I know this from my work with Emby Server. Netflix requests get made all the time over there and the answer is usually the same, “can’t do it…”.

      That being said, I’m sure there would be ways of hacking together something, but I think it would be breaking a lot of terms and conditions.

      I was looking on github at a couple of “chrome cast” like casting npms for raspberry pi, just the other day.

      There are a couple of good ones. The thing is, some of them need a specific application added to your phone/device to cast to raspberry pi. There was one in particular that caught my eye, and it looks promissing.

      It is this one: https://github.com/vbaicu/mMusicCast

      Thing is, it says it’ll cast Youtube (which is awesome), or maybe even your device screen (which could be useful…), but not Netflix specifically.

      You could somehow put chrome into an application window on your pi.

      You can do this to chrome by opening Chrome with these parameters:

      “PATH_TO_CHROME” --app=“YOUR_URL”

      This is pretty hacky… and It’s not completely window-less.

      One other thing to keep in mind when attempting this.
      The MM application itself might not handle any HD streaming, so this would mean that you would have to…probabaly… have the OMXPlayer installed, and placed on top of your MM interface in order to get a stable stream. There are probably better developers on the forum here than I, who understand the ‘ins and outs’ of making that happen in a Debian style environment…

      Probably didn’t help much here.

      posted in Requests
      C
      chef
    • RE: EyeCandy and out-of-memory

      @maxbachmann that’s a really great idea. I noticed that is how some of the Security Camera MM2 modules work.

      posted in Bug Hunt
      C
      chef
    • RE: EyeCandy and out-of-memory

      I had thought about using an intervalTimer which showed a list of images in succession, but I think that would be worse than a GIF for the Raspi. :zipper-mouth_face:

      posted in Bug Hunt
      C
      chef
    • RE: Calendar stopped working with recent update :(

      Finally got everything back to normal.

      posted in Troubleshooting
      C
      chef
    • RE: Calendar stopped working with recent update :(

      Yep! Must have been a corrupted segment of my sd card. Had to start from scratch, and even now hold shift while loading and reinstalling Raspbian is cause errors.

      Just out of curiousity, if I don’t upgrade the MMM, how long does the ‘new version available’ popup on the top of the MMM show? Is it forever or does it eventually disappear?

      posted in Troubleshooting
      C
      chef
    • RE: Calendar stopped working with recent update :(

      Interesting how my account ‘pi’ has ‘permission denied’ while trying to work in the MagicMirror folders.

      Perhaps my setup is corrupt…

      posted in Troubleshooting
      C
      chef
    • Calendar stopped working with recent update :(

      Hey guys!

      the latest update for magicmirror went well.

      One issue though,
      I haven’t really ever had an easy time with the calendar module.
      I had applied a fix found somewhere on the forums here, which did some editing to the configuration js file for the calendar, which seemed to fix it.

      I don’t remember what it was, or where I found it sorry.

      I did run into an issue this morning when updating the mirror app.

      The calendar seems to sit in a ‘loading…’ state.

      I’m about to read through the module again and see what I can find, but I thought I’d ask here and see if anyone might have some facts or information regarding similar calendar issues, which might help me better locate the possible problem.

      Cool,

      Chef

      posted in Troubleshooting
      C
      chef
    • RE: EyeCandy and out-of-memory

      I also used eye candy! it’s great! but unfortunately, yeah, it runs up the memory, and in my case crashes the display… I have since commented out the plugin in my config, but that plugin is top shelf man! love it!!

      posted in Bug Hunt
      C
      chef
    • RE: [A Fix] The "Feels" Weather Condition in Metric is calculated improperly

      Wanted to bump this, sorry.

      posted in Bug Hunt
      C
      chef
    • [A Fix] The "Feels" Weather Condition in Metric is calculated improperly

      Yeah, metric “Feels” value returns Imperial data.

      TO fix this open “currentWeather.js” and change:

      switch (this.config.units){
      			case "metric": this.feelsLike = (Hindex / 2.2).toFixed(0);
      				break;
      

      You have to divide by 2.2 in order to return approximate metric values.
      The value doesn’t have to be perfect because it has a fixed decimal place of zero.

      Now in Canada it “Feels 40” degress instead of 80, which is correct!

      Thanks @MichMich, I’d do a pull request but I suck at pull requests LOL.

      You’re the man!

      posted in Bug Hunt
      C
      chef
    • RE: Any free API for face recognition?

      @alfred Microsoft cognitive sense api

      posted in General Discussion
      C
      chef
    • RE: Quick Question regarding Magic Mirror cache

      @e3v3a Sure I can share it!

      There is a bit of a setup to get things rolling, but in the end, the security camera/alexa/Cognitive neural network is quite on point.

      The best part is that if the neural network does get confused, the image is sent to the magic mirror anyway. So, Alexa will apologize for not being able to gather image information but will remind you to look at the magic mirror alert.

      However, in both instances, the security camera image is posted on the mirror.

      posted in General Discussion
      C
      chef
    • RE: Quick Question regarding Magic Mirror cache

      @e3v3a so it would seem that the cache is in place to keep those images from a constant request situation.

      However, now that you mention using FA icons on the alerts; I wasn’t able to successfully request FA images in my alerts.

      Do you have an example of how you are doing it I could see?

      posted in General Discussion
      C
      chef
    • RE: Quick Question regarding Magic Mirror cache

      @ninjabreadman said in Quick Question regarding Magic Mirror cache:

      http://192.168.2.48:8080/api/v1/modules/alert/show_ALERT?timer=10500&imageUrl=http://192.168.2.18:9920/security/values/2%3F
      {INSERT TIMESTAMP HERE}&imageHeight=220px

      Thaaaaank you sir! absolutely spot on! Now Alexa will describe the person in the security image (using M$ cognitive sense API), and the mirror in the kitchen flashes the security image as an alert.

      Pretty bad@$$ actually!

      posted in General Discussion
      C
      chef
    • RE: Quick Question regarding Magic Mirror cache

      Upon further research, perhaps it is Electron which is cache the image.

      And I might be wrong but it looks as though clearing cache has to happen in the core of the application.

      Something like “session.Clear()”

      posted in General Discussion
      C
      chef
    • Quick Question regarding Magic Mirror cache

      Hi!
      Recently I have been using Magic Mirrors alert system, along with the RESTful(ish) Api to show an image from my home security camera.

      Example API POST request:

      "http://192.168.2.48:8080/api/v1/modules/alert/show_ALERT?timer=10500&imageUrl=http://192.168.2.18:9920/security/values/2&imageHeight=220px";
      
      

      Where the image is being served on a custom security web server.

      Everything is working quite nicely using the API module, however, it would seem that the magic mirror server is keeping an image in a cache and will repeat the same image over and over despite the POST request sending it a more current image.

      Is there a way to clear the Magic Mirrors cache?
      Perhaps a command I can send through the API prior to giving the Alert module the new image?

      I hope this question is making sense to the lead developers.

      I can go into more detail and explain the workflow further if this isn’t making sense to anyone.

      Many thanks!

      posted in General Discussion
      C
      chef
    • RE: Secure Wireless Home Automation

      Yep, Zwave for sure. If you use something like Vera, the entire system is on lockdown. From there you can use their API to code whatever interface you want.

      As far as Arduino is concerned, I have built my own automated blinds using, Arduino nano, Nrf24l01 and some Servos. But, any kind of retrofit Zwave controller are probably best.

      People are probably more prone to sniff wifi on the 2.4 band, or the 802.11 band then on zwave… although anything is possible.

      “If we’re not totally secure, then we are not secure”… or something like that…

      I trust Zwave most… personally.

      posted in Hardware
      C
      chef
    • RE: First mirror

      This looks great! Weldone!

      Have you ever heard of Microwave Radar Induction Switch Human Motion Sensor Module

      pretty neat stuff. you could have the mirror turn on when it is triggered to high.

      Then only have those reading matter during certain times of day :)

      posted in Show your Mirror
      C
      chef
    • RE: Alert' system as a call display

      Added a more stable version to Github. I’m looking to build a .netcore version so it will run on a debian plateform.

      posted in Development
      C
      chef
    • 1 / 1