• 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.

Compliments setup

Scheduled Pinned Locked Moved Troubleshooting
14 Posts 4 Posters 8.2k Views 4 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.
  • R Offline
    Richard238
    last edited by Apr 5, 2017, 12:53 PM

    Changing it to remoteFile, as described here, it works.

    Well, only after it’s still displayed all the default messages.

    1 Reply Last reply Reply Quote 0
    • R Offline
      Richard238
      last edited by Apr 5, 2017, 9:39 PM

      Still not picking up different compliments:

      		{
      			module: 'compliments',
      			position: 'lower_third',
                  config: {
      			anytime: [
      				"Hey!"
      			],
      			morning: [
      				"Good morning, handsome!",
      				"Enjoy your day!",
      				"How was your sleep?"
      			],
      			afternoon: [
      				"Hello, beauty!",
      				"You look sexy!",
      				"Looking good today!"
      			],
      			evening: [
      				"Wow!",
      				"You!",
      				"Hi!"
      			]
      		},
      		updateInterval: 30000,
      		remoteFile: null,
      		fadeSpeed: 4000
      			/*config: {
      				remoteFile: 'compliments.json'
      			}*/
      		},  
      
      1 Reply Last reply Reply Quote 0
      • R Offline
        Richard238
        last edited by Apr 6, 2017, 8:55 AM

        Another day, still no change, compliments ignoring whatever is in config.js.

        Thank you.

        1 Reply Last reply Reply Quote 0
        • G Offline
          gshimself
          last edited by gshimself Apr 8, 2017, 8:58 AM Apr 8, 2017, 8:57 AM

          Do you edit the config.js?
          Well… you could be a outlaw and edit the “~/MagicMirror/modules/default/compliments/compliments.js”.
          I’ve done that before and it works. But beware of typos. Make a backup! :)

          R 1 Reply Last reply Apr 8, 2017, 9:40 AM Reply Quote 0
          • R Offline
            Richard238 @gshimself
            last edited by Apr 8, 2017, 9:40 AM

            That’s what I have done now, but it is only a fudge, a workaround.

            What’s the problem with using config.js to make changes to the compliments module, why doesn’t it work?

            G 1 Reply Last reply Apr 8, 2017, 2:08 PM Reply Quote 0
            • G Offline
              gshimself @Richard238
              last edited by Apr 8, 2017, 2:08 PM

              @Richard238 I live with the idea that “if it work, dont ask why”.
              So I can’t explain why config.js dont work.

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 2 / 2
              2 / 2
              • First post
                13/14
                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