Plugin for momentary GPIO control?

What is the problem?

I have SIO and GPIO plugins working but they only toggle outputs. I am looking for a plugin that allows momentary control of a GPIO output instead of toggling.

What did you already try to solve it?

I considered rewriting the Arduino code for SIO to hardcode button presses to only press for a determined amount of time but was unsuccessful.

Have you tried running in safe mode?

N/A, I have both plugins working, just trying to add the feature

Did running in safe mode solve the problem?

N/A

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

N/A

Additional information about your setup

What kind of hardware precisely, OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

PI CM4, latest OctoPi/OctoPrint (1.10.3), Arduino Uno R3 for SIO hardware (SIO 1.0.2), GPIO Control 1.0.8

Hello @TT3D !

Please version numbers. Latest can be different tomorrow.

Version numbers added

1 Like

You can use the SIO Reaction sub plugin to do what you want.

Reaction did the trick, I had tried it before but I was thinking it was only for inputs and had left it quickly. After reading and rereading the help tab with some trial & error I got it. The requirement of two digits for an IO number had me stuck for a bit but now it's all up and running.

1 Like