GPIO Button over API

What is the problem?

Is it possible to read a gpio-connected button state via the api?

What did you already try to solve it?

I read already the doc about api

Have you tried running in safe mode?


Did running in safe mode solve the problem?

not related to this

Systeminfo Bundle

not needed for this question
WRITE HERE

Additional information about your setup

I want to read from a server the state of a button / key connected to the rpi for additional input
if key is pressed, a new job should started on the printer by sending data over api
but i don't found any api possibility to realize this reading of key
Any idea?

See plugins like OctoPrint-Enclosure (which has a per-GPIO-pin API) or GPIO Status (which returns the status of all pins at once).

Thanks, that was the right hints.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.