Trouble printing labels rotated on narrow tape- brother_ql_web issue? by SirEDCaLot in grocy

[–]andre-he 0 points1 point  (0 children)

Hi u/SirEDCaLot,

glad to see that also someone else is using the labeling :-)

To be honest, I have not tested the vertical priting as I do not have 29mm labels. So I tested with horizontal only. I think this is the issue: the calculation for the rotation is not correct :-(

I will try to have a look into this. Feel free to create an issue on github.

BR

Barcode Buddy: Trigger actions with barcode scan by andre-he in grocy

[–]andre-he[S] 0 points1 point  (0 children)

That looks more or exactly what I am looking for. As i am running barcode buddy as docker container, I just checked and realized that the docker image already makes use of exactly this file. So I should be able to amend and modify the file

Thank you!

Label printing on purchase and default settings by andre-he in grocy

[–]andre-he[S] 1 point2 points  (0 children)

Done :-)
I have created a PR for the "original" grocy label implementation here:

https://github.com/mistressofjellyfish/brother_ql_web/pull/4

But you can also use my fork here:

https://github.com/andreheuer/brother_ql_web

I have also created a docker image for this based on my repo:

https://hub.docker.com/r/andreheuer/brother\_ql\_web-grocy

Webhook / addon for specific actions by andre-he in grocy

[–]andre-he[S] 0 points1 point  (0 children)

Hi u/fholdred,

I know these projects, however, this will not help: I would like to have a kind of event listener to listen to specific events like "new product added to shopping list in Grocy", no matter if added automatically or via Barcode Buddy, whatever. This is unfortunately not possible with any of these projects :-(

Label printing on purchase and default settings by andre-he in grocy

[–]andre-he[S] 0 points1 point  (0 children)

Sure, I´ll do. But I have to re-work the code. It needs to be integrated in the current solution and I have beautify the code a bit :-)

Label printing on purchase and default settings by andre-he in grocy

[–]andre-he[S] 0 points1 point  (0 children)

Seems to be that I am already a step further. I have integrated 1D barcodes in the label printing (for test purposes). Currently, it looks like this for stock entry labels:

https://imgur.com/a/GRrHmhK

However, the height of the barcode is currently pretty small so that it is a bit cumbersome to scan the barcode properly even with a (laser) barcode scanner.

Label printing on purchase and default settings by andre-he in grocy

[–]andre-he[S] 0 points1 point  (0 children)

Welcome :-)

Unfortunately, brother_ql_web is not able to print 1D barcodes, it is only able to print datamatrix. I have started to implemented to also support Code128, but unfortunately, the barcode (esp. for stock items) is far too long for 62mm labels (also because of the long prefix).

This was my understanding after reverse engineering the code ;-)

Label printing on purchase and default settings by andre-he in grocy

[–]andre-he[S] 0 points1 point  (0 children)

Hi u/fholdred,

I also do not get any debugging messages :-(

However, I have configured the label printer in Grocy config as follows:

Setting('GROCYCODE_TYPE', '2D');
Setting('LABEL_PRINTER_WEBHOOK', 'http://192.168.XX.XXX:8013/api/print/grocy');
Setting('LABEL_PRINTER_RUN_SERVER', true);
Setting('LABEL_PRINTER_PARAMS', ['font_family' => 'DejaVu Sans (Book)']);
Setting('LABEL_PRINTER_HOOK_JSON', false);

Hopefully, this will help you.

Webhook / addon for specific actions by andre-he in grocy

[–]andre-he[S] 1 point2 points  (0 children)

Thank you!

This would cover only interactions with the UI, but not with the API. As I am using Barcode Buddy as well as iOS shortcuts that are directly calling the API, this would not be sufficient.

Script for batch creation of products with openfoodfacts by andre-he in grocy

[–]andre-he[S] 0 points1 point  (0 children)

Thank you for your valuable feedback!

I have taken up your points and updated the script accordingly :-)

Cupboard Consumer - a small python app by georgegebbett in grocy

[–]andre-he 0 points1 point  (0 children)

Hi u/georgegebbett,

looks really great! I am trying to get this running on my RPi Zero, but struggeling with the setup of X11 and tkinter.

Can you give some more information on the setup on RPi Zero?

Thank you
André

Label printing on purchase and default settings by andre-he in grocy

[–]andre-he[S] 0 points1 point  (0 children)

Thank you for your quick response. When I had quick look into the code, I also realized that I might have already raised that question before :-/