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

Barcode Buddy not using Quick Consume Amount from Grocy #215

Open
TinkerTob opened this issue May 20, 2023 · 0 comments
Open

Barcode Buddy not using Quick Consume Amount from Grocy #215

TinkerTob opened this issue May 20, 2023 · 0 comments

Comments

@TinkerTob
Copy link

Hi,

I apologize if this is just user error, but I wasn't able to find an answer. I'm not quite sure myself wether this is a cry for help, a bug report or a feature request.

On the product page in grocy, I can set a quick consume amount. Which works perfectly when using the grocy web interface. But I can't get it to work with barcode buddy, and I just can't tell if I'm doing something wrong of if it's just not supported.

Example Scenario:

Flour. Purchase amount is set to kg, stock amount is set to g, conversion factor 1:1000 (obviously).
When I use it, it's usually in multiples of 100 g. So I have set the quick consume to 100 g and just hit it multiple times. Which works perfectly fine in the grocy web interface.
For Barcode Buddy, I have labeled the flour jar with a datamatrix representation of the grocycode, which I scan in BBUDDY-C mode.

Expected Behaviour:

Scanning the grocycode removes 100 g, just like clicking the quick consume button in the web interface.

Actual Behaviour:

Scanning in BBUDDY-C mode consumes either just 1 g (when not using grocys QU) or 1000 g. And as I'm using a grocycode instead of scanning some EAN, I can't set quantity conversions via BBUDDY-Q-.

Conclusion

If I can make Barcode Buddy use the Quick Consume Amount, please tell me how!
Otherwise, I would very much appreciate if this was added. I can see three possible implementations:

  1. Make it the standard for the BBUDDY-C barcode (which could break existing workflows)
  2. Introduce a new setting "Consume Quick Consume amount save in grocy"
  3. Introduce a new Mode: "Quick Consume" (BBUDDY-QC)

I would pretty much prefer Nr 3, as this would break nothing and add a lot of flexibility.

Thank you!

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

No branches or pull requests

1 participant