recipes
recipes copied to clipboard
Meal plan integration to Home Assistant
Is your feature request related to a problem? Please describe. I'd like to surface the weekly meal plan outside of Tandoor for my family to view
Describe the solution you'd like Homeassistant is a hugely popular open source application with integrations to many many things. Many people use it for dashboarding their entire lives and homes - an integration to Tandoor to show weekly meals would be a very obvious integration that would be handy.
Describe alternatives you've considered Screenshotting the meal plan and putting it as an image
Additional context HACS is a 3rd party community of add-ons for Homeassistant - this would be the perfect place to list a Homeassistant integration. Grocy, todoist, OurGroceries etc have integrations provided via this, e.g. https://community.home-assistant.io/t/home-assistant-community-add-on-grocy/112422
very nice idea. I am pretty sure that there is a home assistant issue open somewhere #354
i myself have a homeassistant instance running and can see some good use cases for integration.
I will leave this open and when i start looking into home assistant collect every idea from all issues.
Note to myself: shopping list management (similar to telegram bot)!
How about the integrating with the native Home Assistant grocery list? https://www.home-assistant.io/integrations/shopping_list/
yes, when integrating with HA we will likely integrate all features possible
Is anyone working on this? I'm wondering if there is a way to update the shopping list on HomeAssistant when the Tandoor shopping list is updated via the API
there are currently no web hooks or similar in tandoor, but you could have a small script periodically sync using the api. I sadly wont really have the time to work on this for a while but feel free to take a look.
@tbhsm
Ok, I've played around with this and managed to get this working. It's very simple in that it simply runs every 30 minutes and pulls the shopping list from tandoor across to home assistant. It also then checks off the items in tandoor.
I've set it up using pyscript (see here) which allows for it to be run as a service so can manually sync at any time through a simple service call. This will need to be saved under
pyscript:
allow_all_imports: true
hass_is_global: true
apps:
tandoor_sync:
tandoor_url: !secret tandoor_url
tandoor_read_token: !secret tandoor_read_token
tandoor_write_token: !secret tandoor_write_token
ha_url: !secret ha_url
ha_token: !secret ha_token
Obviously can make it more complex with two-way sync and checking items match without the quantity etc but this does the job and is simple. Open to suggestions!
Is your feature request related to a problem? Please describe. I'd like to surface the weekly meal plan outside of Tandoor for my family to view
Describe the solution you'd like Homeassistant is a hugely popular open source application with integrations to many many things. Many people use it for dashboarding their entire lives and homes - an integration to Tandoor to show weekly meals would be a very obvious integration that would be handy.
Describe alternatives you've considered Screenshotting the meal plan and putting it as an image
Additional context HACS is a 3rd party community of add-ons for Homeassistant - this would be the perfect place to list a Homeassistant integration. Grocy, todoist, OurGroceries etc have integrations provided via this, e.g. https://community.home-assistant.io/t/home-assistant-community-add-on-grocy/112422
@timdonovanuk Is this something you still want?
I can probably whip up a simple sensor in HA using python / pyscript to surface the meal plan in HA that you could then pop somewhere into lovelace?
Thanks! I'm not actively using Tandoor anymore, but perhaps some other people may find it useful? Might be worth looking at the Mealie HA integration for ideas https://hay-kot.github.io/mealie/documentation/community-guide/home-assistant/
thanks for the feedback on this, will look into it at some point
Is your feature request related to a problem? Please describe. I'd like to surface the weekly meal plan outside of Tandoor for my family to view Describe the solution you'd like Homeassistant is a hugely popular open source application with integrations to many many things. Many people use it for dashboarding their entire lives and homes - an integration to Tandoor to show weekly meals would be a very obvious integration that would be handy. Describe alternatives you've considered Screenshotting the meal plan and putting it as an image Additional context HACS is a 3rd party community of add-ons for Homeassistant - this would be the perfect place to list a Homeassistant integration. Grocy, todoist, OurGroceries etc have integrations provided via this, e.g. https://community.home-assistant.io/t/home-assistant-community-add-on-grocy/112422
@timdonovanuk Is this something you still want?
I can probably whip up a simple sensor in HA using python / pyscript to surface the meal plan in HA that you could then pop somewhere into lovelace?
Wanted to comment on this because I'd find this to be a useful feature.
My primary use case is a "good morning" Lovelace view on my bedroom TV. Sort of a "what to expect today" (weather, traffic, morning appointments... and ideally meals for the day via Tandoor).
In my case, I wouldn't even require it to be clickable, but that would certainly be nice eventually.
I think an option to show all meals for the day and/or next "X number" of meals would be good config options. Picture/thumbnail is a plus, but not necessary.
If you're happy to use pyscript to 'hack' it together, I can work up a little script that will get you that information in a sensor. You can then pull that sensor into your view / card.
If you're happy to use pyscript to 'hack' it together, I can work up a little script that will get you that information in a sensor. You can then pull that sensor into your view / card.
I think that would be great. Thank you