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.

    Remote File Compliments not working and MM hangs

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 666 Views 2 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.
    • A Offline
      askmahesh
      last edited by

      I added the following to the modules section in config.js for remoteFile compliments, but it does not seem to work.

      I looked at the forum and users have mentioned to place the compliments.json in modules folder. I thought we should not change or place anything in the modules/default folder as it might be overwritten on upgrade.

                          module: "compliments",
                          position: "bottom_bar",
                          config: {
                           remoteFile: "~/MagicMirror/config/compliments.json"
                          }
                       
      

      This is my compliments.json

      {
          "anytime" : [
              "Stay Safe"
          ],
          "morning" : [
              "Good morning"
          ],
          "afternoon" : [
             "Good afternoon"
          ],
          "evening" : [
              "Good evening"
          ]
      }
      
      
      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @askmahesh
        last edited by sdetweil

        @askmahesh the embedded server will not see any files below the modules folder, they they need to go into a module folder.

        don’t change anything, but u can add to the folder

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • A Offline
          askmahesh
          last edited by

          Thanks. That worked.

          1 Reply Last reply Reply Quote 0

          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
          • 1 / 1
          • First post
            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