• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

[Python] Display Recipe with MMM-EasyPix and CUPs

Scheduled Pinned Locked Moved Utilities
1 Posts 1 Posters 212 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    Captive
    last edited by May 13, 2021, 4:09 AM

    Hey Everyone!

    Do you want to send images to your Magic Mirror and display them for guests or maybe you want to see that famous chocolate chip cookie recipe displayed in glorious 8000K resolution? Well now you can with my super hacky method of combining MMM-EasyPix and CUPs (Virtual Printer).

    Originally this idea was to try and display recipes on screen. However, there didn’t seem to be an easy way to find a recipe and send it to the MagicMirror (or maybe there is and I can’t find it). My loss is your gain! Now you can easily send not one, not two, but 3 pages to display on your magic mirror at the same.

    This involves the following:

    • Access to contab
    • MMM-EasyPix
    • Setting up CUPS and CUPs-PDF
    • Some slight coding
      *Python 3 (sorry not 2.7)
    • Recipe Filter by Seansoft (chrome extension)

    General how to:

    Print Recipe (or Image) to Raspberry PI via virtual printer. This saves it as PDF.
    Python Script picks up PDF and converts it into an image.
    MMM-EasyPix picks up image from folder and displays it on screen.
    ???
    Profit?

    To get rid of the image you print a done.pdf to the PI and it will remove the images from the screen.

    I don’t have any formal guide put together but if there is enough interest, then I can go ahead and create one.

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      Last post
    Enjoying MagicMirror? Please consider a donation!
    MagicMirror created by Michael Teeuw.
    Forum managed by Sam, technical setup by Karsten.
    This forum is using NodeBB as its core | Contributors
    Contact | Privacy Policy