-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to use it on normal raspberry screen? without epaper processing #89
Comments
Yes, of course you can. Just check how to set up ePiframe for HDMI display and let me know if you need any assistance. |
yes that works thanks!. app takes pictures from albums in google photos, is it possible to take photos that do not belong to any album? or blacklist an album? |
You can specify album names with album_names setting in config.cfg file (can be multiple, comma separated). Unfortunately there's no album blacklisting. As for randomization check randomize setting in config. |
looks like its working. i created albums, defined in config and it seemed to working. but now i get an error - quota exceeded. is there a limit for google api? |
the error says that it limits to 10 000 requests per day, i have refresh photo set after 5 mins so it should not exceed... |
Yep, it should not exceed. I would wait one day and try as the counter resets every day. If this will happen again please share logs and I will check what's happening. |
ePiframe.log |
Wow, I had no idea this can happen. |
Ahh, I checked and unfortunately Google Photos API allows page size 50 or less, so for now the only way to fix this issue is to create a separate album with less photos and point this one as the source for your frame. But I will think about some better solution as I had no idea this is possible. |
ok. let me know when there is any better solution. Thanks! |
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:
Solution merged to master, please check it (from the dependencies |
i will try, for now i have troubles installing pyarrow on my raspberry pi |
Yep, you're right, it's a harsh process, so I made it easier - no dependencies, no struggle, just update the code and it should be fine now (switched to Pickle format instead of feather). |
cannot make it work now. i installed, activated with google json and get: |
also i noticed, while installing that inky-master should be changed to inky-main |
Try changing token.pickle file access rights/ownership (should be pi:pi).
They must have changed the default branch. Thanks for the hint - I will change this. |
almost worked. see the log in attachement. |
Should be fixed now, please check and let me know. |
is it enough to overwrite changed files in mr or do i have to reinstall and activate again? |
it's fine to just overwrite changed files. |
working. i will test it for couple of days now |
Great to hear that, thank you |
it works. thanks |
Thanks for checking and providing a good feedback! |
is it possible to use it on normal hdmi touchscreen and its not processed for epaper screens?
The text was updated successfully, but these errors were encountered: