Comments (13)
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.
from epiframe.
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.
from epiframe.
from epiframe.
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.
from epiframe.
from epiframe.
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
- replace paths
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
it will run again after reboot or
sudo systemctl stop ePiframe.service
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.
from epiframe.
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.
from epiframe.
Closed due to inactivity. Please open new issue if support is still needed.
from epiframe.
Related Issues (20)
- Fail! File was not retrieved! Error: None HOT 2
- ModuleNotFoundError: No module named 'starlette' HOT 2
- Waveshare 13.3 inch ePaper - how setup? HOT 7
- Support for pi5
- Install on pi zero 2 HOT 1
- Python install will fail because of protected python default environment. HOT 3
- TypeError with the latest version of Flask installed HOT 1
- Support for Pimoroni Inky ePaper displays HOT 5
- TypeError: display() takes 2 positional arguments but 3 were given HOT 6
- Can't set background color to black HOT 2
- HDMI Screen with wrong resolution (horizontal black bars) HOT 4
- Unit tests
- 0 Images found from mounted NAS or local .jpg HOT 2
- how to use it on normal raspberry screen? without epaper processing HOT 24
- Telebot error causes ePiframe exception
- Preventing Google Photos API limit from being exceeded HOT 2
- The script will fail if the photo cannot be downloaded HOT 1
- Pimoroni Inky libraries new default branch
- TypeError: Object of type int64 is not JSON serializable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epiframe.