GithubHelp home page GithubHelp logo

Comments (13)

MikeGawi avatar MikeGawi commented on September 2, 2024

There's a config.cfg file property cred_file that points to credentials.json by default. Make sure that the value and credentials filename are right.

from epiframe.

xdweaver avatar xdweaver commented on September 2, 2024

from epiframe.

MikeGawi avatar MikeGawi commented on September 2, 2024

To use Google Photos you need to activate the project, get credentials, etc.
Please refer to documentation.

After the activation you'll get token.pickle and credentials.json files, you need to copy these files to ePiframe device inside installation path and specify cred_file and pickle_file cofiguration properties to point to the credentials.

from epiframe.

xdweaver avatar xdweaver commented on September 2, 2024

from epiframe.

xdweaver avatar xdweaver commented on September 2, 2024

from epiframe.

MikeGawi avatar MikeGawi commented on September 2, 2024

You replace it with the name of the JSON file from Google Cloud platform that was generated during activation. It's credentials.json name by default but it can have any other custom name. But then you need to make sure that this name is exact with the configuration property cred_file value.

So for example your file is: google_credentials_001.json and cred_file=google_credentials_001.json

I don't know if I get your question right but there's no ePiframe default file for Google Photos credentials (credentials.json). You need to generate one yourself, to your Google account + credentials (may be an account created especially for frame), to allow ePiframe connect to it and get the photos. Activation script is the easiest way to get it.

from epiframe.

xdweaver avatar xdweaver commented on September 2, 2024

from epiframe.

xdweaver avatar xdweaver commented on September 2, 2024

from epiframe.

MikeGawi avatar MikeGawi commented on September 2, 2024

how do you get it to run on restart.

There is something called ePiframe service, the installer should automatically set it up but you can do it yoursefl:

  • Install ePiframe service
    • replace paths
      sed 's/EPIEPIEPI/'$(pwd | sed 's_/_\\/_g')'\//g' misc/ePiframe.service.org > ePiframe.service
      
    • enable service
      sudo systemctl enable `pwd`/ePiframe.service
      

After that ePiframe should start automatically with system and should recover after error - it will always work until switched off, i.e.

  • temporary stop service
    sudo systemctl stop ePiframe.service
    
    it will run again after reboot or sudo systemctl start ePiframe.service to run it manually
  • permanently disable service
    sudo systemctl disable ePiframe.service
    

To get more information about service control refer to documentation.

from epiframe.

xdweaver avatar xdweaver commented on September 2, 2024

from epiframe.

MikeGawi avatar MikeGawi commented on September 2, 2024

I had the very same issue with my 7 color Waveshare display and I reported that to support to get a solution. It was the problem with their code and was fixed in the latest Waveshare pull request.

You can update ePiframe Waveshare libraries with the script or just do it faster manually:

cd <path>
rm -r lib/waveshare_epd/
wget -q https://github.com/waveshare/e-Paper/archive/master.zip -O waveshare.zip
unzip -q waveshare.zip
cp -r e-Paper-master/RaspberryPi_JetsonNano/python/lib .
rm -r e-Paper-master/ waveshare.zip
sudo chown -R pi ..

After refreshing the libraries clear the display by setting clear_display flag to 1 in the config.cfg file for one frame refresh and then set it back to 0 as it is not necessarry and takes a lot of time during frame update.

I have to say that I have enjoyed your epiframe immensely

It's great to hear that! Thanks!

from epiframe.

xdweaver avatar xdweaver commented on September 2, 2024

from epiframe.

MikeGawi avatar MikeGawi commented on September 2, 2024

Closed due to inactivity. Please open new issue if support is still needed.

from epiframe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.