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.

    Help on reading in a text file from a Google Drive

    Scheduled Pinned Locked Moved Development
    7 Posts 4 Posters 1.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.
    • B Offline
      bobguehne
      last edited by

      Trying to write a module that will display my recipes that I have stored on my google drive. I have a Categories Text file and then a folder for each category of recipe. Reading in the Categories text file has proven difficult. Any help or examples? How do you specify a local path for XMLHttpRequest? Is that the right way to go? My gdrive is mounted at /home/pi/mnt/gdrive. Any help is appreciated.

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

        @bobguehne the local mm web server starts at ~/MagicMirror

        You cannot see local files outside this path

        Make a link to that mount in your module folder, using the ln command

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • B Offline
          bobguehne
          last edited by

          Hey! Thank you so, so, so much! FINALLY got it working! Yay! On to the next problem…

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

            @bobguehne cool. Have fun!

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • T Offline
              ToastyRoshi
              last edited by

              Any chance of sharing module?

              B Mykle1M 2 Replies Last reply Reply Quote 0
              • B Offline
                bobguehne @ToastyRoshi
                last edited by

                @ToastyRoshi Maybe when it’s done. I have a long way to go.

                1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @ToastyRoshi
                  last edited by

                  @ToastyRoshi said in Help on reading in a text file from a Google Drive:

                  Any chance of sharing module?

                  While you’re waiting you can check this one out. I think it’s fantastic.

                  https://github.com/cowboysdude/MMM-Recipe

                  Create a working config
                  How to add modules

                  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