grocy icon indicating copy to clipboard operation
grocy copied to clipboard

Feature request: Assistant skills

Open MCHellspawn opened this issue 1 year ago • 6 comments

Hello,

This is a feature request and an offer to help build it. With the new HA Assistant you can now create new intents for assist to work with. It would be great to add assist intents for interacting with Grocy. Working with the shopping lists, adding products, bringing products in and using them, and maybe even recipe and battery support, can't forget chores.

The developer of HA's voice components is the former developer of a self hostable voice assistant called Rhasspy. The new voice stuff added to HA is basically an extension of his version 3 of Rhasspy. I made an almost complete skill for Rhasspy 2.5 that covers almost all of the things I mentioned before. I don't think it would be too much work to combine my skill script with this addon to get full assist and therefore voice control over Grocy. Your thoughts?

MCHellspawn avatar Aug 05 '23 12:08 MCHellspawn

This would be the killer feature, especially for querying information. Being able to ask HA "How much flour do I have left" and get an answer.

clinta avatar Aug 13 '23 17:08 clinta

I'd be willing to help develop this as well. I already started doing some of it with adding general to-do list items to Grocy's task list.

greenmojo2 avatar Aug 13 '23 22:08 greenmojo2

Is there a development on this part? I started doing some work myself, and I got product consumption and stock reporting to work with very simple sentences. I would be willing to contribute if there is a common place for this skill.

alkuzman avatar Sep 30 '23 22:09 alkuzman

I never heard anything from the project team so I wasn't sure how interested they were. My intention was to make the skill part of this addon. I've seen in the HA docs that they have facilities for this in their dev platform. But seems like others are running forward with it anyways. Maybe we can start by working in a common fork of this addon and hope to push it upstream to this one when we are ready.

Also, I have been able to build custom sentences using the user interface side to do some basic stuff like alkuzman mentioned. But I am really hoping to make this a more integrated setup.

MCHellspawn avatar Oct 01 '23 15:10 MCHellspawn

@MCHellspawn please let me know if you start a fork. Just a note, i had to create few additional sensors to support quantity units. I am not sure how much of that is supported in pygrocy, library on which this component depends.

alkuzman avatar Oct 04 '23 12:10 alkuzman

I'd like to bump this feature request and offer my help in implementing it as well. I think some basic voice controls would drastically improve the usability of Grocy for users both seasoned and new. And I selfishly want to be able to verbally ask my Grocy instance for some dinner suggestions.

rapala-b avatar May 08 '24 21:05 rapala-b