• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 882 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 Jan 15, 2020, 5:04 AM

    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 Jan 15, 2020, 3:35 PM Reply Quote 0
    • S Away
      sdetweil @bobguehne
      last edited by Jan 15, 2020, 3:35 PM

      @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 Jan 17, 2020, 2:30 AM

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

        S 1 Reply Last reply Jan 17, 2020, 2:32 AM Reply Quote 0
        • S Away
          sdetweil @bobguehne
          last edited by Jan 17, 2020, 2:32 AM

          @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 Jan 27, 2020, 11:34 AM

            Any chance of sharing module?

            B M 2 Replies Last reply Jan 30, 2020, 3:22 AM Reply Quote 0
            • B Offline
              bobguehne @ToastyRoshi
              last edited by Jan 30, 2020, 3:22 AM

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

              1 Reply Last reply Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @ToastyRoshi
                last edited by Jan 30, 2020, 3:58 AM

                @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
                • 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