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

    Posts

    Recent Best Controversial
    • RE: MMM-DumpsterDay

      I have been working on scaling the use of this great module. I thought about what other reoccurring things that I might need notification of. It came to mind that my front loading Washing Machine indicates that I need to clean the pump screen every 30 days! I also like to do a “tub clean” at about the same interval.
      The washer has a setting that is named “tub clean” where one adds a bit of bleach or other detergent made for cleaning the inside of the stainless tub to make sure that there is not any bacteria and gunk that builds up.

      In that vein I created a custom icon that can be used for notification. I wanted to share it with the community in case anyone else wanted to be notified as well.

      Since I dont use the Recycle Can I just substituted this icon for the Recycle Can and set the reoccurring notification to be every 30 days!! Click the link and then Right Click - Save Image As
      TubClean.png

      posted in Utilities
      B
      BD0G
    • RE: Halloween mirror ghouls anyone?

      @sdetweil said in Halloween mirror ghouls anyone?:

      @BD0G don’t modify the css file

      the system design is that css/custom.css will allow you to override any setting set by a module or the main.css file

      so you put those entries in custom.css

      all this no editing means the author can release updates and nothing u did is impacted

      Gotcha!

      posted in General Discussion
      B
      BD0G
    • RE: Halloween mirror ghouls anyone?

      i am going to just modify the included MMM-EasyBack.css file to see if I can shrink it. Yeah that works.

      
      
      
      .MMM-EasyBack .photo {
        width: 100%;               /* size the picture */
      }
      
      .MMM-EasyBack #video {
        width: 50%;
        height: 50%;
      }
      
      .MMM-EasyBack .iframe {
        margin-top: 50px;
              margin-bottom: 0px;
              margin-left: 50px;
              margin-right: 0px;
      }
      
      
      
      posted in General Discussion
      B
      BD0G
    • RE: Halloween mirror ghouls anyone?

      @sdetweil Thanks Sam.

      I went into the MMM-EasyBack.js file and altered it to reflect the video HalloweenMM.mp4 rather than within the config.js file. I also removedt the hard coded Youtube ID that was in the MMM-EasyBack.js file.

      Now it plays the Halloween file , but I cannot control the sizing of the video and it takes up just about the entire screen.

      
      Module.register("MMM-EasyBack", {
      
          defaults: {
              bgName: "",         // .jpg, .gif, .png, Full screen animated gifs too!
              videoName: "HalloweenMM.mp4",     // your local picture files go in "images" folder of MMM-EasyBack
              youTubeID: "",      // YouTube ID from the YouTube url
              height: "800px",   // your display's resolution in pixels. Enter in config.js
              width: "600px",    // your display's resolution in pixels. Enter in config.js
              animationSpeed: "0",
              updateInterval: 60 * 60 * 1000,
          },
      
      
      posted in General Discussion
      B
      BD0G
    • RE: Halloween mirror ghouls anyone?

      @Mykle1
      This is so weird!
      I installed MMM-EasyBack as per the instructions.
      Copied a small Halloween Video in the MagicMirror/Modules/MMM-EasyBack/Videos folder. The file is named HalloweenMM.mp4. Its 15 MB. So pretty small.

      Here are my config.js entries for the module.

      {
          module: 'MMM-EasyBack',
          position: 'middle_center',
          config: {
             // bgName: "Example.jpg",   // "Example.jpg", the file name of your background image (case sensitive)
              videoName: "HalloweenMM.mp4",       // "baboon.mp4",         // file name of your local video
              height: "1920px",    // your display's resolution in pixels. Enter in config.js
              width: "1080px",     // your display's resolution in pixels. Enter in config.js
          }
      },
      
      

      I completely removed the section about Youtube ID , etc . When I launch the MM interface it contunually comes up with the YouTube Video by David Snow found here https://www.youtube.com/watch?v=So3vH9FY2H4

      There is no reference that I can find to that video at all.

      The YouTube ID that is referenced by this video is the same one that was in the original configuration file.

      posted in General Discussion
      B
      BD0G
    • RE: MMM-Lunartic

      @sdetweil :oncoming_fist_light_skin_tone:

      posted in Education
      B
      BD0G
    • RE: MMM-Lunartic

      @sdetweil Got it.
      I did git stash and it indicated I needed to set my global identity. Did that. Then git stash succeeded. Then did a git pull and it indicated I needed to remove or move package.json. I moved it . Then did git pull which worked.

      Then git checkout MMM-Lunartic.js
      and git checkout package.json

      Stopped and restarted PM2 and it displays properly and the notification bar above no longer includes that as a module that needs to be upgraded

      posted in Education
      B
      BD0G
    • RE: MMM-Lunartic

      @sdetweil pi@MagicMirror:~/MagicMirror/modules/MMM-Lunartic $ git diff
      diff --git a/MMM-Lunartic.js b/MMM-Lunartic.js
      index 1520d0a…df2718c 100644
      — a/MMM-Lunartic.js
      +++ b/MMM-Lunartic.js
      @@ -38,9 +38,7 @@ Module.register(“MMM-Lunartic”, {
      es: “translations/es.json”,
      de: “translations/de.json”,
      sv: “translations/sv.json”,

      •        nl: "translations/nl.json",
        
      •        gl: "translations/gl.json",
        
      •        ca: "translations/ca.json",
        
      •        nl: "translations/nl.json"
           };
        
        },

      @@ -50,16 +48,16 @@ Module.register(“MMM-Lunartic”, {
      requiresVersion: “2.1.0”,

               //  Set locale.
      
      •    this.url = "https://mykle.herokuapp.com/moon";
        
      • // this.url = this.getUrl();
        :
      posted in Education
      B
      BD0G
    • RE: MMM-Lunartic

      @sdetweil OK. Perfect. Been out of the game for a while so I might have known that but forgotten.

      I ran into a commit changes or stash message.

      pi@MagicMirror:~/MagicMirror/modules/MMM-Lunartic $ git pull
      Updating c977e14…00655ab
      error: Your local changes to the following files would be overwritten by merge:
      MMM-Lunartic.js
      Please commit your changes or stash them before you merge.
      error: The following untracked working tree files would be overwritten by merge:
      package.json
      Please move or remove them before you merge.
      Aborting

      Just sudo git pull ? Then since it mentions the package.json do an npm install?

      posted in Education
      B
      BD0G
    • RE: MMM-Lunartic

      I need to update this module. Is there a preferred way to do so?

      posted in Education
      B
      BD0G
    • 1
    • 2
    • 3
    • 4
    • 5
    • 15
    • 16
    • 1 / 16