Comments (2)
The solution is to store downloaded Google Photos API data once a day and then load it when needed. As we have Pandas on board I can use a simple DataFrame dump/load mechanism (Feather format seems to be fast and enough for this). The data will be downloaded at first run every day and then for the rest it will be loaded and reused. The problem is that photos download URLs are expiring but in that case I can refresh it when something like this happens (with two retries). With that refresh requests number will be maximum 2% of the 10k requests limit, leaving the rest for the initial download.
This setting controls this behavior:
https://github.com/MikeGawi/ePiframe/blob/master/config.cfg#L30
always = every frame refresh, once = once a day
from epiframe.
Fixed in #93
from epiframe.
Related Issues (20)
- 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
- cred_file configuration entry path does not exist! HOT 13
- 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
- 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
- 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.
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.