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.

    custom compliments

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 2 Posters 289 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.
    • E Offline
      evansmb
      last edited by

      I’m working on customizing the the compliments module. The Raspberry pi is configured to load a MyCloud directory on boot. I’m attempting to store the custom compliments files on the MyCloud directly. If i configure the compliments module for a local file, like “./quotes.json”, it works perfectly. However if i configure the module to pull the file from the cloud, like “/home/pi/MyCloud/MagicMirror/quotes.json”, the module fails to load the file. the cloud is mounted when the mirror is started and I’ve verified all correct path. Would anyone have any ideas on why one will load but the other will not?

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

        @evansmb if the file is ‘remote’ you MUST use http://

        if u want to pull it from a ‘file’, that is on a cloud .‘drive’ then the file MUST be in the
        compliments folder… u can link to the remote of course…

        so the choices are

        file 
           in the compliments folder (or a symlink from teh compliments folder to the real source)
        

        or

        remotefile,
            requires http://someserver/somefile
        

        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