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

    Posts

    Recent Best Controversial
    • RE: Email

      @ronny3050

      Git pull was easy.
      npm install yielded

      pi@MagicMirror2:~/MagicMirror/modules $ npm install
      
      npm WARN enoent ENOENT: no such file or directory, open 
      '/home/pi/MagicMirror/modules/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/packa                                                                                                                         ge.json'
      npm WARN modules No description
      npm WARN modules No repository field.
      npm WARN modules No README data
      npm WARN modules No license field.
      

      I’ll go ahead, but thought you might want to know.


      Note from admin: Please use Markdown on code and shell snippets!

      posted in Productivity
      A
      amanzimdwini
    • RE: Email

      @ronny3050

      Thx. In the meanwhile: I’d like to change the font size you use for display to small/tiny (I have about a zillion emails in 12+ different accounts)… so I have to fix my custom.css

      Judging from previous problems (look at the bottom of
      https://forum.magicmirror.builders/topic/254/sachin-s-mirror/21
      ) I stink at finding the properties myself - any hints would be most welcome.

      posted in Productivity
      A
      amanzimdwini
    • RE: http request

      @Eunanibus

      Could you please post a SMALL example xml file?
      (Along with what I SHOULD see?)
      Everything I have tried
      (local xml file / file on NAS in local network / file from api.openweathermap.org/data/2.5/weather?id=2172797&APPID=**** )

      first gives me “Awaiting Results” and then “No Results” or “Failed Request”

      When I pull the stuff in my browser, I get the files. I’m banging into a wall here…

      Best would be if I could just pull a file from my local NAS. Once I have the correct format, I can write them all day long (live in SQL world)

      Thanks

      posted in Development
      A
      amanzimdwini
    • RE: Email

      @ronny3050

      Looks interesting.
      Request: Multiple email accounts?
      OR - better still since I just need the ALERT: any way I can just get a NUMBER of emails I need to read:

      joeshmoe@gmail.com - 17 unread
      suzieQ@public.com - 5 unread
      UncleSam@gov.com - 0 unread

      I’ll have a look at your module once I sort one other problem on my MM2 out.

      posted in Productivity
      A
      amanzimdwini
    • RE: Fresh Install. Overlapping calendar / weather modules

      @jeremy
      I got stuck on something like that too…
      a) read the thread https://forum.magicmirror.builders/topic/254/sachin-s-mirror/25

      b) try a module @KirAsh4 wrote for me (and that I changed in a miniscule way)
      https://forum.magicmirror.builders/topic/373/alternating-modules-to-save-on-real-estate

      Good luck!

      posted in Troubleshooting
      A
      amanzimdwini
    • RE: Wunderlist acess token

      @shgmongohh

      Great. Can you upvote my answer?
      Thanks,

      posted in Troubleshooting
      A
      amanzimdwini
    • RE: Wunderlist acess token

      @shgmongohh

      Sebastian -
      I used https://a.wunderlist.com/api/v2/lists for the APP URL
      I used http://localhost:8080 for the Auth Callback

      it worked - for a while (I changed my password and just requested a new key)

      Give it a try & let me know

      posted in Troubleshooting
      A
      amanzimdwini
    • RE: Custom.css

      @KirAsh4
      I am having trouble with that, since I run my pi headless & inspect the output from somewhere else (mirror is in workshop).
      I am having trouble interpreting the Chrome output. But I solved the problem the way I always do: brute hack. I like the idea of TD better, though.

      posted in Troubleshooting
      A
      amanzimdwini
    • RE: Module WunderGround problem

      @shgmongohh
      It’s not obvious what to do - but you can look at the instructions for, say, MMM-Wunderlist:
      “Navigate into your MagicMirror’s modules folder and execute git clone https://github.com/paviro/MMM-Wunderlist.git. A new folder will appear navigate into it.”

      So you need to do the same for WUNDERGROUND (but use the correct git). In other words, execute
      sudo git clone https://github.com/RedNax67/MMM-WunderGround.git

      Viel Glueck

      posted in Troubleshooting
      A
      amanzimdwini
    • RE: Custom.css

      @KirAsh4
      Was actually trying to set the FONT SIZE (didn’t realize that that has its own special problems). I like the idea of take a “dummy” element like TD & will see if that works. Thanks for the hint!

      posted in Troubleshooting
      A
      amanzimdwini
    • RE: Error during installation ("

      @BlackPearl

      Happend to me too (and to others: see here for commiseration)
      https://forum.magicmirror.builders/topic/259/installing-mm2

      THIS is the setup that worked GREAT for me:
      https://forum.magicmirror.builders/topic/236/complete-setup-tutorial

      All the best!

      posted in Troubleshooting
      A
      amanzimdwini
    • Work of the Day (wordnik) font size

      @Vendittelli

      I really like your module; however, I am trying to change the font size to be more like in the calendar. I am trying to learn about .css files (I have a post out), but was wondering if you can let me know what you are using. I looked at the .js file and inspected the elements, but I am pretty new at this.

      So - how would I go about making all the font sizes identical to the “Origin” one? Where would I find what you did, and how would I override it in a custom.css file?

      Thanks for any help

      posted in Troubleshooting
      A
      amanzimdwini
    • Custom.css

      I’m not getting something - and now am tired of banging my head against this:

      custom.css

      /* this is how you make EVERYTHING    .bright   red  - Makes sense and works 
       * .bright {
       *  color: #ff0000;
       * } */
      
      /* this is how you make ONLY     calendar .bright    red  - again, makes sense and works
       * .module.calendar .bright {
       * color: #ff0000;
       * } */
      
      /* but how do you make EVERYTHING in the    calendar module    red?  This does not work for me:  */
       .module.calendar {
       color: #ff0000;
       }
      

      I must be missing something…
      Thanks

      posted in Troubleshooting
      A
      amanzimdwini
    • Wunderlist - sorting by due date

      I might be missing something, but my Wunderlist on MM2 is in a different order from the one on the Web (which sorts by Due Date). Any help would be appreciated.

      posted in Troubleshooting
      A
      amanzimdwini
    • RE: Alternating Modules to save on real estate

      @KirAsh4
      Thanks! I messed around a bit with it - here is what I came up with. (and yes, 99.999% is yours!)
      Still, here it is for anyone else who wants to play with it. But ALL credit goes to @KirAsh4

      This works best for me for MMM-Wunderground and MMM-Wunderlist - which I keep at top-right.
      a) my config.js extract:

                      {
                              module: 'my_swap',      // as supplied by KirAsh4
                              config: {
                                      showsecs: 30,   // seconds each module is shown (default =30)
                                                      // 30 is a "relaxed" speed
                                      fadems: 4000,   // fade time in ms (default = 4000)
                                                      //  4000 is also very relaxed - no coffee yet.
                                      modA: 'MMM-WunderGround',  // both modules need to be listed NEXT
                                      modB: 'MMM-Wunderlist'     // they should be of similar size, 
                                                                 // and in the same location.
                                                                 // These two are _prefect_ 
                                      }
                      },
                      {
                              module: 'MMM-WunderGround',
                              position: 'top_right',
                              config: {
                                      apikey: '****',
                                      pws: '****',
                                      lang: 'EN',
                                      fctext: '1',
                                      fcdaycount: "5",
                                      fcdaystart: "0",
                                      hourly: '1',
                                      hourlyinterval: "3",
                                      hourlycount: "1",
                                      alerttime: 10000,
                                      alerttruncatestring: "english:",
                                      fade: true
                              }
                      },
                      {
                              module: 'MMM-Wunderlist',
                              position: 'top_right', 
                              config: {
                                      accessToken: '****',
                                      clientID: '****',
                                      lists: [
                                              'MagicMirror'
                                              ],
                                      interval: 60,
                                      fadePoint: 0.9,
                                      fade: true
                                      }
                      },
      

      Then the file my_swap.js ( in \modules\my_swap) needs to look like this:

      Module.register("my_swap",{
      
        // Default module config.
        defaults: {
              modA: "MMM-NonExistA",  // if we dont know the EXACT NAME, we don't do anything!
              modB: "MMM-NonExistB",  //    ="=
              showsecs: 30,           //  as in compliments
              fadems: 4000            //    ="=
        },
      
        // Define required scripts.
        getScripts: function() {
          return ["moment.js"];
        },
      
        start: function() {
          Log.log("Starting module: " + this.name);
          this.DOMloaded = 0;
          this.isHidden = 0;
      
          var self = this;
          setInterval(function() {
            self.swapModules();
          }, 1000);
        },
      
        notificationReceived: function(notification, payload, sender) {
          if (notification === 'DOM_OBJECTS_CREATED') {
            this.DOMloaded = 1;
          }
        },
      
        // swapModules.
        swapModules: function() {
      
          var now = moment();
          var self = this;
      
              var mod1 = this.config.modA     // yank from config file
              var mod2 = this.config.modB
              var fadems = this.config.fadems
              var showsecs = this.config.showsecs
      
          if (!(now.seconds() % showsecs)) { 
            if (this.DOMloaded) {
              if (self.isHidden) {
                MM.getModules().exceptModule(this).enumerate(function(module) {
                  if (module.name === mod1) {
                    module.hide(fadems, function() {
                      MM.getModules().exceptModule(this).enumerate(function(module) {
                        if (module.name === mod2) {
                          module.show(fadems, function() {
                          });
                        }
                      });
                    });
                  }
                });
                self.isHidden = 0;
              } else {
                MM.getModules().exceptModule(this).enumerate(function(module) {
                  if (module.name === mod2) {
                    module.hide(fadems, function() {
                      MM.getModules().exceptModule(this).enumerate(function(module) {
                        if (module.name === mod1) {
                          module.show(fadems, function() {
                          });
                        }
                      });
                    });
                  }
                });
                self.isHidden = 1;
              }
            }
          }
        }
      });
      

      Works great for me! Thanks again for the clean code to play with. You should submit it as an official module.

      posted in Requests
      A
      amanzimdwini
    • RE: Alternating Modules to save on real estate

      @KirAsh4
      That was fast. Thanks. I’ll give it a whirl.

      Yes, I understand about all the caveats - I like the fading: that will make the jumping less obvious. But that problem already exists if you place the news-ticker at bottom_center, since it will vary between 2 and three lines. And I guess I could force the alternating modules to have the same width.

      BTW: thanks for teaching how to program modules. I love learning this way.

      posted in Requests
      A
      amanzimdwini
    • Alternating Modules to save on real estate

      There are now so many wonderful modules out there that my MM is a bit crowded :)

      So the logical question arises: might it be possible to alternate two modules in one location?

      I’m thinking along the lines of
      postion: top_left
      {module 1 = weather
      module2 = tasklist
      switchtime = 120 seconds}
      and every two minutes weather and tasklist would alternate.

      Thanks,
      Karl

      posted in Requests
      A
      amanzimdwini
    • Google Calendar repeatingCount

      I can’t figure out how how set up the

      displayRepeatingCountTitle
      ( see https://github.com/MichMich/MagicMirror/tree/master/modules/default/calendar)

      “inside” my Google Calendar.

      Googeling RepeatingCount + “Google Calendar” shows that others want this to work too; I recall seeing it on some showcase mirror? Anyway, I suspect I need to fiddle with my GoogleCalendar rather than my MM setup?

      Thanks

      posted in Troubleshooting
      A
      amanzimdwini
    • RE: Sachin's Mirror

      @KirAsh4

      THANKS! (major lightbulb).
      Happy 4th to you and @Wilco89

      posted in Show your Mirror
      A
      amanzimdwini
    • RE: Sachin's Mirror

      @KirAsh4 @Wilco89
      I really appreciate the help (and it works!)

      While I’m at it: just so that I understand: since compliments.js references thin xlarge bright I could have changed any of those three? They were referenced, so I can overwrite them? Ie in my custom.css:

      .module.compliments.bright {
        color: #ff0000;
      }
      

      or

      .module.compliments.xlarge{
        color: #ff0000;
      }
      

      would/should both in effect do the same thing?

      Or can I just change EVERYTHING in compliments to be color: #ff0000? ie

      .module.compliments{
        color: #ff0000;
      }
      

      (which I tried, and it did not work :( )

      posted in Show your Mirror
      A
      amanzimdwini
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 5 / 6