Exactly what it does, among other things
Read the statement by Michael Teeuw here.
Posts
-
RE: How to disable auto update?
-
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!
-
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!
-
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.
-
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! ;-)
-
RE: Modules with Images not Displaying
Did you run
npm installin 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 } }, -
RE: Modules with Images not Displaying
I just copy and pasted your config entry from above and both modules fired right up. Have you changed anything in the module files?
-
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!
-
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:
-
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
-
RE: Resolution Problem Help
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); } -
RE: 1st Project: Hallway Notice Board with Integrated Smart Mirror
I like the whole idea, design and implementation.
I like that module at the bottom left, especially. :thumbsup:
Well done!
-
RE: trouble booting magicmirror
Ok, I assume you ran
npm startin the MagicMirror directory and received that error. This is a fairly common problem. The installation of dependencies fails at times to install electron properly.-
From your desktop(GUI) go to MagicMirror/node_modules folder. Inside this folder you will find the electron folder. Delete the electron folder.
-
Now, open a terminal and type
cd MagicMirrorand enter. Now, in the MagicMirror directory typenpm installand enter.
This SHOULD install electron.
-
-
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.
-
RE: Brand new install failing: bash: line 112: npm: command not found
I don’t think you want the Lite version. Raspbian Desktop, yes.
-
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!
