MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    [Python] Display Recipe with MMM-EasyPix and CUPs

    Utilities
    1
    1
    138
    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
      Captive last edited by

      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
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy