Skip to content

Hardware controller for gpio triggers for external cameras#96

Merged
esto-openscan merged 3 commits into
OpenScan-org:developfrom
esto-openscan:camera-gpio-trigger
Apr 10, 2026
Merged

Hardware controller for gpio triggers for external cameras#96
esto-openscan merged 3 commits into
OpenScan-org:developfrom
esto-openscan:camera-gpio-trigger

Conversation

@esto-openscan
Copy link
Copy Markdown
Member

This PR adds:

  • support for defining and executing external trigger runs via GPIO, e.g. for external cameras.
  • ExternalTriggerRunTask for managing trigger sequences and paths.
  • improved tests.

- Added detailed HTTP exception handling for GPIO endpoints in `v0.8`, `v0.9`, and `next` routers.
- Enhanced `gpio.set_output_pin` to support auto-initialization of unconfigured pins.
- Updated return types for GPIO endpoints to include response models.
- Improved validation and logging in `gpio` hardware controller to handle invalid operations consistently.
…nality

- Introduced `camera_preview_enabled` setting for trigger-only setups without live preview.
- Extended QR WiFi auto-start logic to respect camera preview setting.
- Introduced unified `Trigger` interface for standardizing triggerable hardware.
- Added support for defining and executing external trigger runs via GPIO.
- Added `ExternalTriggerRunTask` for managing trigger sequences and paths.
- Updated device, settings, and schema to include new trigger objects.
- Reorganized `next` and OpenAPI routes to reflect trigger consolidation.
- Introduced comprehensive tests for `external_trigger` and `external_trigger_runs` routers.
- Removed `EXTERNAL` camera type, refactored code accordingly.
@esto-openscan esto-openscan merged commit 055d704 into OpenScan-org:develop Apr 10, 2026
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.

1 participant