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

    Posts

    Recent Best Controversial
    • 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.

      alt text

      posted in Show your Mirror
      K
      kclemen
    • 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.
      IMG_20170420_224519
      upload image

      Placing the cabinet
      IMG_20170421_195249
      With the doors closed the front is nicely even…
      IMG_20170422_152929
      Left and right we can place our products
      IMG_20170422_152952
      Enough space in next to, above and behind the tv to place everything.
      IMG_20170423_123043
      free image hosting

      At 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:
      mir_o_bond_specs
      upload picture

      mirror: 9kg
      Area to fix it to: 53800 mm2
      Mirror = 795 Newton
      Mirror will have a force of 0.015 N/mm2

      Max 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 !?

      posted in Show your Mirror
      K
      kclemen
    • 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.

      posted in Forum
      K
      kclemen
    • 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.

      posted in Requests
      K
      kclemen
    • RE: jumping of modules

      Anyone??

      posted in Troubleshooting
      K
      kclemen
    • 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?

      posted in Feature Requests
      K
      kclemen
    • RE: jumping of modules

      I found why it was not working:

      this.config.defaultClass does not work within the setTimeout. When I change it to "default" which is what is configured in the config.js, then it works perfectly.

      However, I need to use the this.config.defaultClass. So, what would be a solution for this?

      posted in Troubleshooting
      K
      kclemen
    • 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);
      	}
      	
      });
      
      posted in Troubleshooting
      K
      kclemen
    • RE: jumping of modules

      @MichMich, Could it be that this is a “fault” in the system?

      posted in Troubleshooting
      K
      kclemen
    • RE: jumping of modules

      @tidus5 Will check it tomorrow. Thanks for all of your input so far!

      posted in Troubleshooting
      K
      kclemen
    • 1 / 1