mendhak / waveshare-epaper-display

At-a-glance dashboard for Raspberry Pi with a Waveshare ePaper 7.5 Inch HAT. Date/Time, Weather, Alerts, Google/Outlook Calendar
https://code.mendhak.com/raspberrypi-epaper-dashboard/
438 stars 65 forks source link

missing file #40

Closed crazy-raptor closed 1 year ago

crazy-raptor commented 1 year ago

Hi, tried installing the latest version to get the different display version (more entries) but the "lib" folder is empty and when runnign env.sh erro is shown: Traceback (most recent call last): File "/home/pi/waveshare-epaper-display/display.py", line 18, in from waveshare_epd import epd7in5_V2 as epd7in5 ModuleNotFoundError: No module named 'waveshare_epd'

Do i manually copy edp7in5_V2 into the lib folder (whats the best way of doing that through SSH?)

crazy-raptor commented 1 year ago

was able to git clone the e-ink files into lib folder. Calendar doesnt seem to update yet but i'll see about that later

crazy-raptor commented 1 year ago

REgarding the calendar not syncing while it did with an earlier install i am getting this error: 2022-09-10:08:26:39 INFO [screen-calendar-get.py:186] Fetching Google Calendar Events Traceback (most recent call last): File "/home/pi/waveshare-epaper-display/screen-calendar-get.py", line 197, in main() File "/home/pi/waveshare-epaper-display/screen-calendar-get.py", line 187, in main google_events = get_google_events(max_event_results) File "/home/pi/waveshare-epaper-display/screen-calendar-get.py", line 101, in get_google_events service = build('calendar', 'v3', credentials=get_google_credentials(), cache_discovery=False) File "/home/pi/waveshare-epaper-display/screen-calendar-get.py", line 89, in get_google_credentials credentials = flow.run_local_server() File "/usr/local/lib/python3.9/dist-packages/google_auth_oauthlib/flow.py", line 457, in run_local_server local_server = wsgiref.simple_server.make_server( File "/usr/lib/python3.9/wsgiref/simple_server.py", line 154, in make_server server = server_class((host, port), handler_class) File "/usr/lib/python3.9/socketserver.py", line 452, in init self.server_bind() File "/usr/lib/python3.9/wsgiref/simple_server.py", line 50, in server_bind HTTPServer.server_bind(self) File "/usr/lib/python3.9/http/server.py", line 138, in server_bind socketserver.TCPServer.server_bind(self) File "/usr/lib/python3.9/socketserver.py", line 466, in server_bind self.socket.bind(self.server_address) OSError: [Errno 98] Address already in use

mendhak commented 1 year ago

For the first one, did you follow the README command to use --recursive, if you do that then the lib folder would get populated

git clone --recursive https://github.com/mendhak/waveshare-epaper-display.git

For the calendar error, I think what's happening is the Google Authentication workflow is trying to set up a server to listen on locally for completion of the workflow. Address already in use indicates something is already listening on port 8080. If you have something on port 8080 can you kill it while you do the Google Authentication.

If you don't have anything deliberately listening on 8080 then you can do sudo lsof -i:8080 and it should show you the process ID of what's listening on that port to give you a clue. You can kill it. Or just reboot.

crazy-raptor commented 1 year ago

all good , forgot the " " again doing the curl command.

for some reason, the text is very faint after refresh. but maybe this will resovle

configuration 1 = all good configuration 2 = very faint letters configuration 3 = all good

any idea what could be the issue with configuration 2 (which I like as it shows more meetings)

mendhak commented 1 year ago

I'm not sure what you mean by very faint, do you mean it's visible, just thin? If so, that's how that view is, in order to cram as much as possible the fonts need to be non-bold, whereas the other views you will see have bolder fonts, to favor readability. If that isn't it you could post a comparison photo of the good versus faint. Are you using the Waveshare 7.5" screen or something else?

crazy-raptor commented 1 year ago

no the letters are actually quite large but very faint , like a shadow . i’ll take a pic tomorrow

the views 1,3 and 4, letters are full black. view 2 , like sometbing barely transparent is in front of it

Get Outlook for iOShttps://aka.ms/o0ukef


From: mendhak @.> Sent: Saturday, September 10, 2022 8:13:29 PM To: mendhak/waveshare-epaper-display @.> Cc: crazy-raptor @.>; Author @.> Subject: Re: [mendhak/waveshare-epaper-display] missing file (Issue #40)

I'm not sure what you mean by very faint, do you mean it's visible, just thin? If so, that's how that view is, in order to cram as much as possible the fonts need to be non-bold, whereas the other views you will see have bolder fonts, to favor readability. If that isn't it you could post a comparison photo of the good versus faint. Are you using the Waveshare 7.5" screen or something else?

— Reply to this email directly, view it on GitHubhttps://github.com/mendhak/waveshare-epaper-display/issues/40#issuecomment-1242790809, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVEQKL66KKEHKXQCFRR25VLV5TMVTANCNFSM6AAAAAAQJBSHVI. You are receiving this because you authored the thread.Message ID: @.***>

crazy-raptor commented 1 year ago

using wavescreen 7.5 single colour

in the other views the font is much darker , like in your screenshots. only this view has an issue .

On Sat, 10 Sep 2022 at 20:35, Bram H @.***> wrote:

no the letters are actually quite large but very faint , like a shadow . i’ll take a pic tomorrow

the views 1,3 and 4, letters are full black. view 2 , like sometbing barely transparent is in front of it

Get Outlook for iOS https://aka.ms/o0ukef

From: mendhak @.> Sent: Saturday, September 10, 2022 8:13:29 PM To: mendhak/waveshare-epaper-display < @.> Cc: crazy-raptor @.>; Author < @.> Subject: Re: [mendhak/waveshare-epaper-display] missing file (Issue #40)

I'm not sure what you mean by very faint, do you mean it's visible, just thin? If so, that's how that view is, in order to cram as much as possible the fonts need to be non-bold, whereas the other views you will see have bolder fonts, to favor readability. If that isn't it you could post a comparison photo of the good versus faint. Are you using the Waveshare 7.5" screen or something else?

— Reply to this email directly, view it on GitHub https://github.com/mendhak/waveshare-epaper-display/issues/40#issuecomment-1242790809, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVEQKL66KKEHKXQCFRR25VLV5TMVTANCNFSM6AAAAAAQJBSHVI . You are receiving this because you authored the thread.Message ID: @.***>

mendhak commented 1 year ago

I haven't heard back in a while and I don't see any photos so I'll close this, we can reopen if there's still a problem.