MagicMirror on 7.5 ePaper Waveshare Display with a Raspberry Pi
The node.js script uses puppeteer (Headless Chrome Node API),
to take a screenshot of the local running MagicMirror site (localhost:808) and saves it.
You can change the size of the screenshot and the MagicMirror port in the
config.js file.
Then the script executes a the eInk Python script from the
ePaperPython folder
and updates the eInk screen.
This is the original Python script from Waveshare.
sudo apt-get update && sudo apt-get install -y git chromium-browser
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g pm2
// Starting PM2 on Boot
pm2 startup
// pm2 start node serveronly
// pm2 save
git clone https://github.com/BenRoe/rpi-magicmirror-eink.git
cd rpi-magicmirror-eink
rpi-magicmirror-eink
folder)npm install
magicmirror-files/css
to your MagicMirror css folder.cp -a magicmirror-files/css/. ~/MagicMirror/css
cp magicmirror-files/config.js ~/MagicMirror/config/
pm2 start index.js --name "eink-update"
pm2 save