this plugin for CraftBeerPi4 allows you to configure one GPIO pin to make api calls. It is based on the CraftBeerPi4 plugin template by Manuel Fritsch and greatly borrows its function from the CraftBeerPi3 GPIOButton plugin by Jan Haudhuyze.