Integrate Grocy into homeasisstant

I recently found out that home-assistant supports grocy. However I noticed that you can only integrate grocy when it’s installed as a module in home-assistant.

I don’t really like that to be the case first off I’m already running grocy on a seperate system. Second I don’t like everything to be integrated on one system. Because if that breaks everything is broken. However I do want them to work together.

So how do I integrate grocy which is hosted on a different system to work with home-assistant? From my understanding this is possible however I can’t find anywhere how this is accomplished.

I am not using grocy but quick check on github page shows only running the addon inside home assistant supervised but does not mention anything about integration.

What exactly are you expecting from integration and grocy?

I assume you’re referring to the grocy addon? Pretty sure all that does is run grocy as a docker container and add a panel for it in the left side nav. If that’s what you’re looking for out of your separately hosted grocy instance then use panel iframe.

No, I want a separate instance. I don’t need to be able to control it from home assistant. I just want to be able to do events from home assistant like for example low on something. Or automatically add something to a shopping list.

There is a custom component available in HACS that can be used with either the add-on or a seperate instance. You can find the list of services it can perform on the component’s github. There is also a custom dashboard card for chores and tasks.

Well to be able to get statistics, and possible make/automate grocery list or something. Like being able to integrate zones when you enter this zone notify a user that they should bring this. Geo fence warnings, maybe grocy can do this on it’s own not sure.

But in short to automate.

This made me beleve it was possible. https://github.com/custom-components/grocy#integration-configuration

In particular “If you have configured an external Grocy instance and not sure, use port 80 for http or port 443 for https. Unless you have set a custom port for Grocy.”

According to the link you provided it should be possible as it mentions external installation more than once and you have the option to provide the ip and port of your instance

Did you add the hacs integration?

Yes but there’s no such option.

It should. Per the screenshot on the doc, you could plug in IP and port and API key.

And have you followed the instructions per the doc?

If you still have problems, you probably would like to open issues at GitHub so that the author or people there could help.

Looking for a bit more sophistication on top ot ‘shopping list’ I examined a few options that donot necessairy require external stuff. One of them Grocy.
Already daunted by their demo pages, I tried a local install but for the life of me, I cannot imagine that someone daily goes through all the effort to keep its inventory updated.
Donto get me wrong, highly impressed by all the options… just scared stiff on the possible admin effort
Am I missing something ? Is my household of 4 just too small?
Any experience highly appreciated

I’m not sure I understand your question.

Agreed it is not too clear…
For my daily groceries I use the HA-default ‘shopping list’ and albeit pretty OK, it has limitations as it si is really (!) simple
Grocy on the other hand seems to explode in complexity, one has to prepare lots of base data on a precise manner … just to ‘order’ something…not evening thinking on keeping inventory up to date.
I am just interested in who made Grocy work on a larger scale

I have Grocy installed in a separate docker container running along side my HA container on the same host. I run HA Container. HA Supervised (with add-ons) is basically HA container and each add-on is a separate container, then supervisor is the manager of all those containers. Anyway, once you install the Grocy integration from HACS and you have your separate Grocy container or install running, you just put in the requisite IP, port, credentials, API key, etc and the integration in HA will work with an external install of Grocy.

I have not been able to find that place to configure that.

do you have the yaml configuration for that maybe I can add it manually

The Grocy component does not use YAML. It is configured via the front end once the integration is installed from HACS. Read here: https://github.com/custom-components/grocy#instructions-for-both-installation-methods

Did you get this working? I dont see these options in the front end of grocy instance in HA? I only see the option for the port.
grocy/grocy-integration-config.png at master · custom-components/grocy · GitHub

No I can’t get a remote instance of grocy to work with homeassistant.

To be honest I haven’t explored it further, … I don’t see an option for anything just to configure it locally integrated with homeassistant and I’ve got no interest in using it in that matter …

As homeassistant has proven to me over and over again, that it isn’t a stable piece of software so I don’t want everything to run on it.