Read the statement by Michael Teeuw here.
Defaults always read, not config values
-
Hi,
I’m facing a problem where, in my code, the module doesn’t read the config file somehow. Below is my configuration in config.js. I don’t see something wrong.
{ module: 'MMM-matrixeffect', position: 'lower_third', canvasWidth:400, canvasHeight:400, textPoints:10, fontName:"Courier New", textColor:"#F00", updateSpeed:400 },I check the contents of the config with this. When watching this, it’s always the default.
Log.info(this.config);any one an idea?
thanks
-
{ module: 'MMM-matrixeffect', position: 'lower_third', config: { canvasWidth:400, canvasHeight:400, textPoints:10, fontName:"Courier New", textColor:"#F00", updateSpeed:400 } }, -
Edit: @yawns was faster.
-
Thank you kindly for the quick reply.
I had a feeling it was going to be quite a simple solution. :-)I’m just a noob getting the hang of things more and more.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login