MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. strawberry 3.141
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 3
    • Followers 35
    • Topics 30
    • Posts 1,700
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: MMM-voice

      @Mykle1 you have to either override the class align-left which is getting confuse or set an important flag

      .MMM-voice .align-left {
        text-align: right;
      }
      
      .MMM-voice {
        text-align: right !important;
      }
      
      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: call API (no CORS), used to do it with php proxy

      @doubleT you can only do requests to servers, so if you want to access your file like this, you have to name the uri similar to localhost:8080/station_price/public/proxytest.txt and piut the file in a public folder, as i remember the public folder in a module directory gets exposed by default to the express server of the magicmirror. But if you want to read a local file, i would rather use the fs module that comes natively with nodejs than request. the filesystem module allows you to read and write files on your harddrive https://nodejs.org/dist/latest-v8.x/docs/api/fs.html. Be aware of that there are synchronous and asynchronous functions to read a file

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: MagicMirror on Pi Zero W

      @Hawking said in MagicMirror on Pi Zero W:

      /home/pi/MagicMirror/node_modules/moment

      it should look like this /home/pi/MagicMirror/vendor/node_modules/moment do you have a package.json file in /home/pi/MagicMirror/vendor?

      posted in Tutorials
      strawberry 3.141S
      strawberry 3.141
    • RE: Calendar Monthly

      @johnnyboy open a terminal then change directory with cd ~/MagicMirror/modules then type in ls -la

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice

      I’m curious if someone ever tried to find the easter egg in this module :thinking:

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: What other factors are affecting the updateInterval?

      @E3V3A every client instance is connecting to the same nodehelper, so what some people did is having a start boolean variable so they can check if the nodehelper already initialised e.g.

      https://github.com/paviro/MMM-Wunderlist/blob/master/node_helper.js#L19
      https://github.com/paviro/MMM-Wunderlist/blob/master/node_helper.js#L94
      https://github.com/paviro/MMM-Wunderlist/blob/master/node_helper.js#L106

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: Code source for commercialization purpose

      @zikotrance https://github.com/MichMich/MagicMirror/blob/master/LICENSE.md

      posted in Tutorials
      strawberry 3.141S
      strawberry 3.141
    • RE: Calendar Module: Multiple Icons.

      @Richard238 https://github.com/MichMich/MagicMirror/pull/779

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice

      @Mykle1 then you need mmm-tts to hear the response when you found it :)

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: What other factors are affecting the updateInterval?

      @E3V3A you can store the data in a variable in the node helper, every time someone connects and your start flag is already set you just send him the data from your variable

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • MMM-MovieInfo

      Module for upcoming movies as requested from @tyho @luvien

      [card:fewieden/MMM-MovieInfo]

      Preview

      posted in Entertainment movie theatre
      strawberry 3.141S
      strawberry 3.141
    • RE: Calendar Module: Multiple Icons.

      @johnnyboy There is a css trick you probably didn’t know about, but will blow your mind :D

      there is only one trash can icon in fontawesome, so how can we use it but colorize it differently for different trash types.

      In germany, at least in my area, paper is blue, plastic is yellow, biowaste is brown and rest is black.

      0_1489702972961_trash.PNG

      this is a working example https://jsfiddle.net/a8p7snpd/4/ you just need some icons that you never will use in the calendar module like car, truck and cab

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice

      Ok @abcdennis got the correct answer, let’s see who else get the right answer. Next hint on Thursday.

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: What other factors are affecting the updateInterval?

      @E3V3A here is your example https://github.com/E3V3A/MMM-FlightsAbove/pull/16

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: Problems with MMM-RandomPhoto

      @Woody you are in the wrong directory /home/pi/package.json

      cd ~/MagicMirror/modules/MMM-RandomPhoto
      npm install
      
      posted in Entertainment
      strawberry 3.141S
      strawberry 3.141
    • RE: v2.1.1 Update Error

      @lucallmon this is because you changed those mentioned files manually. If you want to revert your changes permamently do git checkout modules/default/clock/clock.js modules/default/compliments/compliments.js and rerun your command

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Internet Monitor

      @pjkoeleman he forgot to push the file convert.js which leads to the black screen

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: Module Position

      @maxbachmann

      // get the module to move with it's identifier
      var clock = document.getElementById('module_0_clock');
      
      // append it to the region you like
      document.querySelector('div.region.top.left div.container').appendChild(clock);    
      

      it will work only if you already have a module in that position, otherwise you need to ovverride the style to display block

      document.querySelector('div.region.top.left div.container').style.display = 'block';
      

      that’s it

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-MovieInfo

      Changelog

      • Date manipulation fixed with new dependency

      To update do git pull and npm install

      [card:fewieden/MMM-MovieInfo]

      posted in Entertainment
      strawberry 3.141S
      strawberry 3.141
    • RE: AlexaPi failing to start?

      @johnnyboy sudo it’s case sensitive

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • 1 / 1