Thanks! This how I wanted it. Does it work for binary sensors also? I have no products (almost) overdue, so I cannot test it or I have to fake a product.
At least you can enable your entitites. Mine dont even show up. just shows cpu usage, memory, version, and if its running or not.
It never shows the actual chore or shopping entitites.
Doesnt matter what I change in the config file either. True, False, Makes no difference the entities and sensors never appear to enable.
Must be doing something wrong.
You are looking at the addon device, not the integration.
HI all,
i did install the Homeassistant Grocy addon and the hacks add-on
when i go into integrations and want to add Grocy (to see the entities) it wont start and throw an error.
Error
Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble
//UPDATE
Installed last beta fixed that problem
i have exactly the same error, did you got a way to fix this ?
regards
Does anyone have grocy running in docker and syncing with HA?
Iâve looked up all the documentation i can find on the subject but i just cant get HA to see what is in the grocy docker database.
Any help with this would be greatly appreciated
I have grocy and HA running in docker and both talking. Do you have them on the same docker network?
Hi, since grocy 4.0.0 has some breaking changes with the API, is it save to update grocy to 4.0.0 or will the custom component break?
My instance automatically updated and Iâm unable to pull products due to the breaking changes with quantity units. Anyone know how to fix (outside of rolling back grocy)?
Which version of the custom component do you use? Did you try beta releases?
I have been searching and reading away and I finally feel like I need to ask here: how does one âmanually enable the entities you want to use in Home Assistantâ?
I have:
- Gone to Settings->devices & Services->Entities tab->Show Disabled Entities checkbox and I can not find anything.
- Checked everywhere in the Devices entry for Grocy integration
- Confirmed all features enabled in the addon config
- Looked through .storage/core.entity_registry and core.config&entities
Am I doing something wrong or do I have a bug?
I had trouble with the wizard loading so the HACS custom integration is on v4.10.0 (rolling back to v4.8.0 broke a few integrations so I went back to 4.10.0 again) but Grocy addon is on 0.19.1 and Grocy itself is 3.3.2. I am also using Nabu Casa Cloud so itâs all internal, if that matters.
Thanks!
Is the integration showing as working in âIntegrationsâ? I had an issue since the Grocy 4.0 API update as pygrocy does not currently conform. Even though my Grocy is running as 3.3.2, the issues were still present. I got around it by changing the ârequirementsâ part of the âmanifest.jsonâ to point towards the newest branch of pygrocy.
Yes, this is what I see:
I will see if I can do the same thing in the manifest but if you can share the instructions that would be great!
EDIT: My manifest file for Grocy already has pygrocy==1.5.0 within it
Apologies, I wasnât so clear - the issue is with Pygrocy 1.5.0. If you point your ârequirementsâ towards the git branch as in this link you may find it works again!
Hi, pygrocy is now updated to conform to Grocy 4.0 and integration updated accordingly.
I donât have much time for the integration but am trying to look at prs as soon as I can when they are made.
Thank you !! I unfortunately updated my iPhone app, and itâs unusable because of versionâŠ
HmmâŠIâm having a really tough time figuring this out.
I installed Grocy in a docker container (Version 4.0.2) on my Unraid host. Itâs listening on 9192. When I visit http://192.168.1.140:9192 I get the Grocy UI as expected.
I created a new API key, then used Postman to test out http://192.168.1.140:9192/api/system/info
with the Authorization key GROCY-API-KEY
and the value set to my new API Key. No problems. It returns:
{
"grocy_version": {
"Version": "4.0.2",
"ReleaseDate": "2023-08-19"
},
"php_version": "8.2.8",
"sqlite_version": "3.41.2",
"os": "Linux 5.19.14-Unraid #1 SMP PREEMPT_DYNAMIC Thu Oct 6 09:15:00 PDT 2022 x86_64",
"client": "PostmanRuntime/7.32.3"
}
So I know itâs working.
In Home Assistant, I did NOT install the Grocy Add-on. I did use HACS to download the latest version 4.11.1 (even with Beta Versions turned on, this is the most recent available version.)
When I visit Settings --> Devices & Services
I click Add Integration
and search for Grocy. There is one option which points to https://github.com/custom-components/grocy
.
When I enter the information, including the API Key, I get what you see in the 2nd image:
No combination of URL, port settings, etc., has remedied this issue.
Behind the scenes in the HA system log I see:
2023-08-31 19:30:09.927 ERROR (MainThread) [custom_components.grocy.config_flow] ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Behind the scenes in the Grocy container error.log there is nothing, but in the access.log I get:
192.168.1.101 - - [31/Aug/2023:19:30:09 -0700] "GET /api/system/info HTTP/1.1" 499 0 "-" "python-requests/2.31.0"
This shows that HA is attempting to contact Grocy, but thatâs all I know.
What would be causing this and how can I fix it?
Hello, instead of automatically populate HA with sensors for each product, can it simply give a list of x atributes (name of products) with expiring date? a card maybe?
My wish is to get to the fridge and have a tts telling me âtoday you have x products expiring, and tomorow yâ. and then i would open the list onscreen.
Is it possible, with the custom component and/or the chores/task card, to run automations based on chores being completed? I can run an automation that calls a service that tracks a chore, but I want to take an action based on the chore being completed.
For example, change the color of a light when a chore is completed.
When you click the chore card a service call event is posted to the event bus, so you can use an Event trigger to fire your automation, you will need the chore ID.
trigger:
- platform: event
event_type: call_service
event_data:
domain: grocy
service: execute_chore
service_data:
chore_id: 8
However this will not fire if the chore is checked off from within grocy. For that, you would need to monitor the chores sensor(s).