A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • MagicMirror in bathroom

    5
    0 Votes
    5 Posts
    3k Views
    D
    @cowboysdude Even with exposed boards?
  • Not able to SSH into MM

    3
    0 Votes
    3 Posts
    2k Views
    A
    @deadherring make sure you’re on the same network as the pi, unless you open a SSH tunnel - then you can connect to your router and further into your pi as if you were on your network. You can use SSH on your phone too, that will eliminate the need of a computer with keyboard and mouse. :)
  • merging Google calendar with MM calendar?

    10
    0 Votes
    10 Posts
    6k Views
    P
    @Mykle1 Thanks!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    78 Views
  • need help with config file

    17
    1 Votes
    17 Posts
    27k Views
    D
    @strawberry-3.141 That’s exactly what was wrong with it. I went back into the config folder, and at the top I saw the word metric laughing at me.
  • "camera by alexyak"module problem !

    1
    1
    0 Votes
    1 Posts
    968 Views
    A
    Hello everyone! anyone using the module 'Camera by alexyak"? I connected my web cam and mic which is connected by USB to raspberrypi3, but everytime I do npm start it shows these errors … How should I do if I want to fix these ALSA problems? [image: 1490191638120-1.png]
  • Help Me Please

    2
    0 Votes
    2 Posts
    1k Views
    strawberry 3.141S
    @jonny4500 you have to run npm start in a terminal in the magicmirror directory, you cant just open the index.html file in a browser
  • Word dependant text color change.

    2
    0 Votes
    2 Posts
    1k Views
    strawberry 3.141S
    @Richard238 from my knowledge there is no possibility to set a css rule based on an element content
  • PM2 Error

    7
    0 Votes
    7 Posts
    4k Views
    A
    @KnottyCord You are correct - you are running systemd (not plain old linux). PM2 does not seem to “realize” that. Note that there is ANOTHER problem with PM2 that is now reported as a bug - read all about it here: https://forum.magicmirror.builders/topic/2065/solved-pm2-does-not-start-on-reboot/10 Best of luck - and don’t hesitate to ask for help!
  • Wich pir sensor ?

    5
    0 Votes
    5 Posts
    3k Views
    V
    @yawns Yes I want to simulate the behaviour before buying the sensor
  • Can't Start my Magic Mirror

    4
    0 Votes
    4 Posts
    2k Views
    yawnsY
    @KnottyCord said in Can’t Start my Magic Mirror: Thank Man! My pleasure
  • MM_Withings module | Values are not being updated

    1
    0 Votes
    1 Posts
    860 Views
    F
    Hey everyone, this is my first post, so hopefully this is the correct category. I have an issue with the MM_Withings module from john7002 . Access to the API works fine and I can see the extracted value in the Log. But unfortunately the table does not get updated accordingly. I am not a JavaScript expert and am kind of desperate. I stripped down the original MM_Withings.js to just handle the received weight. I attached the code. It would be great, if you could check the code and point me in the right direction. Thanks in advance for your efforts. // init method start: function() { this.α = 0; // set interval for reload timer this.t = this.config.updateInterval * 60 * 1000 / 360; this.weight=0; Log.info(this.name + " 1st step of execution."); this.updateLoad(); }, updateLoad: function() { Log.info(this.name + "refresh triggered"); var that = this; return Q.fcall( this.load.get_URL.bind(that,'weight'), Log.info("URL LOADED"), this.renderError.bind(that) ).then( this.extractweight.bind(that), //weight Log.info("WEIGHT EXTRACTED"), this.renderError.bind(that) ).done( this.updateWait.bind(that), Log.info("BIND UPDATE WEIGHT") ); }, updateWait: function() { this.α++; this.α %= 360; var r = (this.α * Math.PI / 180); if (r === 0) { // refresh data this.updateLoad(); } else { // wait further setTimeout(this.updateWait.bind(this), this.t); } }, load: { get_URL: function(data_type) { switch(data_type){ case 'weight': base= this.config.api.base; base2=this.config.api.measure_weight; end=this.config.api.authPayload_weight; break; default: return ''; } return Q($.ajax({ type: 'POST', url: base+base2, data: this.config.api.authPayload.format( this.config.oauth_consumer_key, Array(32+1).join((Math.random().toString(36)+'00000000000000000').slice(2, 18)).slice(0, 32), this.config.oauth_signature)+ this.config.api.authPayload2.format( Date.now(), this.config.oauth_token, this.config.oauth_signature)+ this.config.api.authPayload3.format( this.config.clientID)+end })); }, }, extractweight: function(data) { var var2=data; var obj = JSON.parse(data); Log.info("status=" + obj.status); Log.info("time=" +obj.body.measuregrps[0].date); this.weight=obj.body.measuregrps[0].measures[0].value*Math.pow(10,obj.body.measuregrps[0].measures[0].unit); this.dateweight=obj.body.measuregrps[0].date; Log.info("poids=" +this.weight + "; date=" + this.dateweight); }, renderError: function(reason) { console.log("error " + reason); }, getScripts: function() { return [ 'String.format.js', '//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.2/jquery.js', 'jquery-2.2.2.js', 'q.min.js', 'moment.js' ]; }, getDom: function() { Log.info("UPDATE WEIGHT: " +this.weight + " DOM"); return $('<div>' + '<table> <tr><td> Gewicht: ' + this.weight +' kg</td></tr></table></div>')[0]; } });
  • Multiple question in 1

    1
    1 Votes
    1 Posts
    1k Views
    P
    Hi all, That magic mirror thing doesn’t let me go. :) Got some questions. I have a wireless remote control that I would like to use for magic mirror. this one Now I was wondering if I could do multiple things with it. Things like: 1: Change profiles (the misses and me have different taste of modules) 2: Control music that is playing + volume control 3: When screen goes dark, just use the touchpad to wake up screen It won’t be a Mirror as such but mote a kiosk kinda thingie. Now my testing is still on the raspberry and a monitor. Nothing hardware build yet. First I want to get the magic mirror as I would like it and then start building the hardware around it. (Additional speakers, versatile border around screen in some kind of cork material so we can pin pictures on it and maybe control LED lights installed behind the frame) Kind regards
  • Calendar Module: Multiple Icons.

    21
    0 Votes
    21 Posts
    15k Views
    Mykle1M
    @strawberry-3.141 Ok, thank you
  • Default News app display

    2
    0 Votes
    2 Posts
    4k Views
    slametpsS
    @Preve currently is not supported yet. You can ask a feature request for this one.
  • Module Error JSON-stable-stringify not found

    1
    1
    0 Votes
    1 Posts
    1k Views
    T
    Hi guys, i just installed magic mirror on my raspberry pi 1 b and the server only function was initially working fine, however after enabling the neccessary configuration file i was met witht the error when trying to load both the alert and clock modules saying the module json-stable-stringify is not found. could any body try and help me out with as to what i need to do to fix this? thanks in advance. [image: 1489696123430-capture.png]
  • Modules won't appear when I insert MMM-Facial-Recognition module

    7
    1
    0 Votes
    7 Posts
    4k Views
    yawnsY
    @HC Why are you opening the html file? You should start magicmirror with node serveronly and direct your browser to http://localhost:8080 or you should run npm start which will launch the browser on its own
  • 0 Votes
    2 Posts
    1k Views
    Mykle1M
    @amanzimdwini said in Installation script throws warnings (that I can ignore, so this is just an FYI): Not sure if anyone cares, but thought I’d point it out… I think that one is common to all. At least it was for me
  • Calendar Monthly

    6
    0 Votes
    6 Posts
    2k Views
    strawberry 3.141S
    @johnnyboy open a terminal then change directory with cd ~/MagicMirror/modules then type in ls -la
  • MMM-Traffic not hiding itself out of hours

    2
    0 Votes
    2 Posts
    2k Views
    I
    Install MMM-ModuleScheduler : https://github.com/ianperrin/MMM-ModuleScheduler and put this text in your Config.JS : { module: ‘MMM-ModuleScheduler’, config: { // SHOW MODULES WITH THE CLASS ‘daytime_scheduler’ AT 05:00 AND HIDE AT 08:00 EVERY DAY global_schedule: {from: ‘0 5 * * *’, to: ‘0 8 * * *’, groupClass: ‘MMM-Traffic’}, } },