Closed xdweaver closed 1 year ago
Thanks for rising this issue.
What Waveshare display are you using? And what Waveshare package and color schema you have configured in display
and epaper_color
values in config.cfg
.
Thank you for helping me, here is the config.cfg
No need to restart service after changing any of those values ; as this file is loaded per every display refresh/run ; Run the main script with flag --check-config to verify configuration
[Sources]
; The rest of the values in this section regarding GP should be filled as well when enabled.
use_google_photos=0
cred_file=
for further use.
pickle_file=token.pickle
; Multiple allowed - comma separated (e.g. Greece 2020,Tom's 2nd birthday).
album_names=
; The rest of the values in this section regarding local should be filled as well when enabled.
use_local=1
local_path=/home/pi/Pictures
local_subfolders=1
[General]
units=metric
photo_convert_path=.
automatically.
photo_download_name=origphoto
photo_convert_filename=photo.bmp
thumb_photo_convert_filename=photo_thumb.jpg
thumb_photo_download_name=origphoto_thumb.jpg
log_files=logs/ePiframe.log
convert_bin_path=/usr/bin/convert
rrdtool_bin_path=/usr/bin/rrdtool
fbi_bin_path=/usr/bin/fbi
photo_index_file=index
photo_list_file=list
pid_file=pid
time.
interval_mult_file=time
[Display]
display_type=SPI
epaper_type=Waveshare
photo.
Other.
epaper_color=BW+Red
display=epd7in5_V2
clear_display=0
tty=1
; Waveshare producer says it's best to wait min 180s between ; refreshing the display, so keep this value >= 180 ; Average photo preparation time (download + processing) may take up ; to 3 minutes on RasPi Zero so keep in mind that it will take ; some time on reboot.
slide_interval=600
; Users should manually add this DESCRIPTION per photo.
interval_mult=1
; Option interval_mult will not work without this. ; Don't leave it empty as someone can put for example ; year the photo was taken in it's description and it will ; mess it.
interval_mult_hotword=Frame
; Option interval_mult will not work without this.
interval_max_mult=6
photos.
; That will save power and will not update ; photo frame when it's not seen, e.g. at night. ; The values should be between 0:00 and 23:59. ; To change the format see modules/timermanager.py
5:30 in the morning) start_times=5:30,5:30,5:30,5:30,5:30,5:30,5:30
photos.
; That will save power and will not update ; photo frame when it's not seen, e.g. at night. ; The values should be between 0:00 and 23:59. ; To change the format see modules/timermanager.py ; Put - when frame should not stop updating that day and will ; work until start_times - or stop_times next days. ; - here when - same day in start_times will not update frame.
day at 23:30 in the evening stop_times=23:30,23:30,23:30,23:30,23:30,23:30,23:30
display during start times.
control_display_power=1
allow_triggers=1
[Image]
; To add more see modules/convertmanager.py
convert_option=1
display 800x480 V2 image_width=800
display 800x480 V2 image_height=480
grayscale=0
colors_num=
; It can look interesting in frames with dark passe-partout frame.
invert_colors=0
; photo will put blurred original photo underneath - takes more time to process.
background_color=white
auto_orientation=0
horizontal=1
position.
turned=0
rotation=90
adjustment.
auto_gamma=0
auto_level=0
values.
normalize=0
brightness=0
contrast=10
pimoroni_saturation=0.8
[Filtering]
; Photos will be showed randomly once per ; whole collection turn, list will be updated on every run. ; With this option on asc/desc sort has no power.
randomize=0
; All filtering options can be used in the same time (not only separately) ; to narrow number of photos
; To change the format see modules/filteringmanager.py
photos_from=
; To change the format see modules/filteringmanager.py
photos_to=
filtered if set) will be shown. Empty means no limit. ; This will work only with randomize option disabled
no_photos=
; This will work only with randomize option disabled
sorting=none
[Weather]
; The rest of the values in this section should be filled as well when enabled.
show_weather=0
; Get it for free on https://openweathermap.org
apikey=
; Get it here: https://www.maps.ie/coordinates.html
lat=44.919285
; Get it here: https://www.maps.ie/coordinates.html
lon= -123.317047
; One of the values: 0, 1, 2, 3 ; 0 is for left-top corner ; 1 is for right-top corner ; 2 is for left-bottom corner ; 3 is for right-bottom corner
position=0
font=20
; Font stroke will be always in opposite color
font_color=white
[Telegram bot]
; Please restart service after changing any of values in this section ; as bot thread is persistent per token and to not interfere threads ; it's better to re-run it
; The rest of the values in this section should be filled as well when enabled.
use_telebot=0
; Taken from BotFather Telegram Bot after creating new bot
token=
; Set the chat ids (take them from Telegram API) to narrow the chats that can control Telegram bot ; Multiple allowed - comma separated
chat_id=
[Web interface]
; Please restart service after changing any of values in this section ; as webUI thread is persistent per port and host and to not interfere threads ; it's better to re-run it
; The rest of the values in this section should be filled as well when enabled.
use_web=0
web_host=0.0.0.0
web_port=80
show_stats=1
dark_theme=0
I'm using a waveshare 7.5 3 color., Im using epd_7in5b_V2.py
On Wed, Jan 25, 2023 at 10:28 PM Mike Gawi @.***> wrote:
Thanks for rising this issue.
What Waveshare display are you using? And what Waveshare package you have configured in display value in config.cfg.
— Reply to this email directly, view it on GitHub https://github.com/MikeGawi/ePiframe/issues/75#issuecomment-1404607393, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPNU7ZCLTT53CEHQ4GWYU3WUIKP7ANCNFSM6AAAAAAUG4NYU4 . You are receiving this because you authored the thread.Message ID: @.***>
Please set display=epd_7in5b_V2
in config.cfg
as currently you have epd_7in5_V2 BW display specified and let me know about results.
@.***:~/ePiframe $ ./ePiframe.py --test-display
ePiframe - e-Paper Raspberry Pi Photo Frame
2023-01-26 00:55:08 : Verifying configuration...
2023-01-26 00:55:08 : OK!
2023-01-26 00:55:08 : Sending to display...
Traceback (most recent call last):
File "/home/pi/ePiframe/./ePiframe.py", line 909, in
On Thu, Jan 26, 2023 at 12:37 AM Mike Gawi @.***> wrote:
Please set display=epd_7in5b_V2 in config.cfg as currently you have epd_7in5_V2 BW display specified and let me know about results.
— Reply to this email directly, view it on GitHub https://github.com/MikeGawi/ePiframe/issues/75#issuecomment-1404693278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPNU725OWHP7ZKFW2QNA2LWUIZULANCNFSM6AAAAAAUG4NYU4 . You are receiving this because you authored the thread.Message ID: @.***>
I see what I did wrong. I fixed it and it worked!! thank you..
On Thu, Jan 26, 2023 at 12:55 AM Daniel Weaver @.***> wrote:
@.***:~/ePiframe $ ./ePiframe.py --test-display ePiframe - e-Paper Raspberry Pi Photo Frame 2023-01-26 00:55:08 : Verifying configuration... 2023-01-26 00:55:08 : OK! 2023-01-26 00:55:08 : Sending to display... Traceback (most recent call last): File "/home/pi/ePiframe/./ePiframe.py", line 909, in
main() File "/home/pi/ePiframe/./ePiframe.py", line 610, in main test_display(config, logging) File "/home/pi/ePiframe/./ePiframe.py", line 765, in test_display display_manager = DisplayManager(config) File "/home/pi/ePiframe/modules/displaymanager.py", line 42, in init self.display = WaveshareDisplay(config) File "/home/pi/ePiframe/misc/wavesharedisplay.py", line 30, in init__ module = importlib.import_module("waveshare_epd." + self._display) File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File " ", line 1030, in _gcd_import File " ", line 1007, in _find_and_load File " ", line 981, in _find_and_load_unlocked ModuleNotFoundError: No module named 'waveshare_epd.epd7in5b_V2.py'; 'waveshare_epd.epd7in5b_V2' is not a package On Thu, Jan 26, 2023 at 12:37 AM Mike Gawi @.***> wrote:
Please set display=epd_7in5b_V2 in config.cfg as currently you have epd_7in5_V2 BW display specified and let me know about results.
— Reply to this email directly, view it on GitHub https://github.com/MikeGawi/ePiframe/issues/75#issuecomment-1404693278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPNU725OWHP7ZKFW2QNA2LWUIZULANCNFSM6AAAAAAUG4NYU4 . You are receiving this because you authored the thread.Message ID: @.***>
Great! Happy it worked! I will close this issue but don't hesitate to report new ones in the future.
I'm stuck please help me. Everything works great but when I send an image I get this error.