What is Grocy
From https://grocy.info/
grocy is a web-based self-hosted groceries & household management solution for your home.
Integrate with Grocy
You can use this setup for :-
- Scan a barcode to search for an item in homepage
- Enter info by scan a barcode in purchase, consume, transfer, inventory, chore and battery tracking pages.
Step 1
Go to iPhone’s Settings > Barbecue > On Scan Barcode
Step 2
Navigate to CALL FUNCTION(BARCODE)
section.
Paste the following code into Function Name
field
(function(barcode){
if(document.querySelector("#search")){$("#search").val(barcode).trigger("keyup");return}
let selector = document.querySelector('select.barcodescanner-input');
if(selector){$(document).trigger("Grocy.BarcodeScanned",[barcode,selector.dataset.target]);return}
if(window.onbarcode){window.onbarcode(barcode)}
})
Try Barbecue Browser for free
Barbecue Browser is FREE for hobby and small business.
Getting help
or, contact us via email:
support@programmerbird.com