Nothing written to display #16

Closed
opened 2020-12-23 03:17:22 +01:00 by BenGreenfield825 · 3 comments
BenGreenfield825 commented 2020-12-23 03:17:22 +01:00 (Migrated from github.com)

Program runs successfully and design_exported.png is created, but nothing is rendered to the display. I've confirmed that the display works with the example programs that come from waveshare.

Program runs successfully and design_exported.png is created, but nothing is rendered to the display. I've confirmed that the display works with the example programs that come from waveshare.
mgfcf commented 2020-12-23 11:57:03 +01:00 (Migrated from github.com)

Hey there @Bengemon825 !

Please have a look at the settings.py and make sure that render_to_display = True is set at the bottom of the file.

What display are you using? I only own a tricolor 7.5" display from waveshare (product site).
Can you post the output of the program? You don't have to use supervisor to run the program. You can just execute python3 E-Paper.py in the Calendar directory (or use the same command as supervisor sudo /usr/bin/python3.5 /home/pi/E-Paper-Master/Calendar/E-Paper.py). This should print the output in the console for you to read out. After that, you can stop the execution by pressing CTRL+C. Otherwise you could take a look at the log files (E-Paper.log or E-Paper-err.log in case of errors) that can be found in /home/pi/E-Paper-Master/.

Have a nice day!
Max

Hey there @Bengemon825 ! Please have a look at the settings.py and make sure that `render_to_display = True` is set at the bottom of the file. What display are you using? I only own a tricolor 7.5" display from waveshare ([product site](https://www.waveshare.com/product/7.5inch-e-paper-hat-b.htm)). Can you post the output of the program? You don't have to use supervisor to run the program. You can just execute `python3 E-Paper.py` in the Calendar directory (or use the same command as supervisor `sudo /usr/bin/python3.5 /home/pi/E-Paper-Master/Calendar/E-Paper.py`). This should print the output in the console for you to read out. After that, you can stop the execution by pressing CTRL+C. Otherwise you could take a look at the log files (`E-Paper.log` or `E-Paper-err.log` in case of errors) that can be found in `/home/pi/E-Paper-Master/`. Have a nice day! Max
mgfcf commented 2020-12-23 16:05:15 +01:00 (Migrated from github.com)

Oh, and just as a side note:

Rendering the image to the display takes about 90secs on my setup (Raspberry Pi Zero W). This is due to the conversion of the image to the necessary binary format. So make sure that that you wait long enough. I would say at least 3 minutes. But the command line output gives some insight into that.

Oh, and just as a side note: Rendering the image to the display takes about 90secs on my setup (Raspberry Pi Zero W). This is due to the conversion of the image to the necessary binary format. So make sure that that you wait long enough. I would say at least 3 minutes. But the command line output gives some insight into that.
mgfcf commented 2021-01-23 20:39:23 +01:00 (Migrated from github.com)

Since this issue is already one month old without any activity, I will close it for now. But feel free to reopen it if your issue persists!

Max

Since this issue is already one month old without any activity, I will close it for now. But feel free to reopen it if your issue persists! Max
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: m.giller/E-Paper-Calendar#16
No description provided.