The issue with not being able to complete chores for another user is fixed in Grocy but not yet released. Until then only the user who created the api key that is used for the integration can complete a chore.
I have added an instruction of how to amend the issue in the meantime in the readme.
After useing the Instruction… found out I am user ID no. 2… Have change card to suit and now working… Thanks… P.S is there a way to press the track button in a Automations as an Actions… It’s going to be for an notification to the Android app… I see we can
call service
and use
Grocy: execute_chore
I don’t know what we do after that but sorry not that smart LOL
I have written how you use it in the issue you created for the other thing.
Thanks Teachingbirds
Will post here for anyone looking too…
P.S I will Post my config with how I using my so if anyone think of doing the same.
Use the service call, like this:
service: grocy.execute_chore
data:
chore_id: 1
done_by: 2
Chore id you can get from the entity attributes and done by is your user id.
Hi guys, I’d just like to show you my config as an example of how you can also use Teachingbirds nice track card.
So this is my config… it sends a notification to my phone reminding me to clean the birds room with an action button to send a msg to my vacuum to clean the birds room and to Grocy that the chore has been done.
I would like to add a text to my notification so that it can show if the chore is overdue and by how much - any help with that would be nice thanks. I would also like to know whether it is possible to make a condition on this message to have it only sent to me once per day as sometimes I come and go from home several times and at the moment it resends the msg every time I return home.
1st one sends the msg
id: '1619415409992'
alias: Vacuum birds room when some one is home
description: ''
trigger:
- platform: state
entity_id: device_tracker.aaron_mobile
to: home
condition: []
action:
- service: notify.mobile_app_aaron_mobile
data:
message: Will you like to Vacuum the birds room
title: Welcome Home
data:
actions:
- action: zone_clean_birds_room
title: clean
mode: single
2nd one makes the actions (msg send to vacuum and other msg sent to grocy)
id: '1619417950784'
alias: Vacuum birds room when actions fired
description: ''
trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: zone_clean_birds_room
condition: []
action:
- service: vacuum.send_command
data:
command: zoned_cleanup
params:
zone_ids:
- bef19b22-6045-4182-8737-aa257f46f166
target:
device_id: b91356b24a24c8d14b4eb0198df31d17
- service: grocy.execute_chore
data:
chore_id: 4
done_by: 2
mode: single
Hi all, I wonder if anyone can help please? I am having issues with the Grocy chores custom card.
-
I have Grocy installed as an external container instance in Unraid.
-
I have logged into Grocy and added chores
-
I have installed the Grocy custom component via HACS
-
I have configure the custom component with my API key from Grocy
-
My sensors show up in the Grocy integration and are activated
-
I installed the grocy-chore-card addon via HACS?
-
I installed the card-tools addon via HACS?
When I add a card via the Lovelace UI (using the YAML code editor) I have the correct required options and I have also ensured I have the user_id option related to the username who generated the API.
However I see no preview and when I save I see no card. I also lose the ability to add card in the interface. I then have to remove the entries from the Raw Configuration Editor
In the Raw Configuration Editor my understanding is that it is no longer required to add the resources line here as it appears within the Lovelace Dashboards configuration menu.
The only potential issue I can see is that the instructions refer to /local/grocy-chores-card.js whereas my resources reference /hacsfiles/lovelace-grocy-chores-card/grocy-chores-card.js
If you require any further information, please let me know
Kind Regards
ES
First thing, clear your cache. Then look at what the developer console says. Press F12 and go to Console, before trying to add the card again. You should probably have some red error messages. When you have them, make an issue in the repo.
My Grocy installation worked fine until i updated HA to 2021.5.4 and suddenly all my chores vanished form my card, I could see all the chores in the sensor but was not shown in the card. After some trial and error I find out that if I added the parameter “show_days” and set it to for example “7” every thing worked ok again. So my question is, as this parameter is optional according to the documentation, is it a bug or a hick-up in my system. Loggs are not showing anything.
Best regards
Matz
I have made a pre-release with merged tasks and chores card.
Please try it out!
The config has changed to entity being a list, like this, but should be backwards compatible if you only have chores/tasks. The other config options should still work, but some only affect chores.
- type: custom:grocy-chores-card
entity:
- sensor.grocy_chores
- sensor.grocy_tasks
can we add it as a pre-release on HACS.
Also is there any way to add Tasks or shopping list by google home?
I had the same issue. I had ‘everything’ and then a ‘7 day’ card. Awhile back the ‘everything’ said No Chores, so I changed it to 30 days.
This should be fixed again in the pre-release! Not adding the config choice for show_days should now again result in all items being showed.
It’s there.
good work, yes v3.1 working with tasks…
Can I ask you if you can help me try to make an overdue an actions so I can use it in my notification…
So what you would like is basically an addition to each chore item in the sensor, like this?
chores:
- id: 1
name: Do laundry
description: ''
overdue: true
overdue_days: 4
[...]
There is also binary sensors that indicates if there is any overdue chores or tasks and contains an item list with only overdue items.
@teachingbirds each chore for a sensor would be great if it can be done … … If not how would I use the binary sensors? To make the sensors?
I do not have the time to refactor the integration to make a sensor for each chore, but am open for prs if anyone would have a go at it.
I can try to make an example of a template sensor and post it, when I have the time for that!
Another pre-release of the card up now, it should no longer stop working and take the whole view with it when (either of) the sensors are unknown.
Also I added an option for show_empty, which is true by default, but if set to false will hide the card when it’s empty.