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.

    pls help: how to force/refresh "External Compliment File"?

    Scheduled Pinned Locked Moved General Discussion
    compliment refresh reloadexternal file
    7 Posts 5 Posters 841 Views 5 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
      rs
      last edited by

      Hello all,

      I have a remote external file for the Compliment module which works very well, however, when the content of the external file changes the Compliment module doesn’t read the made changes only when restarting the mirror, my question is how to force and reload the external file content to the Compliment module without restarting the mirror?

      Thanks much in advance!
      Ram

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @rs
        last edited by

        @rs the default compliments module only reads the file at mm startup.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rs @sdetweil
          last edited by

          @sdetweil said in pls help: how to force/refresh "External Compliment File"?:

          @rs the default compliments module only reads the file at mm startup.

          thank you for your reply!

          well, that’s a bummer…

          swvalentiS R 2 Replies Last reply Reply Quote 0
          • swvalentiS Offline
            swvalenti Project Sponsor @rs
            last edited by

            @rs to jump onto this I can’t get a remote file to work, how did you use yours?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @swvalenti
              last edited by sdetweil

              @swvalenti see

              sorry, meant this one

              https://forum.magicmirror.builders/topic/6757/need-more-compliments-compliments-json/13?_=1632064035771

              well, both

              https://forum.magicmirror.builders/topic/6757/need-more-compliments-compliments-json/14?_=1632064035783

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • R Offline
                rs @rs
                last edited by rs

                @swvalenti

                {
                			module: "compliments",
                			position: "middle_center",
                			config: { 
                				remoteFile: 'https://dl.dropbox.com/s/XXXXXXXXXXXX/mirror_messages.json'	}
                		},
                
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @rs
                  last edited by sdetweil

                  @rs for dropbox u need the shared link ( as no user is logged on to dropbox) and u need dl=1 (instead of 0) to enable direct download

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 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