Raspberry Pi Shopping List Printer - Update

Raspberry Pi Shopping List Printer - Update

I decided to update the shopping list code. Instead of downloading the shopping list every so often in a seperate python file I just downloaded it in the same file.

I also added a second button, which prints a random list.

AND I've updated it all to Python3!

Here's the updated code. I've hidden the URL to my website - you don't want my shopping list!
https://github.com/Lorrainbow/thermal-printer/blob/master/doprinterstuff2.py

This is what the JSON looks like from the website:
printer_json

I created a clear acryllic box for the printer and buttons to stay in.
printerboxphoto

Here are the laser cut files for the printer and 2 mini arcade buttons

The printer now runs on the same power supply and Raspberry Pi as the stair lights.

Project finished!

Related Article