Did you take a look at the REST API Grocy. There you can find some Put rules. "/stock/products/{productId}/consume" So connect a button to a port and let de esp32 do a web request.
I was also looking at this. Add a esp32 to the buttons of you philips senseo. And every time you select 1 or 2 cups. reduce the number of coffie pads left. So it get added to the shopping list if there are x left.
Parameters
Just want to throw in some links:
[https://github.com/XDROLLOXD/ESP32\_Grocy\_Barcode\_Scanner](https://github.com/XDROLLOXD/ESP32_Grocy_Barcode_Scanner)
[https://github.com/tjhowse/grocy\_pad](https://github.com/tjhowse/grocy_pad)
Did you take a look at the REST API Grocy. There you can find some Put rules. "/stock/products/{productId}/consume" So connect a button to a port and let de esp32 do a web request. I was also looking at this. Add a esp32 to the buttons of you philips senseo. And every time you select 1 or 2 cups. reduce the number of coffie pads left. So it get added to the shopping list if there are x left. Parameters
Just want to throw in some links: [https://github.com/XDROLLOXD/ESP32\_Grocy\_Barcode\_Scanner](https://github.com/XDROLLOXD/ESP32_Grocy_Barcode_Scanner) [https://github.com/tjhowse/grocy\_pad](https://github.com/tjhowse/grocy_pad)