Thanks, guys. It’s a 27" screen.
Read the statement by Michael Teeuw here.
Posts
-
RE: Mirror (2015) with PIR for the screen
-
RE: How to only update specific parts of DOM
@Synthic
Call the text div directly. But since document.getelementsbytagname is messy (as is document.getelementsbyclassname) you should give this div an ID.var t = document.createElement("div"); t.id = "textarea"; t.innerHTML = "text"; // ... var u = document.getelementbyid("textarea"); u.innerHTML = "updated text";
-
RE: Mounting the Mirror
@AAPS
The back of my frame has some sort of a brace on the top:
I wanted to screw two hooks into the wall (drywall) and hang the brace into the hooks. But I didn’t find hooks or screws for drywalls that stand out enough to grab the brace safely enough.What I came up with was a mount made from two pieces of the same slat as the brace which can now be placed into it and hangs firmly on the wall.
-
RE: Patience while learning .css - why does the following not work in my custom.css
The reason “.clock.time” doesn’t work is because it’s looking for an object with both classes “clock” AND “time”.
“.clock div.time” would be correct but only to address a div with the class “time” (within an object with the class “clock” ).
“.clock .time” would be the same, but the object doesn’t have to be a div - it could be a p (paragraph) with the class “time”
“.clock.time” would address only objects that have both classes, not regarding their parents.So in your case it would be correct to write “.clock .time, .clock .date” to address both “.time” and “date” within “.clock”. Your example would address all objects with the class “date” regardless of their parents class being “clock” or not.
Edit:
Not to confuse you, but just to make this complete, there is another way to make sure you get the right child of a parent:
“.clock > .time” would address “.time” only if the direct parent is “.clock”. So if it’s< div class=“clock” >
< div class=“time” >“.time” will be addressed, but if it is
< div class=“clock” >
< div >
< div class=“time” >“.time” is not addressed. (Just in this instance with > in between.)
-
RE: IDE for testing
I tried it with xampp and node.js (http-server) and got the initial page to be shown (please create a config) but once I create one, the site just shows a black background with no modules. Console says “moduleWrapper is NULL”.
What’s the trick here? What do I need to run?
########
EDIT:
Nevermind, what I was looking for was:node serveronly
I thought that was for production/RasbPi only so I had not tried that.
Thx
-
Mirror (2015) with PIR for the screen
Hi all,
back in early 2015 I wanted to build a one way mirror with a screen behind it that showed a website from my server. I googled around and found Michael’s MagicMirror so I just went along with this, as it was the perfect solution.I still think this is one of the best uses for a RasbPi and this project absolutely deserved to win the award (number 1 in the MagPi Top 50).
I had developed some apps for my version, like a fuel price monitor and a football board with results and tables.
When some people asked me to set up mirrors for them I started to tinker with a small and easy backend for configuration and soon found out about MagicMirror². Now I’m here and I’ll use this new version and I’ll try to translate my apps into modules for this project.
My mirror:
Just stome minor style changes and I added an indoor temperature sensor at the bottom of the frame (see below).
Aral Ultimate 102 price monitor from the closest station.PIR:
Be careful when playing with 220V … I nearly killed myself after switching off the wrong circuit …
On the backside.Setup:
The PIR is below the mirror, nearly unnoticeable. Here you can also see a DS18B20 temperature sensor.
The inside.I’m looking forward to setting up MM² on this setup in the next few days.
Thanks