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

    Posts

    Recent Best Controversial
    • RE: How to disable auto update?

      @henrikra

      Exactly what it does, among other things

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: 1 old noob + 1 rPi = I can't believe I did it! (revisited)

      Balloons and confetti at 10k views? :confetti_ball:

      This is crazy!

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Develop module with API

      @rick93 said in Develop module with API:

      I am new to MM as well as JS, so I do like to learn the way you code for the API, so I can get the idea to code my own.
      Anyway, I will find another example to continue my coding.

      First, you should aspire to learn how others code. I have a basic understanding of coding but I manage to make things work, usually. Only with the help and guidance of others have I managed to create some modules. Anyway . . .

      The url you have for the weather data is working. Great! I took the data and ran it through the json viewer. I assume you did the same as per the instructions in the UFO module readme. By substituting the url and changing some naming in the node helper and js file you should be able to get the data. Setting up the divs should not be too hard either.

      See what you can manage on your own and I will try to help you when you get stuck.

      Paying it forward.

      Peace!

      posted in Development
      Mykle1M
      Mykle1
    • RE: Dealing with 404 url error in module.

      @sdetweil said in Dealing with 404 url error in module.:

      sorry, you are using some words that don’t describe well what the problem is…

      Yes, I’m sorry about the description but you understood my meaning, so thank you for that. :thumbsup:

      Your onerror() handler suggestion is/was exactly what I needed/wanted and works beautifully. Again, thank you. I do appreciate that you took the time to give me advice/assistance. Here is the finished, working tag:

        // picture
                  var img = document.createElement("img");
                  img.classList.add("photo");
                  img.src = EOL.eolMediaURL;
                  img.onerror = function(event_object) { //  This function replaces broken image
                  var img_with_error = event_object.currentTarget //  This function replaces broken image
                  img_with_error.src= "modules/MMM-EOL/images/darwin.jpg" // This is the path to the replacement image
                 }
                  wrapper.appendChild(img);
      

      I would be remiss if I did not thank @cowboysdude, as well, for his help on this module.

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: 1 old noob + 1 rPi = I can't believe I did it! (revisited)

      @cowboysdude said in 1 old noob + 1 rPi = I can’t believe I did it! (revisited):

      Looking maybe… LMAO

      Oh no you din int! ;-)

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Alternative Calendar View

      @Sean

      Nice going Sean!

      posted in Development
      Mykle1M
      Mykle1
    • RE: Modules with Images not Displaying

      @striiker

      Did you run npm install in the MMM-EARTH directory first?

      Then, this should be your default config.js entry for MMM-EARTH:

      {
          module: "MMM-EARTH",
          position: "bottom_center",
          config: {
              mode: "Natural",
              rotateInterval: 15000,
              MaxWidth: "50%",
              MaxHeight: "50%",
          }
      },
      

      and the default config.js entry for MMM-MARS

      {
          module: 'MMM-MARS',
          position: 'top_left',
          config: {
              rover: "curiosity",              // which rover? curiosity, opportunity or spirit
              sol: "200",                      // sol date you want pictures from
              useHeader: false,                // true if you want a header      
              header: "",                      // useHeader must be true
              maxWidth: "300px",
              rotateInterval: 5 * 60 * 1000,   // new image 5 minutes
          }
      },
      
      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: 1 old noob + 1 rPi = I can't believe I did it! (revisited)

      @cowboysdude

      My personal avatar.
      0_1491606548340_IMG_1827.PNG

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Modules with Images not Displaying

      @striiker

      I just copy and pasted your config entry from above and both modules fired right up. Have you changed anything in the module files?

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: 27" custom framed magic mirror - fun to get done

      @iwaldrum said in 27" custom framed magic mirror - fun to get done:

      decorative molding all found at my local Home Depot. With a little bit of stain, it came out pretty nice.

      Hell yeah! I used casing from Home Depot and some stain I had on hand. And as you say, it did come out pretty nice. Love your frame! Nice work! And, oh yeah, Go Yankees! Greetings from NYC!

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Modules with Images not Displaying

      @striiker said in Modules with Images not Displaying:

      “nah, I shouldn’t have to do that”

      True, you should not have to do that but I’m glad you got them working. :thumbsup:

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: My attempt at building the #smartmirror

      @FreddyH said in My attempt at building the #smartmirror:

      Feel free to comment!

      I don’t see anything

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Resolution Problem Help

      @isoshy

      I can help you with the border problem. You can add this to your custom.css file and adjust accordingly. It will move the borders of the display inside the frame that is covering them when done correctly. Just play with those values. It should be close already, judging by your pictures.

      body {
         margin: 20px;
         height: calc(100% - 40px);
         width: calc(100% - 40px);
       }
      
      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: 1st Project: Hallway Notice Board with Integrated Smart Mirror

      @joela85

      I like the whole idea, design and implementation.

      I like that module at the bottom left, especially. :thumbsup:

      Well done!

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: trouble booting magicmirror

      @tbs86

      Ok, I assume you ran npm start in the MagicMirror directory and received that error. This is a fairly common problem. The installation of dependencies fails at times to install electron properly.

      1. From your desktop(GUI) go to MagicMirror/node_modules folder. Inside this folder you will find the electron folder. Delete the electron folder.

      2. Now, open a terminal and type cd MagicMirror and enter. Now, in the MagicMirror directory type npm install and enter.

      This SHOULD install electron.

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: Cheap as chips.....

      @Damian said in Cheap as chips.....:

      hello no it was second time asking how to get this on mini itx pc as said but still get no answer so not sure why no answer

      There can be a million reasons why you didn’t get an answer. Who can say why?

      With that said, MM can be installed on Pi’s, PC’s, Mac’s. My first mirror is using a Pi3 with the standard Raspbian Jessie out of the box. I have MM installed on a Compaq laptop running uBuntu, a Dell laptop running Windows 7 and my dev machine, also running Windows 7.

      You have to manually install things but it does work, and it works better than on a Pi. The mini itx that @cowboysdude mentioned is a brilliant idea, really. It’s small form factor allows it to be placed behind a mirror as you would a Pi, and its raw computing power, speed and graphics far exceeds that of any Pi.

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Are you having issues?

      @cowboysdude

      Amen brother! :thumbsup:

      And lets not forget to read the README files.

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: 1 old noob + 1 rPi = I can't believe I did it! (revisited)

      Another nice mess . . .
      https://www.youtube.com/watch?v=W3qcj2MzPYc

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Brand new install failing: bash: line 112: npm: command not found

      @kelemvor

      I don’t think you want the Lite version. Raspbian Desktop, yes.

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: Working on the ole 32"...

      @cowboysdude said in Working on the ole 32"...:

      Some things I’ve been working on ;)

      That’s downright classy. The diversity of your modules is outstanding. I especially like the weather at the bottom and the way it is formatted.

      Obviously, you’re a freakin guru!

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • 1 / 1