New service calls and sensors for shopping list component


#21

Thank you Flovie
Yes that helped me, i have it all working now.
Ran into more problems with gmail thoo, they have beefed up their security and default setting is Not to allow unsecure apps to e-mail. I logged into my gmail and under “security…” there was an option to turn off the setting for unsecure apps.

thanks again


#23

Hi guys.

I would like to add an item to the shopping list with snips but i am getting errors.

  addShoppingListItem:
    action:
      - service: shopping_list.add_item
        data_template:
          name: {{ shopping_item }}

This gives me this error:

Tue Jan 01 2019 15:19:43 GMT+0100 (Mitteleuropäische Normalzeit)

invalid key: "OrderedDict([('shopping_item', None)])"
  in "/home/homeassistant/.homeassistant/intent_script.yaml", line 167, column 0

#24

check line 167 in your file intent_script.yaml
There must be an error there.


#25

Thank you for your answer. line 167 is

name: {{ shopping_item }}


#26

Any ideas to integrate with the google shopping list (home)?


#27

not sure about google home. but i manage to sync the shopping list with alexa shopping list using IFTTT. Whenever Alexa shopping list is updated (i.e. item added or remove), IFTTT will update my HA shopping list via webhook.


#28

“Add” and “Check Off” are now services, but the only way I know of to delete the checked items is to use the Lovelace card.

Would be nice to have a third service, “Delete” to actually remove a shopping list item.


#29

There is several good ideas on this thred.

I would like to get a easyer way to have a inventory list for all my food storages. Eg one for the freezer and a other food storages like the dry cabinets and the fridge.
Now I use google shopping lists: https://shoppinglist.google.com
With google home I can use voice to add items to my primary list and all family members can do the same.
With NFC stickers I can open a spesific inventory list for the cabinet. This could also be done with QR code and camera on the phone (just opens a url).

But for a better user experience it would be good to be able to scan the barcode on my item as I put it in the trashcan, then it would be removed from my inventory list and added to the main shopping list.
Same if I put a new item into the freezer I culd just scan the barcode with the phone and it would update the inventory for the freezer.

So my wishlist for the shopping list is:

  1. The ability to add/remove items with a QR/barcode scanner for a spesific list.
  2. A sensor for lookup the barcode data e.g. from openfoodfacts.org
  3. Integration/syncronisation with my primary google shoppinglist.

#30

You are probably looking for something like https://grocy.info?


#31

Thanks @cgtobi it looks like grocy.info ticks off many of my wishes.
And as it is open source, it will be possible to any thing with time and resources. I will create a account and test:)