Grocy
The Grocy plugin looks up products in your Grocy and prints their labels, with a QR code that leads back to the product.
- In Grocy, create an API key under the user menu.
- In Labelyard, open Settings > Integrations > Grocy, enter the Grocy address and the key, and test the connection. Or set
LABELYARD_GROCY_URLandLABELYARD_GROCY_API_KEY.
Printing
Section titled “Printing”Scan or type a product ID or a product barcode on the lookup page, or a label link the hub printed earlier (/product/…). From a script, use {"lookup": {"app": "grocy", "identifier": "<product-id>"}} with POST /api/v1/print.
Printing when stock changes
Section titled “Printing when stock changes”Grocy can call the hub when stock is added or removed, and the hub prints a label for the product, with the quantity when the event carries one. See webhooks.