MikeGawi / ePiframe

ePiframe is an e-Paper (or HDMI, Composite display) Raspberry Pi Photo Frame with Google Photos and more
GNU General Public License v3.0
63 stars 10 forks source link

Support for Pimoroni Inky ePaper displays #73

Closed darkrad closed 1 year ago

darkrad commented 1 year ago

Is it possible to add support for the Pimoroni Inky ePaper displays in addition to the Waveshare displays? I was hoping to utilise the Inky Impression to create a ePiframe with. I've come across this project (https://github.com/robweber/omni-epd) that might help with integrating both Inky and Waveshare? But not sure how to go about it =(

MikeGawi commented 1 year ago

Thanks for the idea - it is fantastic! To be honest I am a bit off e-paper displays market as at the time I was creating first versions of ePiframe the Waveshare had almost out-of-the-box ready code with reasonable prices. But life goes on, new stuff appears and these Pimoroni displays are neat! Also thanks for omni-epd link - it's really helpful.

I will implement support for Pimoroni and I will keep You updated about the progress.

MikeGawi commented 1 year ago

Done in version 1.9.0. Additionally support for all Waveshare displays (multicolor too) was added.

Unfortunately I couldn't use Omni-EPD as it has an out-dated list of displays so I went a bit further to not have to keep up with the manufacturers in the future: you can choose between Waveshare and Pimoroni but you must specify display code package name and colors schema. The only problem was with differences in implementation among different displays but I think I had this covered.

Also I need to make sure that my 7 color display issues (ghosting, washed colors, etc.) are related with hardware not the code but will implement fix if needed.

Don't hesitate to report any issue related with Pimoroni display or anything else.

chrisjeyre commented 11 months ago

Hi, great project, I managed to get it working over hdmi in the weekend, now my colour pimoroni impression 7.4 has arrived, all connected and test images work, but moving from hdmi to sli does nothing, I just wondered if I had the display setting correct in the web gui? Should these be default, or specific to the screen/vendor? Thanks in advance

MikeGawi commented 11 months ago

Hi, It's not just switching to SPI, you need to set some additional config variables, i.e. obvious one - _epapertype but also _epapercolor (the color schema of the display: 7 colors, black&white, etc.) and the display which indicates the class of display to use (should be exact with this). Then you should test with --test_display flag using command line and play with the configuration.

If this will still fail - please create an issue (for which ePiframe version and which Pimoroni display) and I will try to solve it or if you feel good with the code - create a PR with the fix - I really appreciate contributions.

chrisjeyre commented 11 months ago

Wow, I found it all by myself, I found the display types in the inky download folders.

Then say your email - thanks for the help 😊.

Running the test script in terminal was really helpful.

The gui is helpful too, but lacks the explanations within the config file, so dual screen is good for cut/paste.

Really happy with it, next step - 3d frame

Then make #2, #3 with office files and battery for family members.

Keep up the great work 👍

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Mike Gawi @.> Sent: Tuesday, July 18, 2023 9:41:13 PM To: MikeGawi/ePiframe @.> Cc: chrisjeyre @.>; Comment @.> Subject: Re: [MikeGawi/ePiframe] Support for Pimoroni Inky ePaper displays (Issue #73)

Hi, It's not just switching to SPI, you need to set some additional config variables, i.e. obvious one - epaper_type but also epaper_color (the color schema of the display: 7 colors, black&white, etc.) and the display which indicates the class of display to use (should be exact with thishttps://github.com/MikeGawi/ePiframe/blob/master/misc/pimoronidisplay.py#L40). Then you should test with --test_display flag using command linehttps://github.com/MikeGawi/ePiframe/blob/master/INSTALL.md#command-line and play with the configuration.

If this will still fail - please create an issue (for which ePiframe version and which Pimoroni display) and I will try to solve it or if you feel good with the code - create a PR with the fix - I really appreciate contributions.

— Reply to this email directly, view it on GitHubhttps://github.com/MikeGawi/ePiframe/issues/73#issuecomment-1640963801, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5L46CUOYR5LODOZ6OFNB7DXQ3YGTANCNFSM6AAAAAATKZZUYM. You are receiving this because you commented.Message ID: @.***>