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

    Posts

    Recent Best Controversial
    • Not really a mirror at all - but is really helpful

      My MagicMirror isnt a mirror at all - its a display that is on in my kitchen. It has two modes - normal - shown below, which shows calendar, what is currently playing on my Sonos speaker in my kitchen, weather, and headlines.

      0_1479296935770_IMG_4554.JPG

      and also a ‘party’ mode, where all that other info is hidden, and only shows me and my guests what music is playing

      0_1479296979064_IMG_4553.JPG

      Happy to share my custom CSS code with anyone that wants to see this.

      posted in Showcase
      D
      dinkybluebug245
    • RE: Not really a mirror at all - but is really helpful

      thanks - Uploaded the code here.

      https://github.com/dinkybluebug/MMM-CustomCSSv2

      posted in Showcase
      D
      dinkybluebug245
    • RE: Not really a mirror at all - but is really helpful

      @yawns Ive uploaded my version of calendar.js to github. access it here : https://github.com/dinkybluebug/MMM-CustomCSSv2

      It has amended javascript for calendar to show day of week and time.

      posted in Showcase
      D
      dinkybluebug245
    • RE: Not really a mirror at all - but is really helpful

      @schlachtkreuzer6 In Nodehelper.js - I changed lines 104-117. I didnt need the option of monitor on and off, as I have a PIR sensor attached to my display.

      if (query.action === 'MONITORON')
      		{
      			exec('cp ../MagicMirror/css/party_custom.css ../MagicMirror/css/custom.css', opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
      			exec('cp ../MagicMirror/config/party_config.js ../MagicMirror/config/config.js', opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
      			exec('pm2 restart mm', opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
      			return true;
      		}
      		if (query.action === 'MONITOROFF')
      		{
      			exec('cp ../MagicMirror/css/normal_custom.css ../MagicMirror/css/custom.css', opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
      			exec('cp ../MagicMirror/config/normal_config.js ../MagicMirror/config/config.js', opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
      			exec('pm2 restart mm', opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
      			return true;
      		}
      

      As the functions had changed, I then changed the text displayed in the app , by changing the text in the remote.html file. Line 80- 87

                     <div id="monitor-on-button" class="menu-element button main-menu">
                          <span class="fa fa-fw fa-glass" aria-hidden="true"></span>
                          <span class="text">Party Mode</span>
                      </div>
                      <div id="monitor-off-button" class="menu-element button main-menu">
                          <span class="fa fa-fw fa-calendar" aria-hidden="true"></span>
                           <span class="text">Calendar Mode</span>
                      </div>```
      posted in Showcase
      D
      dinkybluebug245
    • RE: Not really a mirror at all - but is really helpful

      I had installed the remote control module too, and tweaked it slightly, so I can move between Normal and Party mode, instead of using bash scripts via SHH

      0_1479750249211_upload-7516ce5e-a72d-486b-b4ae-75f901144e0c

      posted in Showcase
      D
      dinkybluebug245
    • RE: Not really a mirror at all - but is really helpful

      @MichMich Thanks Michael - Im new to all this - so appreciate your comment

      posted in Showcase
      D
      dinkybluebug245
    • 1 / 1