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

    Posts

    Recent Best Controversial
    • RE: Can someone Make a module to show iTunes playing

      @dazza120 MMM-Scrobbler would do that if you connect your iTunes to last.fm

      posted in Requests
      G
      ganget
    • RE: How to start MM with a module as default hidden

      @thestigh Would you like to have the module running but not showing in your Magic Mirror? I guess you can do this by not assigning a position for the module.

      example for the clock module

      modules: [
      	{
      		module: "clock",
      		position: "",	// leave this blank
      		config: {
      			// The config property is optional.
      			// See 'Configuration options' for more information.
      		}
      	}
      ]
      
      posted in Troubleshooting
      G
      ganget
    • RE: [MMM-Rainbow] Animated text color transition

      @justjim1220. Yeah it shows every color atm before the minute updates and the loop starts again.

      posted in Entertainment
      G
      ganget
    • RE: [MMM-Rainbow] Animated text color transition

      @justjim1220 I changed the update interval to 60 sec and that makes it work allot better. I kept the background size at 500% so the color gradient won’t repeat.

      .clock-time-only-color {
      	background-image: linear-gradient(to left, red,orange,yellow,green,blue,purple);
      	-webkit-background-clip:  text;
      	-webkit-animation: animate 60s linear infinite;
      	background-size: 500%;
      	color: transparent;
      	
      }
      @-webkit-keyframes animate{
      	0%	{background-position: 0% 500%;}
      	100%	{background-position: 500% 0%;}
      

      The result
      0_1548425053414_MagicMirror screen 2.png
      Thanks for your help!

      posted in Entertainment
      G
      ganget
    • RE: [MMM-Rainbow] Animated text color transition

      @justjim1220 Good tip man! I will change the update interval and look at the difference.

      posted in Entertainment
      G
      ganget
    • RE: [MMM-Rainbow] Animated text color transition

      @seann yeah i tried increasing the number to like 20 sec up to 6000. But the problem i get then is that it shows me only the first 2 colors in the gradient. Dunno but will try and work on it tomorrow

      posted in Entertainment
      G
      ganget
    • RE: [MMM-Rainbow] Animated text color transition

      @seann I took a different approach to this, mainly because I only wanted to have it for only one module. I have changed my custom.css and one line in the clock.js, so it grabs a different style.
      My code makes a gradient background which I clip to the text. Then to make it move across the text i use webkit-animation. I’m not totally satisfied with the result of the animation yet but i will keep tweaking that.

      the animation moves way too fast now and when I make the animation duration longer it doesn’t feature all the colors of the gradient.
      the only line i needed to change in the clock.js file

      timeWrapper.className = "time clock-time-only-color large light";
      

      Custom.css (lines i added)

      .clock-time-only-color {
      	background-image: linear-gradient(to right, #ff0000,#ff4000,#ff8000,#ffbf00,#ffff00,#bfff00,#80ff00,#40ff00,#00ff00,#00ff40,#00ff80,#00ffbf,#00ffff,#00bfff,#0080ff,#0040ff,#0000ff,#4000ff,#8000ff,#bf00ff,#ff00ff,#ff00bf,#ff0080,#ff0040,#ff0000);
      	-webkit-background-clip:  text;
      	-webkit-animation: animate 3s linear infinite;
      	background-size: 500%;
      	color: transparent;
      	
      }
      @-webkit-keyframes animate{
      	0%	{background-position: 0% 500%;}
      	50%	{background-position: 100% 0%;}
      	100%    {background-position: 0% 100%;}
      	}
      
      

      Do you have any idea on how I can make the animation duration way longer like 10 min and still show all the colors in the gradient?

      Thank you for the initial idea and for inspiring me!

      posted in Entertainment
      G
      ganget
    • RE: [MMM-Rainbow] Animated text color transition

      I really like the idea of this module, I’m searching for the possibility to make only my clock have this effect and maybe a gradient kind of color shift. Can you help me with this idea?

      posted in Entertainment
      G
      ganget
    • MMM-Calendar in * amount of days incorrect

      I have some trouble with the MMM-Calendar issue.
      0_1548198677590_MMM-Calendar.jpg
      As you can see “Werken Femke” is twice in 7 days. But these two events are on two different days. I believe this only happens when its after midnight but i’m not sure. How can i fix this issue and make the in * amount of days logic again.

      Thank you in advance for reading and helping me.

      posted in Troubleshooting
      G
      ganget
    • RE: syntax errors

      @egnos As @sdetweil already stated the comma’s are for showing the code that there is more to run after the line. It is no problem to have a extra comma at the end. But if you don’t put a comma the code doesn’t run further and gives you a syntax error. The {} are for making a object in JS, if you don’t close the object with a } you will also get a syntax error.

      posted in Troubleshooting
      G
      ganget
    • 1 / 1