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

Enable configuration of barcode & ASN parsing #35

Closed
sahnetorti opened this issue Dec 28, 2023 · 6 comments · Fixed by #38
Closed

Enable configuration of barcode & ASN parsing #35

sahnetorti opened this issue Dec 28, 2023 · 6 comments · Fixed by #38
Labels
enhancement New feature or request

Comments

@sahnetorti
Copy link

I have started using paperless via this add-on and like both, paperless and the add-on. Thanks for all the work!

I am a bit of a loss to where to ask the proper question, if this is not the right place maybe you can point me towards it :)
I would like to use the automatic ASN barcode/QR code scanning feature of paperless. In the original paperless documentation it is mentioned that the options PAPERLESS_CONSUMER_ENABLE_BARCODES and PAPERLESS_CONSUMER_ENABLE_ASN_BARCODE must be set to "true" and default to "false".
I am at a loss how to set these options in the context of the add-on.
Any help appreciated.

@BenoitAnastay
Copy link
Owner

I'll add those options in the next release tomorrow

@BenoitAnastay BenoitAnastay added the enhancement New feature or request label Dec 28, 2023
@sahnetorti
Copy link
Author

That would be great, thanks :)

@BenoitAnastay BenoitAnastay pinned this issue Dec 29, 2023
@BenoitAnastay BenoitAnastay linked a pull request Dec 29, 2023 that will close this issue
@BenoitAnastay
Copy link
Owner

BenoitAnastay commented Dec 29, 2023

@sahnetorti
I'm refactoring the Add-on, you can check on the edge repository if it's working https://github.com/BenoitAnastay/home-assistant-addons-repository-edge

@sahnetorti
Copy link
Author

@BenoitAnastay I did a quick test this morning and can confirm that the barcode scanning works.
I was able to toggle the two switches in the configuration UI and afterwards ASN barcodes were recognised by paperless.

They needed to be big enough it seems, as these QR codes did not work (via reference from margau.net. When using bigger 1D barcodes things were working. I guess this has to do with paperless itself and not with your add-on.

I did not test the new version beyond the barcode scanning, althoug paperless seems to work fine (simple navigation, document editing, saved searches).

Many thanks for your dedication!

@BenoitAnastay BenoitAnastay unpinned this issue Dec 30, 2023
@BenoitAnastay
Copy link
Owner

I guess this has to do with paperless itself and not with your add-on.

It depends on PYZBAR I can change it with ZXING but I should check if it does outperform PYZBAR

@BenoitAnastay
Copy link
Owner

@sahnetorti this PR should solve your issue #52

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

Successfully merging a pull request may close this issue.

2 participants