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
    • 1 / 1