Read the statement by Michael Teeuw here.
Posts
-
RE: Jake's Magic Mirror (Done)
wow, amazing! What screen dit you use? Beautifull house too!
-
Bottle py - freezes raspberry pi
Hi,
I’m using Bottle: Python Web Framework to control a relay on the raspberry pi. When I start the python script everything runs fine, but after a certain time (half an our or so) the pi freezes completely.
from bottle import route, run import RPi.GPIO as GPIO GPIO.setwarnings(False) GPIO.cleanup() GPIO.setmode(GPIO.BCM) GPIO.setup(5, GPIO.OUT) @route('/on') def on(): GPIO.output(5,GPIO.LOW) return("ON") @route('/off') def off(): GPIO.output(5,GPIO.HIGH) return("OFF") @route('/status') def status(): return GPIO.input(5) run(host="0.0.0.0", port=8070)anyone with more python experience that can give a helping hand?
-
RE: Bathroom - 30" MagicMirror
@kclemen said in Bathroom - 30" MagicMirror:
528x841 mm
Thanks for this clear info. I will probably than go for the 15% mirror.
-
RE: Bathroom - 30" MagicMirror
I’ve asked 3 companies to do me an offer. So, if I understand correctly, the 15% is "perfect’?
-
RE: Bathroom - 30" MagicMirror
Today I’ve called the glas company if they can give me some more info about the type of spy mirror they can deliver me.
They send me following information:

gif upload 20mbSo, if I’m correct, this type of mirror has a transmission of 15%. Any good?
-
RE: Bathroom - 30" MagicMirror
A possible solution to “carry” the mirrors istead of glueing would be the use of an aluminium strip on the bottom and top? anybody already used them and could share a picture?

-
RE: Bathroom - 30" MagicMirror
Thanks for the replies.
Back in december I already asked a glass company the exact same questiong about the difference in color. They also recommended me to use 3 times a 2 way mirror due to the color difference.
Back then I got this invoice:
- 2 way mirror
- mirror clear
- mirror grey.

free image hosting
Could anybody give me some more info about the type of 2 way mirror I have to order? I see here different percentages on the website. If the mirror is 8 mm thick, what is the best type?
-
RE: Bathroom - 30" MagicMirror
@johnnyboy beautifully executed! WAF is important ;)
-
RE: Bathroom - 30" MagicMirror
What about spraying the outer edges of the mirror with something? Only the size of the tv should be see through…
I tried to search for your project, but can not find it on the site.
Would it be possible to show a picture of your setup? -
RE: Bathroom - 30" MagicMirror
Thank you for your reply.
It seems that my OP was not totally clear. There will be 3 equal size mirrors next to eachother. That is also the reason that the middle cabinet is 18 mm larger. If you are right at that you will always see the glue, than I will have a big problem, because I can not use any visible fixture/frame, since I want 3 frameless mirrors next to eachother with only 3 mm gap.
edit: Indeed, I’ve used 18mm melamine board for the cabinet.

-
Bathroom - 30" MagicMirror
Hi,
We’re renovating our house. This time we are renovating our bathroom.
For the wall were our bathroom cabinet comes we’ve worked with metal studs and drywall. This way we could make sure that the cabinet behind the mirrors is placed in the wall, instead of in front of the wall.Past days I’ve worked on the cabinet that will house our mirror. The middle part sticks out in respect to the left and right part. When the doors are closed, everything is nicely even.

upload image
Placing the cabinet

With the doors closed the front is nicely even…

Left and right we can place our products

Enough space in next to, above and behind the tv to place everything.

free image hostingAt this point I have 37 mm free on the sides. In the height I have 48 mm to spare. Now I have to think how to attach the tv to the cabinet. I don’t want to glue the mirror to the tv.
i was thinking of placing on both sides 18mm wide wood. On the bottom and top I would also place 18 mm (or I have to glue an 18 mm and 6 mm thick board together to come to 24 mm). This way I get a frame where I can glue the mirror to. The area to fix the mirror to will be 538 cm2. Only question is if this will hold the mirror!? The mirror will be around 528x841 mm and 8 mm thick, meaning it will weigh almost 9kg.
edit: I’ve searched for the specs of the silicone I’m going to use:

upload picturemirror: 9kg
Area to fix it to: 53800 mm2
Mirror = 795 Newton
Mirror will have a force of 0.015 N/mm2Max tension of glue: 1.50 N/mm2
I think I’m making a mistake in the calculation, not? The Max tension of the glue is factor 100 larger. This would mee that with the glueing surface I have I could hang a mirror of 900 kg !?
-
RE: Firefox: bottom inputfield is hidden
Seems that the problem fixed itself? No issue anymore at the moment (Dit a CTRL + scroll zooming some while ago on this website.
-
RE: logitech media server (Squeezebox)
The goal is to adjust volume, skip songs, play and stop the music…
Since LMS gives an image for the currently playing song, I just use that to show the current song + artist&title by use of an iframe. -
Post method - gpio steering (relais)
Hi,
I’m using a home automation system which can provide a POST command to perform some actions within my house. Is there a way to communicate with the MagicMirror system?
My mirror will be placed in our bathroom. Since there is already a presence sensor placed in our bathroom we would like to use this sensor to perform an action to the gpio pin of the raspberry pi.
What would be the best method to perform this action?
-
RE: jumping of modules
I found why it was not working:
this.config.defaultClassdoes not work within thesetTimeout. When I change it to"default"which is what is configured in theconfig.js, then it works perfectly.However, I need to use the
this.config.defaultClass. So, what would be a solution for this? -
RE: jumping of modules
Adding setTimeout works for the gesture up, so hiding the defaultclass. But it does not work to show the defaultclass again with gesture down. Then the screen stays black. Removal of the 2nd setTimeout results back in showing the fefaultclass again. Is it possible that it is not possible to use 2 times setTimeout in the same file or so???
Module.register("MMM-skywriter",{ // Default module config. defaults: { gesture_up: 0, gesture_right: 0, }, // Override socket notification handler. socketNotificationReceived: function(notification, payload) { if (notification === "gesture_observed"){ console.log ("socketnotificationreceived."); //self.sendNotification(notification, payload); if (payload === "up"){ if (this.config.gesture_up == 0) { MM.getModules().withClass(this.config.defaultClass).exceptWithClass(this.config.everyoneClass).enumerate(function(module) { module.hide(1000, function() { Log.log(module.name + ' is hidden.'); }); }); setTimeout(function() { MM.getModules().withClass("class_up_1_show").enumerate(function(module) { module.show(1000, function() { Log.log(module.name + ' is shown.'); }); }); }, 1000); this.config.gesture_up = this.config.gesture_up+1; console.log("gesture_up is nu 1"); } else if (this.config.gesture_up == 1) { this.config.gesture_up = this.config.gesture_up+1; console.log (this.config.gesture_up) } } else if (payload === "left"){ console.log("test - left"); } else if (payload === "down") { if (this.config.gesture_up == 1){ MM.getModules().withClass("class_up_1_show").enumerate(function(module) { module.hide(1000, function() { Log.log(module.name + ' is hidden by gesture.'); }); }); // setTimeout(function() { MM.getModules().withClass(this.config.defaultClass).exceptWithClass(this.config.everyoneClass).enumerate(function(module) { module.show(1000, function() { Log.log(module.name + ' is hidden.'); }); }); // }, 1000); this.config.gesture_up = this.config.gesture_up-1; console.log("test - down"); } else if (this.config.gesture_up == 2){ this.config.gesture_up = this.config.gesture_up-1; console.log("gesture up is terug 1"); } } } }, notificationReceived: function(notification, payload, sender) { if (notification === 'DOM_OBJECTS_CREATED') { MM.getModules().exceptWithClass("default").enumerate(function(module) { module.hide(1000, function() { Log.log('Module is hidden.'); }); }); } }, start: function() { this.current_user = null; this.sendSocketNotification('CONFIG', this.config); Log.info('Starting module: ' + this.name); } }); -
RE: jumping of modules
@MichMich, Could it be that this is a “fault” in the system?
-
RE: jumping of modules
@tidus5 Will check it tomorrow. Thanks for all of your input so far!


