Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Users with different grocy API Keys #180

Open
Benny12323 opened this issue Jan 26, 2022 · 3 comments
Open

Multiple Users with different grocy API Keys #180

Benny12323 opened this issue Jan 26, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@Benny12323
Copy link

First of all, thanks for this amazing tool. It works perfectly fine for me. I use it especially for simple chores tracking, which is not that convenient with the Grocy App.
Within this household, we try to keep track of who executed a chore (to avoid discussion about "felt facts"). For this, it would be very helpful if multiple users could access one Barcode Buddy instance, but store their individual Grocy API keys. This way Grocy could correctly record who has executed a task. I can manually create multiple users in Barcode Buddys users.db, but I have not found a way to store different API keys. Is there a way to do this?
So far I'm running one Barcode Buddy instance per user, which is not a scalable solution....

@Forceu Forceu added the enhancement New feature or request label Jan 26, 2022
@Forceu
Copy link
Owner

Forceu commented Jan 26, 2022

Thanks for the issue! At the moment there is no official support for multiple users and right now I don't have enough time to implement it.
If you are using a physical barcode scanner, your best bet would be to modify the script that grabs the barcodes to send API requests to Grocy directly if certain barcodes are scanned (although that would mean printing out a barcode for each user).

@Benny12323
Copy link
Author

Thanks for your quick reply. I will think about a solution again. I had also considered a barcode per user, but since I attach the barcodes directly to the respective task, e.g. in the dishwasher, I quickly reach the limits of the space required.

@Forceu
Copy link
Owner

Forceu commented Jan 27, 2022

Even though it is not properly documented in the Grocy API, it is possible to set the user of the chore, so I might implement this at some point. I cannot give an ETA yet however

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants