Automate and track your Shopping List in Home Assistant
VloĆŸit
- Äas pĆidĂĄn 26. 07. 2024
- Home Assistant has a lot of useful but sometimes less known integrations and Shopping List is one of them. If you want simple list to track to-do or shopping list items in Home Assistant and also possibility to easily automate it, this one is definitely for you.
In today's video we will setup Shopping List integration, look on how you can manage it in UI but also how you can use automation to control it. You can also use it to create simple to-do list inside Home Assistant.
00:00 - Intro
00:24 - A brief intro to Shopping List
01:06 - Adding and configuring Shopping List
02:52 - Adding Shopping list Lovelace Card
03:40 - Using shopping list service in automation
06:41 - Automating with HA Zones
09:34 - Some limitations
10:07 - Final thoughts and thanks for the support
Don't forget to give me a thumb up if you liked this video, subscribe if you still haven't and I'll see you next time!
Have fun!
BeardedTinker
____________________________________________________________
𧥠If you would like to support me and this channel, you can JOIN and become channel member on CZcams! đ
czcams.com/users/BeardedTinker...
____________________________________________________________
đŁFollow me on other platformsđŁ
â Twitter: @BeardedTinker
â Discord: / discord
____________________________________________________________
(*) if any, should indicate links that are affiliated links. They don't cost you anything extra but provide small income to get this channel going, and finance future projects I make.
#HomeAssistant #shoppinglist - VÄda a technologie
Very nice tutorial! Commenting for the algorithm and so your video comes up on top :)
Thank you! But I also have to create a new video for this as things have changed. I think there will be some more changes to the Shopping list in next update too đ
@@BeardedTinker It was easy to follow still, except that it's now a "to-do list" within HA
Thanks, very clear and informative channel and videos. Thanks for sharing.
This is great! I was looking at grocy but it was quite complex for what I needed and this scenario is exactly perfect fit.!
Glad it was helpful Oscar!!!
Thanks for the video.
You are welcome Paul! Thanks for watching!!!
Super cool! The first thought I had was: " can it easily be linked to Google Assistant?" or something similar of course. Adding stuff with voice would be really neat. đ Thanks for another nice video.
Some are using Alexa routines. For Google - have no idea on where to start to do that.
But there is 3rd option - Home Assistant Conversation - if you have it enabled, you can click on mic in HA (app for example) and say "Add milk to my shopping list" and it will add it :)
@@BeardedTinker wow, that's neat. Will explore that some more. Thanks for the tip. đđ
@@rvdp Google home already has this
Thanks for the video. Unfortunately the integrated shopping list is quite basic. I am using Our Groceries for years now watching your video mad me look to see if is any integration in HACS for it. Guess what, there is, let's see what can do with it.
Haven't checked HACS for something similar in a while. Thanks for the tip.
Yes - this is very limited and while there were some idea6tp improve it, nothing has been done.
It looks like an easy option to try out to integrate some barcode reader with ESP32 to scan something and add then a respective item to list (toothpaste, toilet paper, milk and bread database should be easy to handle)
I love this idea. Might do it.
Thanks awesome tutorial. Any idea that we can add items to the list via Alexa voice command ?
No, unfortunately no idea. But my next video will be about Home Assistant Speech to text and also custom voice commands. It's far from same, but maybe can help.
I'm showing in example how to use it to add items to list with voice.
Hey, nice tutorial! is there a way for the notifications to trigger only when there are items on the list? It would be annoying to get a notification everytime you go to a shop but the shopping list is empty? Cheers!
Thanks for the comment - easy question, but not really easy to do. There is no easy way to check the list if it's empty or not. You could try to build binary_sensor, using a template to check if there are items there or not. BUT, never tried it.
If you look at exposed entities and services, it is missing general info on state.
Great video, shopping list missing an empty sensor for condition not to send notification when list is empty
Shopping list needs a bit more love from devs. It feels unfinished a bit, but it's still better than nothing.
Great.
Is there any way to add itens via Google Assistant (Voice commands like "add bread to shopping list"?
Thank you.
Miguel
Thank you!
Unfortunately, at this point no. If you try and do that, it would add to Google Assistant shopping list which doesn't sync in Home Assistant.
Hey, thanks for the video. I have a question. I made a very similar notification automation that lets my girlfriend know if I'm at the grocery store and viceversa. However, the grocery store is on my way home and she's been getting notifications every time I pass by it. Is there a way in which I could trigger the notification only when I've been in the designated zone for, say, 30 seconds?
Sure, you can use time - I have few automation that wait for predefined amount of time until they are triggered.
Will copy you example in a bit.
Add just this at the end:
for: 00:05
That way it will trigger if you are in that area for 6 minutes.
@@BeardedTinker Thank you my friend!
I have been using the shopping list integration. I set up a custom Alexa skill to allow the family to add items and it works great. But, I find it really annoying that the integration does not refresh Lovelace cards when an item is added.
It would also be nice if there was a way to tell how many items were on the list so that you could notify yourself at the grocery store only if there were items on the list.
Yes, shopping list needs just a bit more love - there were some ideas on GitHub on how to improve, but they were not implemented.
Did you link Alexa shopping list to HA shopping list? If so how?
No, I don't use Alexa that much - only when Google fails to recognise what I'm saying đ
But not sure even if it is possible out of box
â@@KrispKiwi You can use IFTTT to use Alexa to add item and get shopping list on home assistant updated few seconds later
Hi @BeardedTinker, Since the update to Shopping List to now being ToDo is this still able to work? Even before the update I couldn't get the shopping list to open when I was in the shop zone. The message appeared on my mobile, and upon clicking it, Home Assistant opened but the dashboard that opened was the default, which for family acceptance, was the house lighting dashboard. Hoping you can lead me in the right direction as I appreciate this automation. Howard
I'll redo video on To-Do very soon (next week hopefully) as 2023.12 brings some more updates to it.
Thank you. I will appreciate this very much and am sure there will be others who will also.
@@BeardedTinker In an attempt to assist others I kept '"playing" with my version of the automation and now have it working I believe. I have now put the following in the data section of the action:
clickAction: /todo?entity_id=todo.shopping_list
url: /todo?entity_id=todo.shopping_list
This now opens my shopping list. Not sure if this is the correct way or if there is a better syntax but it works for me.
How do you increase the stock of pods based on you removing the item from your shopping list
There are few ways. I use service - reset, that returns it to original service. Service is called counter.reset
@@BeardedTinker it was the trigger i was battling with but i have figured it out to update the number i used the repeat service an used counter .increment and repeated it the amount of times that there are pods in the package that way if there are 5 pods left and i add a package of 30 the counter reads 35 now
@@BeardedTinker thanks for a great idea i have found it a nice challenge to figure out as a noob
Nice automation, but I am not getting the advantage of receiving the notifications compared to the direct way of seeing the pods in the box when they are getting low.
If there are multiple people in household it's useful as everyone can receive notification and whoeever is near the shop can buy it.
It's also a good philosophical question . It can be good theological question too.
But for this channel it's just what we do - automate stuff đ
@@BeardedTinker I guess it could make sense with a multi people household, but it could happen that few of them go to the shop just to buy the same thing. That aounds as an unessesery time wasting. :D It is nice to learn on these examples, but I often see people are overcoplicate the things just because for the sake of it, even it does not actually help. I guess it is fun, untill it stopps to be. :D
Exactly that đ
I use it for toher stuff - toner for printer, some other stuff that has expire dates or number of uses but can't bee seen (mosquito repellent for example)
Whatâs Grocy?
Grocy is AddOn or independent Docker container used to track seriously your groceries, included are bar code scanning, recipes for meals with items you have etc.
github.com/hassio-addons/addon-grocy
Grocy is AddOn or independent Docker container used to track seriously your groceries, included are bar code scanning, recipes for meals with items you have etc.
github.com/hassio-addons/addon-grocy
Isn't it better to use Grocy?
Depends, for simple task no. For more complex, definitely Grocy is better. But I always joke that I should hire someone to manage Grocy if it would be used in its fullest đ
@@BeardedTinker it's not that bad. It took us a couple of days to initially scan all the products, but after that it only takes 20 mins after each weekly shopping.