It’s an all-too-familiar scene: you’re whipping up a grilled chicken for dinner when you realize you’re out of olive oil again. Coincidentally, this happens only a day after you’ve made your regular grocery store trip. Now, you have to head back just for that one thing you forgot to write on your shopping list. To avoid this kind of inconvenience in the future, you need a grocery list maker in your kitchen.

This DIY project does this by adding grocery items to a Trello shopping list that you can easily access on demand. Whenever you run out of an ingredient, simply scan the item’s barcode with the scanner connected to the Raspberry Pi. The Pi will then look up the barcode on a custom-made database (that you can modify to include your own items). If it’s in the database, the product’s name is directly added to the list. If it’s a new item, its barcode will be added as a placeholder instead. You can edit the entry on Trello to inform the system what the product is. Doing so will also automatically update the database to recognize the item in future scans.

The entire system runs on a web server developed with Flask and CSS. It’s displayed on Google Chrome, which automatically starts upon bootup. Aside from the shopping list, which you’ll see is updated in real-time, the web server also displays the date and time, today’s weather, the next three days’ forecast, your Google Calendar complete with events, and a Trello to-do list.

Source link