Skip to content

Wait for long button presses - #62

Merged
chiconws merged 1 commit into
puddly:devfrom
antoniovazquezblanco:button-timeout
Oct 29, 2026
Merged

chiconws merged 1 commit into
puddly:devfrom
antoniovazquezblanco:button-timeout

Conversation

@antoniovazquezblanco

Copy link
Copy Markdown
Contributor

The device answers POST /vm/gpio only once the button is released, so push_button() raised TimeoutError after request_timeout (10 s by default) on longer presses, even though the device completed them. The request now waits for the press on top of request_timeout; a duration of 0 counts as the firmware default of 800 ms.

Document how to force a hung target off: hold power for 6 s, wait for the power LED to go off, then press briefly to power it on again.

The device answers POST /vm/gpio only once the button is released, so
push_button() raised TimeoutError after request_timeout (10 s by
default) on longer presses, even though the device completed them. The
request now waits for the press on top of request_timeout; a duration
of 0 counts as the firmware default of 800 ms.

Document how to force a hung target off: hold power for 6 s, wait for
the power LED to go off, then press briefly to power it on again.
@chiconws
chiconws merged commit 966969f into puddly:dev Oct 29, 2026
1 check passed
@antoniovazquezblanco
antoniovazquezblanco deleted the button-timeout branch October 29, 2026 08:31
@antoniovazquezblanco

Copy link
Copy Markdown
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants