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

    Posts

    Recent Best Controversial
    • RE: Layout problem

      You might find this useful, I thought it was awesome when I saw it:

      https://forum.magicmirror.builders/topic/286/regions

      top_bar and bottom_bar are light gray
      top_left and bottom_left are red
      top_center and bottom_center are blue
      top_right and bottom_right are green
      upper_third is yellow
      middle_center is cyan
      lower_third is magenta

      All these regions will resize as needed.
      alt text

      posted in Troubleshooting
      FlatPepsiF
      FlatPepsi
    • RE: Lock folders?

      I’m quite sure there’s an answer, but I don’t speak Unix very well.

      Another thought- half the fun of a magic mirror is making it! Why not get a good backup of the finished product, and let the kid hack away at it? If it gets mangled too bad, email him your backup files, with a note “you broke it, you fix it”? :)

      posted in General Discussion
      FlatPepsiF
      FlatPepsi
    • RE: List Good Monitors To Build With

      This sounds like a noble idea- but the number of monitors/screen out there is staggering.
      It might be more fruitful to have a negative list - known monitors that DON’T work well as MM.

      From what I’ve seen, anything with HDMI works, and with an adapter (which I’m doing), anything with a VGA works. Even the power on/off signals from MMM-PIR-Sensor works great on my humble VGA based, low-res Dell 1908FP.

      posted in Hardware
      FlatPepsiF
      FlatPepsi
    • RE: MMM-NetWorkScanner

      You sure you need that last comma on the residents line?

      posted in Troubleshooting
      FlatPepsiF
      FlatPepsi
    • RE: .fillText() in a canvas box

      @Cato [facepalm] Further proof that my heritage is from case-insensitive programming languages.

      posted in Troubleshooting
      FlatPepsiF
      FlatPepsi
    • RE: .fillText() in a canvas box

      @Cato Thanks - that was the key to what I needed.

      My coordinates for placing the text was using a variable “TempY”, when I had earlier defined it as “tempY”. Stupid case sensitive variable names.

      tl;dr: I’m an idiot.

      Thanks for the tip, now I can see error messages, and my FillText() command is working.

      posted in Troubleshooting
      FlatPepsiF
      FlatPepsi
    • .fillText() in a canvas box

      I’m working on a weather graph, and using a Canvas box to draw the lines. It’s based off of MMM-Forecast-io, which has a good basic precip graph.

      I’m having issues adding text labels into the graph. Trimming the code down, this is what I’m trying to do:

      var element = document.createElement('canvas');            
      var context = element.getContext('2d');
      context.font = "10px Arial";
      context.fillText("X", 10, 10 );   // problem here
      

      If I include that last line, the module breaks. What’s the right way to put text in a a Canvas box?

      Also, when I break modules doing stuff like this, how do you see an error message to get an idea of what went wrong?

      posted in Troubleshooting
      FlatPepsiF
      FlatPepsi
    • RE: Splash Screens/No Signal

      @steve23p9835908 depends on your monitor. For most, the pi sends a “power off” signal, and you get no message.

      Really, you gotta play worth the parts you have to see how it works.

      posted in Hardware
      FlatPepsiF
      FlatPepsi
    • RE: MMM-Globe

      I will pile on the request for updating custom URL images. I’ve been going crazy trying to figure out why it doesn’t update – and now I know. :)

      The default North America image is a synthetic one, with real cloud cover overlaid on a static daylight earth. Nighttime is just as bright as daytime, for example. I wanted to use an image accurately showing the day/night divider moving across the globe. The best one I could find is here:

      http://www.goes.noaa.gov/goesfull.html

      On that page the “GOES East Visible” is exactly what I want, but sadly it’s in black-and-white. I’d love to have a color version of that. I may have to wait for that new satellite (Geos 16?) start publishing data.

      posted in Utilities
      FlatPepsiF
      FlatPepsi
    • RE: Any options for old iphone

      On the android side I’ve seen a number of people just view a webpage from the device. That’s probably the easiest way to go on the iPhone side – just use Safari to browse to server hosted elsewhere.

      If you’re looking at having an iPhone host the server, that sounds like ugly development work to me.

      posted in Hardware
      FlatPepsiF
      FlatPepsi
    • GPIO jumpers: longer, better?

      So I’m wiring up my PIR sensor via some jumper cables.
      Like these: https://www.amazon.com/gp/aw/d/B00RMBC5I0/ref=psd_mlt_nbc_B00KOL5BCC_ri

      They work, but I have two complaints. First is, these cables are pretty short. I’d like to do something much longer. I’d like something a foot long if possible. (This also makes adding a ferrite coil easier)

      The other complaint is that they pull off rather easily. I know that’s good for development, but for a final install project how do you keep these things in securely?

      Anyone have recommendations?

      posted in Hardware
      FlatPepsiF
      FlatPepsi
    • RE: What magic mirror module blew your mind?

      @cowboysdude haven’t heard of that one. Do you have a link to a YouTube video or something to demonstrate it?

      posted in General Discussion
      FlatPepsiF
      FlatPepsi
    • What magic mirror module blew your mind?

      Be honest guys, when looking into magic mirrors there was, for each of us, one particular feature that really blew our mind as super cool.

      What module or feature left you saying “now that is awesome!” ?

      I’ll start: MMM-Globe : Live, real time, satellite view of earth. We truly are living in the future!

      MMM-PIR-Sensor: this is what makes the mirror magic to me. A dumb mirror knows when it’s owner is nearby, and comes alive.

      posted in General Discussion
      FlatPepsiF
      FlatPepsi
    • RE: PIR-Sensor - put your mirror to sleep if not used

      @Jopyth OK, I’m game. Can you share how that would work?

      I just saw a module to play a sound on events- maybe I could also add a cool sound when the monitor wakes/sleeps. Either a Disney-style magic sound, or a StarTrek computer sound…

      posted in System
      FlatPepsiF
      FlatPepsi
    • RE: PIR-Sensor - put your mirror to sleep if not used

      I don’t yet have my PIR sensor (soon!), but had a question.
      When the mirror is unused, with the monitor off, it doesn’t make sense to do frequent updates on all of the modules. I could tune those way back, if I could force a refresh on all modules when the PIR triggers a monitor wake-up.

      Is there an easy way to trigger a refresh of some/all modules when the PIR module senses a wake-up event?

      posted in System
      FlatPepsiF
      FlatPepsi
    • How To: Add colors to Forecast.io icons

      This took me a while, so I thought I’d share. Here’s how to add color to the weather icons on for MMM-forecast.io (darksky) module. The same concept applies to other weather modules- just change the module names below:

      Edit the file ~/MagicMirror/css/custom.css
      and add the following to the bottom:

      .MMM-forecast-io .wi-sunrise {
      color: #ffd700;
      }
      .MMM-forecast-io .wi-sunset {
      color: #ffa500;
      }
      .MMM-forecast-io .wi-day-sunny {
      color: #ffff00;
      }
      .MMM-forecast-io .wi-night-showers {
      color: #55acee;
      }
      .MMM-forecast-io .wi-degrees {
      color: #415;
      }
      .MMM-forecast-io .wi-rain {
      color: #55acee;
      }
      .MMM-forecast-io .wi-showers {
      color: #55acee;
      }
      .MMM-forecast-io .wi-night-showers {
      color: #55acee;
      }
      .MMM-forecast-io .wi-night-alt-cloudy-windy {
      color: #aaa;
      }
      .MMM-forecast-io .wi-night-cloudy {
      color: #aaa;
      }
      .MMM-forecast-io .wi-cloudy {
      color: #aaa;
      }
      .MMM-forecast-io .wi-day-cloudy {
      color: #aaa;
      }
      .MMM-forecast-io .wi-cloudy {
      color: #aaa;
      }
      .MMM-forecast-io .wi-cloudy-windy {
      color: #aaa;
      }
      .MMM-forecast-io .wi-showers {
      color: #55acee;
      }
      .MMM-forecast-io .wi-thunderstorm {
      color: #ff00ff;
      }
      .MMM-forecast-io .wi-snow {
      color: #fff;
      }
      .MMM-forecast-io .wi-fog {
      color: #999;
      }
      .MMM-forecast-io .wi-night-clear {
      color: #fff;
      }
      .MMM-forecast-io .wi-night-rain {
      color: #55acee;
      }
      .MMM-forecast-io .wi-night-thunderstorm {
      color: #ff00ff;
      }
      .MMM-forecast-io .wi-night-snow {
      color: #fff;
      }

      .MMM-forecast-io .wi-sunrise {
      color: #ffd700;
      }
      .MMM-forecast-io .wi-sunset {
      color: #ffa500;
      }
      .MMM-forecast-io .wi-day-sunny {
      color: #ffff00;
      }
      .MMM-forecast-io .wi-night-showers {
      color: #55acee;
      }
      .MMM-forecast-io .wi-degrees {
      color: #415;
      }
      .MMM-forecast-io .wi-rain {
      color: #55acee;
      }
      .MMM-forecast-io .wi-showers {
      color: #55acee;
      }
      .MMM-forecast-io .wi-night-showers {
      color: #55acee;
      }
      .MMM-forecast-io .wi-night-alt-cloudy-windy {
      color: #aaa;
      }
      .MMM-forecast-io .wi-night-cloudy {
      color: #aaa;
      }
      .MMM-forecast-io .wi-cloudy {
      color: #aaa;
      }
      .MMM-forecast-io .wi-day-cloudy {
      color: #aaa;
      }
      .MMM-forecast-io .wi-cloudy {
      color: #aaa;
      }
      .MMM-forecast-io .wi-cloudy-windy {
      color: #aaa;
      }
      .MMM-forecast-io .wi-showers {
      color: #55acee;
      }
      .MMM-forecast-io .wi-thunderstorm {
      color: #ff00ff;
      }
      .MMM-forecast-io .wi-snow {
      color: #fff;
      }
      .MMM-forecast-io .wi-fog {
      color: #999;
      }
      .MMM-forecast-io .wi-night-clear {
      color: #fff;
      }
      .MMM-forecast-io .wi-night-rain {
      color: #55acee;
      }
      .MMM-forecast-io .wi-night-thunderstorm {
      color: #ff00ff;
      }
      .MMM-forecast-io .wi-night-snow {
      color: #fff;
      }

      posted in Troubleshooting
      FlatPepsiF
      FlatPepsi
    • RE: electron size

      @duanzi
      You ever got a solution? I have the same issue.

      posted in Troubleshooting
      FlatPepsiF
      FlatPepsi
    • RE: Shorter calendar text

      @strawberry-3.141

      Now that I look closer, it’s the clock module that I’m looking at. I’ve looked through the read me for that model, and I don’t think this is implemented yet

      posted in Feature Requests
      FlatPepsiF
      FlatPepsi
    • Shorter calendar text

      How about an option on the calendar module to have abbreviations for the day of week and month?

      For example:
      “Thu, Feb 23rd, 2017”
      Instead of
      “Thursday, February 23rd, 2017”

      posted in Feature Requests
      FlatPepsiF
      FlatPepsi
    • 1 / 1