MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    custom compliments

    Troubleshooting
    2
    2
    88
    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
      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
        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

        Create a working config
        How to add modules

        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy