Hey HA friends!
I think there was something similar already created when I just looked it briefly, but I wanted to explore it further and created my first addon to HA.
So basically, I’m a Google fan and I use google assistant in my home for some stuff, one that I use often is to add items to my shopping list. But with HA and have automated notification for when I am in the store etc to grab the list of stuff that I need to buy, and to share with family, I needed something that keep takes the items from my google and sync it with my HA setup.
So I created a simple addon that syncs (one way) from shopping list to the HA shopping list!
What It Does
Reads your Google Keep shopping list (the one Google Assistant writes to)
Grabs any unchecked items
Adds them to Home Assistant’s native
shopping_list
Marks them as checked in Keep so you don’t get duplicates
Runs every few minutes in the background and just works.
What You Need
- Your Google email + password
(used securely viagkeepapi
, no OAuth or app password — just like the official Keep Android app)
** This is more tricky, because you need a “master_password” you can read more how you can get one in the README of the project - A working Home Assistant setup
- A long-lived access token from HA (for calling the shopping list API)
How to Use
- Install the addon via your Home Assistant addon page. Add the repository: GitHub - joshlopes/monomagic: Bucket for all my magic
- Select the Google Keep Sync addon and Install (This will build the docker image)
- Once installed configure your email, password, HA URL, and HA token in the addon config UI
- Start the addon
- Done. It syncs every 5 minutes by default (you can change that too)
No .env
, no hacking, no Google Workspace required — works with your regular Gmail and Google Assistant – But you will need this “master_password” which is a bit annoying to get it, but also not that complex!
Under the Hood
- Powered by
gkeepapi
(Python) - Uses Docker, comes with
Dockerfile
- Simple, readable, and easy to tweak
Again apologies if I re-invented the wheel but needed this for a while – are you using something similar? Let me know please as it might be even better than this and I am happy to replace my setup by anything that is easier than the above
If you liked or have few suggestions, let me know and I can make this even better for everyone
GitHub - joshlopes/monomagic: Bucket for all my magic
EDIT: Screenshot of it running
Cheers!