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

    Posts

    Recent Best Controversial
    • RE: 2 MagicMirror windows

      @umeeq - Looking at your info, the pm2 process is expecting to find the mm.sh file in the folder /home/pi

      It’s this line: script path /home/pi/mm.sh

      So move the script to that location.

      mv /home/pi/MagicMirror/mm.sh /home/pi
      chmod +x /home/pi/mm.sh
      
      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: Frameless Illuminated Motion Sensitive SmartMirror

      @pascal456 That looks awesome! Do you have a build log? Or pictures of the back? What are you using to attach the mirror to the monitor?

      posted in Show your Mirror
      bheplerB
      bhepler
    • RE: Tilting the display by a couple of degrees to make it straight

      This reminds me of a joke.

      Q: How many software engineers does it take to change a light bulb?
      A: None. It’s a hardware problem.
      Q: How many hardware engineers does it take to change a light bulb?
      A: None. Just tell the software engineers to code around it.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: Need help

      @Calrus - I’m glad you got it working. In the future, please use the markdown features of the board when posting code.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: MMM-SantaTracker

      Update for 2024!

      • Latest version has a more robust image loading which should cut down on missing images.
      • Implemented the overTime variable, which will allow you to override the calculated date & time for Santa’s trip. This is useful for testing beforehand.

      Merry Christmas!

      posted in Fun & Games
      bheplerB
      bhepler
    • First Mirror - Wedding Present

      The upcoming wedding of a friend was the excuse I needed to build a mirror. Their decorating tastes are a bit more frilly than most, so I went with a different look than most mirror builders.
      All done

      The UI is a bit plain, but because it’s a gift I don’t have access to schedule feeds, Instagram accounts, commutes, etc. After the wedding, I’ll talk to them and see if they want changes.

      posted in Show your Mirror
      bheplerB
      bhepler
    • RE: Please help

      @moris The basic installation of MagicMirror includes a sample config.js file. It’s located at ~/MagicMirror/config/config.sample.js

      If you copy or rename that file to config.js that should help get you started. cp ~/MagicMirror/config/config.sample/js ~/MagicMirror/config/config.js Once you have it copied, you can restart your mirror and it should use that simple config.js to run the mirror software.

      Installing other modules is pretty simple. Navigate to the modules directory: cd ~/MagicMirror/modules and then clone the module repository git clone [module url]. Follow the directions at the GitHub repository for that module in case there is anything special about installing that module.

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

      Okay, I have the weather integration working. I’ll spare you the process I went through to figure it out, but the short version is that I am a worse developer than I originally suspected. The remoteFile capability works by replacing the three compliment arrays (morning, afternoon & evening). The weather integration works (sensibly, IMHO) by adding weather-specific compliments to the existing arrays.

      So in order to get them both working, you need to specify both the original arrays and the weather-specific arrays. You can delete any weather-specific arrays you wish, but you must have the morning, afternoon & evening arrays. Copy & paste this compliments.json file to your mirror and then modify accordingly.

      {
        "morning": ["Morning compliment"],
        "afternoon": ["Afternoon compliment"],
        "evening": ["Evening compliment"],
        "day_sunny" : [
          "Day Sunny Compliment 1",
          "Day Sunny Compliment 2"
        ],
        "day_cloudy" : [
          "Day Cloudy Compliment 1",
          "Day Cloudy Compliment 2"
        ],
        "cloudy" : ["Cloud 1"],
        "cloudy_windy" : ["Cloud windy"],
        "showers" : ["Showers"],
        "rain" : ["Rain"],
        "thunderstorm" : ["Thunderstorm"],
        "snow" : ["Snow"],
        "fog" : ["Fog"],
        "night_clear" : ["Night clear"],
        "night_cloudy" : ["Night Cloudy"],
        "night_showers" : ["Night showers"],
        "night_rain" : ["Night Rain"],
        "night_thunderstorm" : ["Night thunderstorm"],
        "night_snow" : ["Night Snow"],
        "night_alt_cloudy_wind": ["Night Cloudy Winds"]
      }
      

      I’m going to work on this a bit and hopefully the next release of the MirrorMirror software will be a bit more friendly. As an aside, I’ve noticed that the weather integration technique continually adds to the arrays. So the memory usage will grow and grow at whatever frequency you set the compliment refresh. This isn’t terrible, as straight text doesn’t take a whole lot of memory. But it may have unintended effects if you leave your mirror running for months at a time or if you are expecting a true randomization of the compliments you enter.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: 8kb "compliments module" works. 204kb "compliments module" fails to display. how to fix?

      @steed - You should not be modifying the compliments.js file. Any compliments you wish to insert into the module should be specified in the config.js file. In your case, you want to modify the config.js file to point to your large compliments JSON file.

      Roughly:

      {
      	module: "compliments",
      	position: "lower_third",	
      	config: {
      		remoteFile:'/home/pi/bookCompliments.json'
      	}
      }
      
      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: Developing USGS Earthquake Map (2MB GIf warning) Topic 2

      Thank you for the inspiration. At the moment, this is a work in progress.
      Globe module - Work in progress

      It’s a very basic implementation of planetary.js. But it seems to be a mature framework.

      posted in Development
      bheplerB
      bhepler
    • RE: Trividar's MagicMirror

      @dæmoneyes - It’s probably another genius idea from the same guys who made “flammable” and “inflammable” mean the same thing.

      posted in Show your Mirror
      bheplerB
      bhepler
    • RE: Halloween mirror ghouls anyone?

      @frog You seem to be missing the style='position... part.

      So:

      config: {
            text: “<video src=‘vendor/skelloop.mp4’ autoplay loop style='position:absolute; top:100%;left:50%; height:200%’></video>”
            }
      
      posted in General Discussion
      bheplerB
      bhepler
    • RE: Two Instances in PM2

      @shazglass All right, we’ll get you through it.

      pm2 runs on Pi startup and will start your mirror process for you. There should be only one listing. If you ran the installation script and said “yes” to using pm2, there should be only one process called MagicMirror in pm2.

      To remove the mm process from pm2, enter the following:

      cd ~
      pm2 stop all
      pm2 delete mm
      pm2 save
      rm mm.sh
      pm2 flush
      pm2 start MagicMirror
      

      At this point, your Magic Mirror interface should appear after a minute or so. You can press ctrl-q to exit the Magic Mirror interface, but pm2 should bring it back up in short order.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: A Question About Power Cables

      I use a travel charger. It has an AC outlet for the monitor and a hefty USB socket for the Pi. Plus, you can plug other things into the USB sockets (such as LED lights).

      posted in Hardware
      bheplerB
      bhepler
    • RE: Prepping my first build. Care to check my work?

      @3DPrintedWaffles It looks like you’re off to a good start. I do have a couple thoughts:

      • If your monitor is going to be smaller than your glass, you’ll want black construction paper or felt to cover the area of the glass that are not covered by the monitor. This includes the edges of your internal framework.
      • I would recommend wood screws for the internal framework. They don’t need to be large. 1.5" would probably do just fine.
      • I don’t know about the Liquid Nails part. I’m not familiar with it enough to say whether or not it will keep your glass attached to monitor and/or framework. I would consult your local hardware store.
      • Give a thought to power. Are you routing the power through the wall? Through a hole in your internal framework? Consider that at the moment, you have to power the Pi and the monitor, so that’s two cords.

      IIRC, the people who apply window film a lot recommend using a spray bottle with water or windex on the glass and then applying the film over top. The liquid will let you slide the film a bit while you get it positioned properly. Once the liquid evaporates, the film should remain in position.

      Bezel-free is certainly possible. It just requires slightly better construction skills and a bit more planning than your standard magic mirror. Normally, the bezel on the frame is what holds the glass up against the monitor face (and the monitor is usually the same size as the glass). Without that bezel, you’ll have to rely on the liquid adhesive. So long as you trust the Liquid Nails product, you should be good to go.

      posted in Development
      bheplerB
      bhepler
    • Magic Mirror Mark IV

      Yet another gift, this one for family. Lots of improvements in the basic wood craftsmanship, yet a few basic errors that I’m still kicking myself over. Most notably, the glass and the monitor aren’t the same size and it really affects how it turned out. The monitor isn’t the same quality as the previous ones and it shows if you’re looking for it. Ah, well.

      The next one will be better.

      That said, the miters on this one came out really well. A couple good passes with a router bit to get the multi-level effect:
      0_1558642502614_edge_cropped.jpg
      0_1558642804402_stained.jpg
      The Pi camera is attached to the construction paper. I had a devil of a time getting it flush, so I mounted it to the plastic case of a microSD->SD card adapter.
      0_1558642817796_camera.jpg
      0_1558642922633_all together.jpg
      0_1558642930277_up we go.jpg

      posted in Show your Mirror
      bheplerB
      bhepler
    • RE: Smart Mirror: RSS Feeds Apps

      @danielnewy - IMHO, these are good for creating an Android-based Magic Mirror project. There are a lot of development boards out there that run various flavors of Android and they likely can be used with these apps with little difficulty. If all you want out of your mirror is the basics (newsfeed, weather, stocks, exchange rates, date & time, calendar) then these apps will likely work and be very easy to install.

      If you’re an existing Android developer, then these may be the way to go. If you’re just getting started, I would stick with the Raspberry Pi and configuration files that are the prevalent method around here (unsurprisingly, since the forum was started to provide a community for the Raspi Mirror builders).

      Looking at the Mirror Feeds site, for example… there are already modules that perform all of those features, plus a lot more. That’s the beauty of the module framework: multiple developers are adding features all the time.

      To be honest, I would recommend building a Raspberry Pi based mirror and proceeding that direction. Unless you can think of a reason why you need to go with Android.

      posted in General Discussion
      bheplerB
      bhepler
    • RE: Weird graphical error

      Problem resolved. I did two things:

      1. Moved to the real OpenGL driver, not the fake one.
      2. Changed the resolution of the Pi to “Monitor Default” instead of hard-coding to my monitor resolution.

      I don’t know which of these two did it, but I haven’t experienced the graphical problem since.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: A Question About Power Cables

      @Mykle1 No, it does not. You essentially pull the plug to turn it off. What I did at home was to plug it into a WeMo home automation outlet. I then used my phone to set up a schedule to turn the mirror off & on. And it ties into the Amazon Echo, so I can tell Alexa to turn the mirror off and on if I need it outside of the schedule.

      The other downside is that the plug is only like 4 feet long. You may have to use an extension cord or (as I did) solder in an extension from a spare computer cord.

      posted in Hardware
      bheplerB
      bhepler
    • RE: [WANTED] new ownership of modules.

      After all that you’ve given to the community (and the amount of code I’ve shamelessly stolen from your modules) the least I can do is help out. Please let me handle MMM-SelfieShot and MMM-WeatherBackground for you.

      posted in Development
      bheplerB
      bhepler
    • 1
    • 2
    • 3
    • 4
    • 5
    • 12
    • 13
    • 2 / 13