Help for use
okp90 opened this issue · comments
Hello,
Sorry for the translation I use google translate.
I have a raspberry pi4 with the latest version of the Magic Mirror.
It works perfectly.
I bought a 7.5inch waveshare eink screen (monochrome, V2, 800 * 400).
I manage to run the waveshare demo code on the screen without worry (python epd_7in5_V2_test.py)
But impossible to have the magic mirror on the eink screen
i @ raspberrypi: ~ / rpi-magicmirror-eink $ pm2 start index.js --name "eink-update"
[PM2] Applying action restartProcessId on app [eink-update] (ids: 0)
[PM2] [eink-update] (0) ✓
[PM2] Process successfully started
┌────┬───────────────────┬─────────┬──────┬────── ──────┬─────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼───────────────────┼─────────┼──────┼────── ──────┼─────────┼──────────┤
│ 0 │ eink-update │ fork │ 219 │ online │ 0% │ 20.7mb │
│ 1 │ index │ fork │ 110 │ stopped │ 0% │ 0b │
└────┴───────────────────┴─────────┴──────┴────── ──────┴─────────┴──────────┘
The eink screen remains desperately white
Can you help me ?
Hello,
Solution provided by Silvio on the site of the author of this project:
Installation supplement for V2 display (resolution 800 × 480):
The following steps are still necessary for the instructions above.
Copy epd7in5_V2.py to "rpi-magicmirror-eink / ePaperPython" (source)
epdconfig.py after "rpi-magicmirror-eink / ePaperPython" - is also in the above-mentioned source
Change the following information in the epd7in5_V2.py file: “from. import epdconfig "to" import epdconfig "(line 32)
in main.py (rpi-magicmirror-eink / ePaperPython) replace line "epd.display_frame (epd.get_frame_buffer (image))" with "epd.display (epd.getbuffer (image))"
in the rpi-magicmirror-eink / ePaperPython / main.py
each "epd7in5" must be replaced with "epd7in5_V2"
Adjust the resolution to 800 × 480 in config.js (folder: rpi-magicmirror-eink)
https://maker-tutorials.com/7-5-eink-epaper-bilderrahmen-magicmirror-display-raspberry-pi-zero-w/
it works.
Thank you all