Automate and track your Shopping List in Home Assistant

SdĂ­let
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

Komentáƙe • 53

  • @ahwx
    @ahwx Pƙed 8 měsĂ­ci +2

    Very nice tutorial! Commenting for the algorithm and so your video comes up on top :)

    • @BeardedTinker
      @BeardedTinker  Pƙed 8 měsĂ­ci

      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 😉

    • @ahwx
      @ahwx Pƙed 8 měsĂ­ci +1

      @@BeardedTinker It was easy to follow still, except that it's now a "to-do list" within HA

  • @edwardvanhazendonk
    @edwardvanhazendonk Pƙed 2 lety +1

    Thanks, very clear and informative channel and videos. Thanks for sharing.

  • @OscarHanzely
    @OscarHanzely Pƙed 2 lety +1

    This is great! I was looking at grocy but it was quite complex for what I needed and this scenario is exactly perfect fit.!

  • @paulpringle6441
    @paulpringle6441 Pƙed rokem +1

    Thanks for the video.

    • @BeardedTinker
      @BeardedTinker  Pƙed rokem

      You are welcome Paul! Thanks for watching!!!

  • @rvdp
    @rvdp Pƙed 2 lety +2

    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.

    • @BeardedTinker
      @BeardedTinker  Pƙed 2 lety +1

      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 :)

    • @rvdp
      @rvdp Pƙed 2 lety +1

      @@BeardedTinker wow, that's neat. Will explore that some more. Thanks for the tip. 😎👍

    • @black11189
      @black11189 Pƙed 2 lety +2

      @@rvdp Google home already has this

  • @adifoto6362
    @adifoto6362 Pƙed 2 lety +2

    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.

    • @BeardedTinker
      @BeardedTinker  Pƙed 2 lety +1

      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.

  • @andresaksalu5189
    @andresaksalu5189 Pƙed 2 lety +2

    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)

  • @hamhumtube
    @hamhumtube Pƙed 2 lety +1

    Thanks awesome tutorial. Any idea that we can add items to the list via Alexa voice command ?

    • @BeardedTinker
      @BeardedTinker  Pƙed 2 lety

      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.

  • @01sparco
    @01sparco Pƙed rokem +1

    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!

    • @BeardedTinker
      @BeardedTinker  Pƙed rokem

      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.

  • @patrickfortin7095
    @patrickfortin7095 Pƙed 2 lety +1

    Great video, shopping list missing an empty sensor for condition not to send notification when list is empty

    • @BeardedTinker
      @BeardedTinker  Pƙed 2 lety +1

      Shopping list needs a bit more love from devs. It feels unfinished a bit, but it's still better than nothing.

  • @mikegodin23
    @mikegodin23 Pƙed 2 lety +1

    Great.
    Is there any way to add itens via Google Assistant (Voice commands like "add bread to shopping list"?
    Thank you.
    Miguel

    • @BeardedTinker
      @BeardedTinker  Pƙed 2 lety

      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.

  • @antoniopena9897
    @antoniopena9897 Pƙed 2 lety +1

    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?

    • @BeardedTinker
      @BeardedTinker  Pƙed 2 lety +1

      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.

    • @antoniopena9897
      @antoniopena9897 Pƙed 2 lety +1

      @@BeardedTinker Thank you my friend!

  • @ScottReston
    @ScottReston Pƙed 2 lety +2

    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.

    • @BeardedTinker
      @BeardedTinker  Pƙed 2 lety

      Yes, shopping list needs just a bit more love - there were some ideas on GitHub on how to improve, but they were not implemented.

    • @KrispKiwi
      @KrispKiwi Pƙed 2 lety +1

      Did you link Alexa shopping list to HA shopping list? If so how?

    • @BeardedTinker
      @BeardedTinker  Pƙed 2 lety

      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

    • @benjaminfalque8625
      @benjaminfalque8625 Pƙed rokem

      ​@@KrispKiwi You can use IFTTT to use Alexa to add item and get shopping list on home assistant updated few seconds later

  • @Howie55Aus
    @Howie55Aus Pƙed 7 měsĂ­ci +1

    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

    • @BeardedTinker
      @BeardedTinker  Pƙed 7 měsĂ­ci +1

      I'll redo video on To-Do very soon (next week hopefully) as 2023.12 brings some more updates to it.

    • @Howie55Aus
      @Howie55Aus Pƙed 7 měsĂ­ci

      Thank you. I will appreciate this very much and am sure there will be others who will also.

    • @Howie55Aus
      @Howie55Aus Pƙed 7 měsĂ­ci

      @@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.

  • @jonomcglashan
    @jonomcglashan Pƙed rokem +1

    How do you increase the stock of pods based on you removing the item from your shopping list

    • @BeardedTinker
      @BeardedTinker  Pƙed rokem

      There are few ways. I use service - reset, that returns it to original service. Service is called counter.reset

    • @jonomcglashan
      @jonomcglashan Pƙed rokem +1

      @@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

    • @jonomcglashan
      @jonomcglashan Pƙed rokem +1

      @@BeardedTinker thanks for a great idea i have found it a nice challenge to figure out as a noob

  • @fibranijevidra
    @fibranijevidra Pƙed 2 lety +1

    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.

    • @BeardedTinker
      @BeardedTinker  Pƙed 2 lety +1

      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 😂

    • @fibranijevidra
      @fibranijevidra Pƙed 2 lety +1

      @@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

    • @BeardedTinker
      @BeardedTinker  Pƙed 2 lety

      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)

  • @sonicloud3149
    @sonicloud3149 Pƙed rokem +1

    What’s Grocy?

    • @BeardedTinker
      @BeardedTinker  Pƙed rokem

      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

    • @BeardedTinker
      @BeardedTinker  Pƙed rokem

      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

  • @dinth
    @dinth Pƙed 2 lety +1

    Isn't it better to use Grocy?

    • @BeardedTinker
      @BeardedTinker  Pƙed 2 lety +1

      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 😂

    • @dinth
      @dinth Pƙed 2 lety

      @@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.