Skip to content
madmachinations edited this page Jan 4, 2025 · 6 revisions

Buy Me A Coffee

What is this and how does it work?

This is a custom component for Home Assistant, which allows you to synchronise your Alexa Shopping List with the Home Assistant shopping list.

This works even though they cut off third party access to the shopping lists in Summer 2024

There are three parts:

The Server

This is a small Selenium-based python application, which accesses your alexa shopping list via the Amazon Website. It can read what is on the list, add things to it and remove things from it.

Selenium allows you to essentially remote control a web browser and can browse websites, read content, click buttons, etc.

The server runs on your home assistant device, or a different server on your network.

The Client

In theory, you should rarely need to use the client. You need it to get the server set up. The client is like the remote control for the server.

The client runs on your desktop computer or laptop, so you can talk to the server more easily.

The Custom Component

This is the part you add to your Home Assistant installation. It talks with the server and the two work together to make sure your shopping lists on both HA and Alexa are kept in sync.

Using the shopping list

This component expects you primarily access your shopping list via Home Assistant directly.

Each time it sychronises, it adds everything to your HA list which exists on your alexa list, but not on your HA list.

If an item is ticked-off as "completed" on your HA list, it will be removed from your Alexa list.

If you added anything manually to your HA list, it will be added to your alexa list.

Generally it expects you probably add most things to my alexa list via an echo device with voice commands. Then you just want to read the shopping list in the HA app when you're actually going shopping. Tick stuff off, or add something via the HA app.

Feedback

I would appreciate any help from anyone for testing and further development on various fixes and improvements.

It was a fight to get the damn thing to work, and I don't doubt it will require maintenance.

I have limited time but I will always try to help and accomodate as much as I can.

If you like this thing and it works for you, and you have the means, then please consider buying me a coffee. Which if I'm honest I will definitely spend on beer and pizza. But sure let's call that "coffee".

Buy Me A Coffee

Clone this wiki locally