• 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
  1. Home
  2. Captive
  3. Posts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
C
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 1
  • Groups 0

Posts

Recent Best Controversial
  • [Python] Display Recipe with MMM-EasyPix and CUPs

    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.

    posted in Utilities
    C
    Captive
    May 13, 2021, 4:09 AM
  • 1 / 1
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