• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Defaults always read, not config values

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 3 Posters 1.9k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    bartalluyn
    last edited by Jan 28, 2017, 4:23 PM

    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

    J 1 Reply Last reply Jan 28, 2017, 4:36 PM Reply Quote 0
    • Y Offline
      yawns Moderator
      last edited by Jan 28, 2017, 4:36 PM

      {
      	module: 'MMM-matrixeffect',
      	position: 'lower_third',
      	config: {
      		canvasWidth:400,
      		canvasHeight:400,
      		textPoints:10,
      		fontName:"Courier New",
      		textColor:"#F00",
      		updateSpeed:400
      	}
      },
      
      1 Reply Last reply Reply Quote 1
      • J Offline
        Jopyth Moderator @bartalluyn
        last edited by Jopyth Jan 28, 2017, 4:37 PM Jan 28, 2017, 4:36 PM

        Edit: @yawns was faster.

        Helpful sticky: How to troubleshoot

        1 Reply Last reply Reply Quote 1
        • B Offline
          bartalluyn
          last edited by Jan 28, 2017, 4:51 PM

          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.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy