My tasks works in 2021.9.3
hum, Iām running 2021.9.3 and grocy worked prior to this update.
I uninstalled the grocy integration and reinstalled but now everything states unavailable (previously after HA it was off) both wrong.
It was working prior to the update which I did a few days ago; the latest 2021.8 to 2021.9.3.
Grocy is accessible and works directly.
The API key used by HA now is only noted as used on a HA restart (as seen on Grocy API manage keys)
I guess I will have to look more completely in the HA release notes and see if I missed something.
Ok, updated to 2021.9.4 (when the docker image became available) and now I get grocery stock but still not getting in āGrocy choresā or āGrocy expired productsā both are listed as unavailable.
I did update Grocy to version 3.1.1 prior to HA update and it was working for tasks then (about 3 days before HA update).
I looked at the API and it was not updated as far as I can tell.
Not sure where the disconnect is on chores not being pulled into HA. Iām also not sure why the latest HA release suddenly has most of Grocy integration working now.
The only thing else that may have any impact is that I did to the latest HACS release at the same time of the HA update.
Okā¦
I just restarted HA while typing this for a HACS integration update and now I have Grocy tasks. All Grocy sensor inputs are working now. Something is amiss but Iām not sure what.
Something appears not to be updating when HA restarts. Yet I get nothing in the HA logs and I could see the API key getting used by HA in Grocy.
All is working now, but Iām not sure what the issue actually was.
I use Ha core-2021.9.1 and I installed manually the grocy component addon.
I have grocy installed on another server and I donāt use a port to access it.
I see that this issue hasnāt been resolved yet. Is there any workaround to acces grocy using grocy component without configurion a port?
Depends on your grocy url. The linked issue fixes problems with the url containing a path. If your grocy instance is accessible on https://mygrocyserver.subdomain.com WITHOUT a path you could just use 80 (HTTP) or 443 (HTTPS) for the port
I can not for the life of me get any of the entities to update. I can see the api key last update updating. I have removed the custom component and readded it. Updated grocy to latest version. Still, all the entities still show unavailable. I enabled them right after setting up the integration.
Has anyone seen this where the entities wonāt update?
my settings have
https:// (no trailing slash)
Port: 443
verify SSL: true
no such luck.
Thank!
Yes, see a few post up. For the last few months Grocy is intermittently updating in HA, for me. Others do not see to have this issue. I have updated and restarted Grocy and HA several times and it is sporadic when it works.
do you happen to know what the polling time is to pull the items?
Hey guys,
I am not sure but I think I have the same issues as other people in this thread.
I installed the Hass integration and got grocy up and running and also created an API-Key.
I do however have problems installing the community addon. I installed it via HACS but when I try to add the integration, I always get an error message concerning the grocy API Url.
I found this github issue but I am not sure if this is the same problem I have.
What exactly do I have to do to solve this problem?
Here is my addon config:
culture: de
currency: EUR
entry_page: mealplan
features:
batteries: true
calendar: true
chores: true
equipment: true
recipes: true
shoppinglist: true
stock: true
tasks: true
tweaks:
chores_assignment: true
multiple_shopping_lists: true
stock_best_before_date_tracking: true
stock_location_tracking: true
stock_price_tracking: true
stock_product_freezing: true
stock_product_opened_tracking: true
stock_count_opened_products_against_minimum_stock_amount: true
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem
I have seen there is some issues coming up on github. I donāt have much time to spare for this project right now, so if anyone else can look into it or you can help eachother that is much appreciated!
Just want to let you know I have seen the issues.
Not sure if this is the right place to post. Iām using the Grocy HACS integration and Iāve written a very simple automation to consume one item very day. See the automation yaml below:
alias: Dog Food Tracking
description: ''
trigger:
- platform: time
at: '19:00:00'
condition: []
action:
- service: grocy.consume_product_from_stock
data:
transaction_type: CONSUME
amount: 1
product_id: '76'
mode: single
However, the automation isnāt working and I get the following error message in my logs:
Logger: homeassistant.components.automation.dog_food_tracking
Source: components/automation/__init__.py:512
Integration: Automation (documentation, issues)
First occurred: 9:44:35 PM (1 occurrences)
Last logged: 9:44:35 PM
Error while executing automation automation.dog_food_tracking: expected int for dictionary value @ data['product_id']
Any help or suggestions would be much appreciated, Iām not much of a techie, so assuming Iāve done something wrong in the automation??
You have product_id: '76'
, the '
denotes that itās a string. Try product_id: 76
.
@RosemaryOrchard Great thanks, that seems to have done the trick, although strange as I was using the automation UI which must have automatically put the quotes around the product_id
How can i make a template that find the ID of the product in the list
So if the product is the first in the list i get the number 0 and the fifth thing on the list gives the number 4 and so on
Do you really need the list number in grocy sensor or do you need the product_id?
I deactivated the integration because to prevent errors as long as i couldnt update grocy.
Now i have an current grocy again, but it seems i cant get any sensors to work.
I already removed and added the integration and the lovelacce cards, activated all grocy related things i could find, but no sensors and a lovelace warning, the Custom element grocy-chores-card doesnāt exist.
I am not sure if i missed something to reactivate, some old config is used anywhere or if i have the problem @brunkj and @GlennHA reported.
I use http without ssl and i am able to consume a product using developer tools.
I am thankful for any idea.
Have you tried to manually enable? Something I have noticed alot lately is some stuff wonāt enable if things arenāt what it expects like the shopping list items not having a category or a location or something. I found that in the logs.
yes, but i found an error regarding barcodes.
Am i really the only one using barcodes to scan items or have i something misunderstood???
@ludeeus amazingly stepped in and handled some issues, if one of your issues is now closed - please download the latest beta version to see if itās fixed.
Hey, did you ever get this resolved? I am having the same issue. None of the sensors work anymore.